Class UnmanagedAddition
Data about the adding behavior of CubeTree. The dual of UnmanagedSubstraction.
public class UnmanagedAddition : IDisplayee, IExpandToBox3d, IDisposable
- Inheritance
-
UnmanagedAddition
- Implements
- Inherited Members
- Extension Methods
Fields
preserveCount
The count of preservations to prevent disposal.
public int preserveCount
Field Value
Properties
ContactContours
Contours of the newly created surface (the dual of the substraction's newly exposed surface).
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 adder and workpiece touched (any material actually added).
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
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
~UnmanagedAddition()
protected ~UnmanagedAddition()
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