Table of Contents

Struct CubeTree.DiffStats

Namespace
Hi.Cbtr
Assembly
HiCbtr.dll

Interop struct matching C++ geom_compare_stats_t (thirteen longs, same order): the counters of one Diff(NativeStl, double, RangeColorRule, IProgress<IMessage>, out DiffStats) run.

public struct CubeTree.DiffStats
Inherited Members
Extension Methods

Fields

DegenerateTriCount

Target triangles dropped for a zero, non-finite or sliver cross product.

public long DegenerateTriCount

Field Value

long

DuplicateTriCount

Target triangles dropped as a repeat of another (same three vertices, either winding).

public long DuplicateTriCount

Field Value

long

LeafCountBefore

Surface leaves of the tree when the compare started.

public long LeafCountBefore

Field Value

long

LeafCountReported

Leaves reported, one DiffAttachment each (on-demand expansion adds leaves).

public long LeafCountReported

Field Value

long

LeafExpandedCount

Coarse leaves expanded on demand because the target inside them was not one plane.

public long LeafExpandedCount

Field Value

long

NanCount

Leaves reported NaN: no wire of the leaf met the target within the detection radius, or every wire that did grazed the target or ran along the leaf's own surface.

public long NanCount

Field Value

long

NodeCountAdded

Nodes created by those expansions.

public long NodeCountAdded

Field Value

long

NonManifoldEdgeCount

Undirected target edges used by three or more triangles, or by two in the same direction.

public long NonManifoldEdgeCount

Field Value

long

OpenEdgeCount

Undirected target edges used by exactly one triangle (an open boundary).

public long OpenEdgeCount

Field Value

long

Status

0 = the compare ran; 1 = AdvancedPhysics not licensed (nothing compared); 2 = null argument; 3 = stopped by the cancellation token before every leaf was compared (the counters cover the part compared).

public long Status

Field Value

long

TriCount

Target triangles taken into the compare (degenerate and duplicate ones dropped).

public long TriCount

Field Value

long

WireCountMeasured

Bipolar wires that became samples: met the target within the radius, not along the leaf's own surface, one per coincident cut point.

public long WireCountMeasured

Field Value

long

WireCountUnmeasured

Bipolar wires that met nothing within the radius, on their axis or around their cut.

public long WireCountUnmeasured

Field Value

long

Properties

Stopped

The cancellation token stopped the compare before every leaf was compared (Status 3).

public readonly bool Stopped { get; }

Property Value

bool

TargetNotClosed

The target is not a closed manifold: it has open or non-manifold edges.

public readonly bool TargetNotClosed { get; }

Property Value

bool