Click or drag to resize

SolidTriangulatorResult Class

The result from a triangulation of a solid: a triangle mesh defined using an indexed triangle list and positions outlining the solid. It is recommended to visualize the solid using a SolidPrimitive. Although, if only the fill is desired for visualization, a TriangleMeshPrimitive with RenderBackThenFrontFaces set to true can be used. Likewise, if only the outline is desired, a PolylinePrimitive can be used.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.Geometry.DiscreteTriangulatorResult
    AGI.Foundation.Geometry.DiscreteSolidTriangulatorResult

Namespace:  AGI.Foundation.Geometry.Discrete
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public sealed class SolidTriangulatorResult : TriangulatorResult

The SolidTriangulatorResult type exposes the following members.

Properties
  NameDescription
Public propertyBoundingSphere
Gets the bounding sphere that encompasses the mesh.
(Overrides TriangulatorResultBoundingSphere.)
Public propertyClosed
Gets whether the solid is closed. For example, a box with six faces is closed. If one face is removed, the box is open.
Public propertyIndices
Gets indices into Positions and Normals. Every 3 indices represent 1 triangle.
(Overrides TriangulatorResultIndices.)
Public propertyNormals
Gets the normals of the mesh. Every position in Positions has corresponding normal. Normals are commonly used for lighting.
(Overrides TriangulatorResultNormals.)
Public propertyOutlineIndices
Gets indices into Positions that define the positions outlining the solid.
Public propertyOutlinePolylineType
Public propertyOutlinePositions
Gets the positions outlining the solid.
Public propertyPositions
Gets the positions of the mesh.
(Overrides TriangulatorResultPositions.)
Public propertyTriangleWindingOrder
Gets the orientation of front-facing triangles in the mesh.
(Overrides TriangulatorResultTriangleWindingOrder.)
Top
Methods
  NameDescription
Public methodDispose (Inherited from TriangulatorResult.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also