Class NativeTopoStld
Native TopoStl with element type double.
public class NativeTopoStld : IDisposable, IDisplayee, IExpandToBox3d
- Inheritance
-
NativeTopoStld
- Implements
- Inherited Members
- Extension Methods
Constructors
NativeTopoStld(Stl)
Initializes a new instance of the NativeTopoStld class.
public NativeTopoStld(Stl stl)
Parameters
stl
StlThe STL model to convert to a native topology.
Properties
CosRoundAngle
Gets or sets the cosine of the angle used for rounding.
public double CosRoundAngle { get; set; }
Property Value
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
~NativeTopoStld()
protected ~NativeTopoStld()
GenStl()
Generates an STL model from the native topology.
public Stl GenStl()
Returns
- Stl
A new STL model.