MeshLib C# Docs
Loading...
Searching...
No Matches
MR.MeshSave.BinaryStlSaver Class Reference

saver in binary .stl format that can write triangles one by one not knowing their number beforehand Generated from class MR.MeshSave.BinaryStlSaver. This is the non-const half of the class. More...

+ Inheritance diagram for MR.MeshSave.BinaryStlSaver:

Public Member Functions

unsafe BinaryStlSaver (MR.MeshSave._ByValue_BinaryStlSaver _other)
 Generated from constructor MR.MeshSave.BinaryStlSaver.BinaryStlSaver.
 
 BinaryStlSaver (Const_BinaryStlSaver _other)
 Generated from constructor MR.MeshSave.BinaryStlSaver.BinaryStlSaver.
 
 BinaryStlSaver (BinaryStlSaver _other)
 Generated from constructor MR.MeshSave.BinaryStlSaver.BinaryStlSaver.
 
unsafe BinaryStlSaver (MR.Std.Ostream out_, MR.Const_SaveSettings? settings=null, uint? expectedNumTris=null)
 writes STL header in the stream Generated from constructor MR.MeshSave.BinaryStlSaver.BinaryStlSaver. Parameter settings defaults to {}. Parameter expectedNumTris defaults to 0.
 
unsafe bool writeTri (in MR.Std.Array_MRVector3f_3 tri)
 writes one more triangle in the stream Generated from method MR.MeshSave.BinaryStlSaver.writeTri.
 
unsafe bool updateHeadCounter ()
 if initially written the number of triangles do not match to the actual number of written triangles, updates the number in the header Generated from method MR.MeshSave.BinaryStlSaver.updateHeadCounter.
 

Detailed Description

saver in binary .stl format that can write triangles one by one not knowing their number beforehand Generated from class MR.MeshSave.BinaryStlSaver. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ BinaryStlSaver() [1/4]

unsafe MR.MeshSave.BinaryStlSaver.BinaryStlSaver ( MR.MeshSave._ByValue_BinaryStlSaver _other)
inline

Generated from constructor MR.MeshSave.BinaryStlSaver.BinaryStlSaver.

◆ BinaryStlSaver() [2/4]

MR.MeshSave.BinaryStlSaver.BinaryStlSaver ( Const_BinaryStlSaver _other)
inline

Generated from constructor MR.MeshSave.BinaryStlSaver.BinaryStlSaver.

◆ BinaryStlSaver() [3/4]

MR.MeshSave.BinaryStlSaver.BinaryStlSaver ( BinaryStlSaver _other)
inline

Generated from constructor MR.MeshSave.BinaryStlSaver.BinaryStlSaver.

◆ BinaryStlSaver() [4/4]

unsafe MR.MeshSave.BinaryStlSaver.BinaryStlSaver ( MR.Std.Ostream out_,
MR.Const_SaveSettings? settings = null,
uint? expectedNumTris = null )
inline

writes STL header in the stream Generated from constructor MR.MeshSave.BinaryStlSaver.BinaryStlSaver. Parameter settings defaults to {}. Parameter expectedNumTris defaults to 0.

Member Function Documentation

◆ updateHeadCounter()

unsafe bool MR.MeshSave.BinaryStlSaver.updateHeadCounter ( )
inline

if initially written the number of triangles do not match to the actual number of written triangles, updates the number in the header Generated from method MR.MeshSave.BinaryStlSaver.updateHeadCounter.

◆ writeTri()

unsafe bool MR.MeshSave.BinaryStlSaver.writeTri ( in MR.Std.Array_MRVector3f_3 tri)
inline

writes one more triangle in the stream Generated from method MR.MeshSave.BinaryStlSaver.writeTri.


The documentation for this class was generated from the following file: