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
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_t>> ContactContours { get; }
Property Value
Exceptions
- ObjectDisposedException
First read after Dispose(): contours read before it stay readable.
ContactContoursArea
Gets the area of the contact contours.
public double ContactContoursArea { get; }
Property Value
Exceptions
- ObjectDisposedException
First read after Dispose(): an area read before it stays readable.
IsTouched
Is the adder and workpiece touched (any material actually added).
public bool IsTouched { get; }
Property Value
Exceptions
- ObjectDisposedException
Read after Dispose().
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
Exceptions
- ObjectDisposedException
Called after Dispose() before the contours were ever read.
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(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
~UnmanagedAddition()
protected ~UnmanagedAddition()