Table of Contents

Class UnmanagedAddition

Namespace
Hi.Cbtr
Assembly
HiCbtr.dll

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

int

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

List<List<Vec3d>>

ContactContoursArea

Gets the area of the contact contours.

public double ContactContoursArea { get; }

Property Value

double

IsTouched

Is the adder and workpiece touched (any material actually added).

public bool IsTouched { get; }

Property Value

bool

Methods

Display(Bind)

Display function called in DispEngine rendering loop.

public void Display(Bind bind)

Parameters

bind Bind

Bind with DispEngine. See Bind.

DisplayContours(Bind)

Display ContactContours by lines.

public void DisplayContours(Bind bind)

Parameters

bind Bind

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

disposing bool

ExpandToBox3d(Box3d)

Expands the destination box. This function is usually used to compute the bounding box of elements.

public void ExpandToBox3d(Box3d dst)

Parameters

dst Box3d

Destination 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