Class NativeTopoStlfr
Native TopoStl with element type fraction.
public class NativeTopoStlfr : IDisposable, IDisplayee, IExpandToBox3d
- Inheritance
-
NativeTopoStlfr
- Implements
- Inherited Members
- Extension Methods
Constructors
NativeTopoStlfr(Stl, double)
Initializes a new instance of the NativeTopoStlfr class.
public NativeTopoStlfr(Stl stl, double fractionTolerance)
Parameters
stl
StlThe STL model to convert to a native topology.
fractionTolerance
doubleThe tolerance for fraction calculations.
Properties
Size
Gets the number of triangles in the native topology.
public int Size { get; }
Property Value
TopoStlPtr
Gets the pointer to the native topology structure.
public nint TopoStlPtr { get; }
Property Value
Methods
Display(Bind)
Display function called in DispEngine rendering loop.
public void Display(Bind bind)
Parameters
bind
BindBind with DispEngine. See Bind.
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Dispose(bool)
protected virtual void Dispose(bool disposing)
Parameters
disposing
bool
ExpandToBox3d(Box3d)
Expands the destination box. This function is usually used to compute the bounding box of elements.
public void ExpandToBox3d(Box3d dst)
Parameters
dst
Box3dDestination box
~NativeTopoStlfr()
protected ~NativeTopoStlfr()
GenStl()
Generates an STL model from the native topology.
public Stl GenStl()
Returns
- Stl
A new STL model.