Class StlBody
One closed body of a geometry that stands for several: its mesh, and the leaf geometry the mesh came from – a Box3d, a Cylindroid, an StlFile, a mesh itself (Stl) – which names the body (its kind, its file) to whoever reports on it. A body under a transformation is the transformed mesh with the untransformed leaf as its source.
public sealed record StlBody : IEquatable<StlBody>
- Inheritance
-
StlBody
- Implements
- Inherited Members
- Extension Methods
Constructors
StlBody(Stl, IGetStl)
One closed body of a geometry that stands for several: its mesh, and the leaf geometry the mesh came from – a Box3d, a Cylindroid, an StlFile, a mesh itself (Stl) – which names the body (its kind, its file) to whoever reports on it. A body under a transformation is the transformed mesh with the untransformed leaf as its source.
public StlBody(Stl Stl, IGetStl Source)
Parameters
StlStlThe body's mesh; never null.
SourceIGetStlThe leaf geometry the mesh came from; never null.
Properties
Source
The leaf geometry the mesh came from; never null.
public IGetStl Source { get; init; }
Property Value
Stl
The body's mesh; never null.
public Stl Stl { get; init; }