Table of Contents

Class MeshedGeomBodyReport

Namespace
Hi.NcMech.Workpieces
Assembly
HiMech.dll

One body of the stock as GetOrBuildMeshedGeom(CancellationToken, IProgress<IMessage>) built it: which leaf geometry it was, how big, whether it was the body the tree was built from or one united into it, and how many construction defect nodes its own build found.

public sealed record MeshedGeomBodyReport : IEquatable<MeshedGeomBodyReport>
Inheritance
MeshedGeomBodyReport
Implements
Inherited Members
Extension Methods

Constructors

MeshedGeomBodyReport(int, string, string, int, double, bool, int)

One body of the stock as GetOrBuildMeshedGeom(CancellationToken, IProgress<IMessage>) built it: which leaf geometry it was, how big, whether it was the body the tree was built from or one united into it, and how many construction defect nodes its own build found.

public MeshedGeomBodyReport(int Index, string Kind, string File, int Triangles, double LongestSide_mm, bool IsBase, int DefectNodes)

Parameters

Index int

The body's position in the raw geometry's flattened body list (IGenStlBodies: the combination's items in list order, nested items in place); 0 for a raw geometry that is one body.

Kind string

The kind name of the leaf geometry the body came from (Box3d, Cylindroid, StlFile, ...).

File string

The source file of an StlFile body; null for any other kind.

Triangles int

The triangles of the body's mesh.

LongestSide_mm double

The longest side of the mesh's bounding box, in mm: what chose the base among several bodies (the tree itself records the base body's side, the number the native per-step ratchet reads).

IsBase bool

True for the body the tree was built from; false for a body united into it.

DefectNodes int

The construction defect nodes the body's own build reported.

Properties

DefectNodes

The construction defect nodes the body's own build reported.

public int DefectNodes { get; init; }

Property Value

int

File

The source file of an StlFile body; null for any other kind.

public string File { get; init; }

Property Value

string

Index

The body's position in the raw geometry's flattened body list (IGenStlBodies: the combination's items in list order, nested items in place); 0 for a raw geometry that is one body.

public int Index { get; init; }

Property Value

int

IsBase

True for the body the tree was built from; false for a body united into it.

public bool IsBase { get; init; }

Property Value

bool

Kind

The kind name of the leaf geometry the body came from (Box3d, Cylindroid, StlFile, ...).

public string Kind { get; init; }

Property Value

string

LongestSide_mm

The longest side of the mesh's bounding box, in mm: what chose the base among several bodies (the tree itself records the base body's side, the number the native per-step ratchet reads).

public double LongestSide_mm { get; init; }

Property Value

double

Triangles

The triangles of the body's mesh.

public int Triangles { get; init; }

Property Value

int