Class NativeStl
Native Stl. For purpose of efficient swept volume.
public class NativeStl : IGetStl, IDisposable, IExpandToBox3d
- Inheritance
-
NativeStl
- Implements
- Inherited Members
- Extension Methods
Constructors
NativeStl(Stl)
Ctor.
public NativeStl(Stl stl)
Parameters
stlStlctor
Properties
StlPtr
Native pointer.
public nint StlPtr { get; }
Property Value
TriangleNum
Triangle number.
public int TriangleNum { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Remarks
The dispose will also dispose the related TriTree.
Dispose(bool)
protected virtual void Dispose(bool disposing)
Parameters
disposingbool
ExpandToBox3d(ref box3d_t)
Expands the destination box.
This function is usually used to compute the bounding box of elements.
box3d_t is a value type, so the destination is passed by reference
(the C++ expand_to_box3d(box3&) shape); an implementation writes
dst = dst.Expanded(...) or forwards ref dst to its parts.
public void ExpandToBox3d(ref box3d_t dst)
Parameters
dstbox3d_tDestination box, expanded in place
~NativeStl()
protected ~NativeStl()
GenStl()
Generate Stl.
public Stl GenStl()
Returns
- Stl
stl
GetStl()
Gets the STL geometry data.
public Stl GetStl()
Returns
- Stl
The STL geometry object