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
IndexintThe 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.
KindstringThe kind name of the leaf geometry the body came from (
Box3d,Cylindroid,StlFile, ...).FilestringThe source file of an StlFile body; null for any other kind.
TrianglesintThe triangles of the body's mesh.
LongestSide_mmdoubleThe 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).
IsBaseboolTrue for the body the tree was built from; false for a body united into it.
DefectNodesintThe 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
File
The source file of an StlFile body; null for any other kind.
public string File { get; init; }
Property Value
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
IsBase
True for the body the tree was built from; false for a body united into it.
public bool IsBase { get; init; }
Property Value
Kind
The kind name of the leaf geometry the body came from (Box3d, Cylindroid, StlFile, ...).
public string Kind { get; init; }
Property Value
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
Triangles
The triangles of the body's mesh.
public int Triangles { get; init; }