Table of Contents

Class UnmanagedSubstraction

Namespace
Hi.Cbtr
Assembly
HiCbtr.dll

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

int

Properties

ContactContours

Contact contours.

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 cutter and workpiece touched.

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

DisplayContours(List<List<Vec3d>>, Bind)

Displays contours in a visualization binding.

public static void DisplayContours(List<List<Vec3d>> contours, Bind bind)

Parameters

contours List<List<Vec3d>>

The list of contours to display, where each contour is a list of 3D points.

bind Bind

The 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

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

~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