Class CachedTris
Feature-cached triangle for CubeTree computation.
public class CachedTris : IDisposable, IDisplayee, IExpandToBox3d
- Inheritance
-
CachedTris
- Implements
- Inherited Members
- Extension Methods
Constructors
CachedTris(NativeTopoStld, Mat4d, double)
Ctor by the transformed stl. only available for geometry that does not contains near point or points on the same line on the same plane.
public CachedTris(NativeTopoStld stl, Mat4d mat, double fractionTolerance)
Parameters
stlNativeTopoStldstl
matMat4dtransformation matrix
fractionTolerancedoublefraction tolerance for the operation
CachedTris(NativeTopoStld, NativeTopoStlfr, Mat4d, Mat4d, double, SweepingMode)
Ctor by the swept stl.
The sweeping is from the transformation of pre to cur.
public CachedTris(NativeTopoStld tstl, NativeTopoStlfr tstlfr, Mat4d pre, Mat4d cur, double fractionTolerance, CachedTris.SweepingMode sweepingMode = SweepingMode.Auto)
Parameters
tstlNativeTopoStldTopo Stl
tstlfrNativeTopoStlfrTopo Stl with fraction tolerance
preMat4dprevious transformation matrix
curMat4dcurrent transformation matrix
fractionTolerancedoublefraction tolerance for the operation
sweepingModeCachedTris.SweepingModemode for the sweeping operation
Properties
CachedTrisPtr
Native pointer of the object.
public nint CachedTrisPtr { get; }
Property Value
Methods
Display(Bind)
Display function called in DispEngine rendering loop.
public void Display(Bind bind)
Parameters
bindBindBind 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
disposingbool
ExpandToBox3d(Box3d)
Expands the destination box. This function is usually used to compute the bounding box of elements.
public void ExpandToBox3d(Box3d dst)
Parameters
dstBox3dDestination box
~CachedTris()
protected ~CachedTris()