Class UnmanagedSubstraction
Data about the removing behavior of CubeTree.
public class UnmanagedSubstraction : IDisplayee, IExpandToBox3d, IDisposable
- Inheritance
-
UnmanagedSubstraction
- Implements
- Inherited Members
- Extension Methods
Fields
preserveCount
The count of preservations to prevent disposal.
public int preserveCount
Field Value
Properties
ContactContours
Contact contours.
Each contour is composed by 3~12 points.
public List<List<Vec3d>> ContactContours { get; }
Property Value
ContactContoursArea
Gets the area of the contact contours.
public double ContactContoursArea { get; }
Property Value
IsTouched
Is the cutter and workpiece touched.
public bool IsTouched { get; }
Property Value
Methods
Display(Bind)
Display function called in DispEngine rendering loop.
public void Display(Bind bind)
Parameters
bindBindBind with DispEngine. See Bind.
DisplayContours(Bind)
Display ContactContours by lines.
public void DisplayContours(Bind bind)
Parameters
bindBindbind
DisplayContours(List<List<Vec3d>>, Bind)
Displays contours in a visualization binding.
public static void DisplayContours(List<List<Vec3d>> contours, Bind bind)
Parameters
contoursList<List<Vec3d>>The list of contours to display, where each contour is a list of 3D points.
bindBindThe binding to display the contours in.
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
~UnmanagedSubstraction()
protected ~UnmanagedSubstraction()
PreserveBegin()
Preserve the object from arising Dispose(). Add preserve count for 1.
public void PreserveBegin()
- See Also
PreserveEnd()
Minus preserve count for 1. If preserve count is eqaul or lower than 0, call Dispose().
public void PreserveEnd()
- See Also