Click or drag to resize

SurfaceTriangulatorResult Class

The result from a triangulation on the surface of a central body: a triangle mesh defined using an indexed triangle list and boundary positions surrounding the mesh. The mesh is commonly visualized with the TriangleMeshPrimitive or SurfaceMeshPrimitive. The boundary are commonly visualized with the PolylinePrimitive.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.Geometry.DiscreteTriangulatorResult
    AGI.Foundation.Geometry.DiscreteSurfaceTriangulatorResult

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

The SurfaceTriangulatorResult type exposes the following members.

Properties
  NameDescription
Public propertyBoundaryIndices
Gets indices into Positions that define the boundary positions that surround the mesh.
Public propertyBoundaryPolylineType
Public propertyBoundaryPositions
Gets the boundary positions that surround the mesh.
Public propertyBoundaryPositionsWindingOrder
Gets the winding order of BoundaryPositions.
Public propertyBoundingSphere
Gets the bounding sphere that encompasses the mesh.
(Overrides TriangulatorResultBoundingSphere.)
Public propertyGranularity
Gets the granularity, in radians, used when the triangulation was computed. Lower granularities are more precise but create more triangles.
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 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