Click or drag to resize

SurfacePolygonTriangulator Class

Triangulates a polygon, with an optional hole, on a central body, into a triangle mesh and a surrounding boundary. The mesh is commonly visualized with the TriangleMeshPrimitive or SurfaceMeshPrimitive. The boundary is commonly visualized with the PolylinePrimitive.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.Geometry.DiscreteSurfacePolygonTriangulator

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 static class SurfacePolygonTriangulator
Methods
  NameDescription
Public methodStatic memberCompute(CentralBody, IEnumerableCartesian)
Computes the triangulation on the specified centralBody for a polygon whose boundary is defined by the specified positions. This is equivalent to calling Compute(CentralBody, IEnumerableCartesian, Double, Double, WindingOrder) with an altitude of 0, a granularity of 1 degree, and a positionsWindingOrder of Compute.
Public methodStatic memberCompute(CentralBody, IEnumerableCartesian, IEnumerableCartesian)
Computes the triangulation on the specified centralBody for a polygon whose boundary is defined by the specified positions with a hole specified by holePositions. This is equivalent to calling Compute(CentralBody, IEnumerableCartesian, Double, Double, WindingOrder) with an altitude of 0 and a granularity of 1 degree.
Public methodStatic memberCompute(CentralBody, IEnumerableCartesian, IEnumerableCartesian, Double, Double)
Computes the triangulation on the specified centralBody for a polygon whose boundary is defined by the specified positions with a hole specified by holePositions.
Public methodStatic memberCompute(CentralBody, IEnumerableCartesian, Double, Double, WindingOrder)
Computes the triangulation on the specified centralBody for a polygon whose boundary is defined by the specified positions.
Public methodStatic memberComputeCartographic(CentralBody, IEnumerableCartographic)
For convenience. Computes the triangulation on the specified centralBody for a polygon whose boundary is defined by the specified Cartographic positions. Longitude and latitude are in radians, and altitude is in meters. This is equivalent to converting each position in positions to Cartesian and calling Compute(CentralBody, IEnumerableCartesian)
Public methodStatic memberComputeCartographic(CentralBody, IEnumerableCartographic, Double, Double, WindingOrder)
For convenience. Computes the triangulation on the specified centralBody for a polygon whose boundary is defined by the specified Cartographic positions. Longitude and latitude are in radians, and altitude is in meters. This is equivalent to converting each position in positions to Cartesian and calling Compute(CentralBody, IEnumerableCartesian, Double, Double, WindingOrder)
Top
See Also