Click or drag to resize

SurfacePolygonTriangulator.ComputeCartographic Method (CentralBody, IEnumerable<Cartographic>, 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, IEnumerable<Cartesian>, Double, Double, WindingOrder)

Namespace:  AGI.Foundation.Geometry.Discrete
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public static SurfaceTriangulatorResult ComputeCartographic(
	CentralBody centralBody,
	IEnumerable<Cartographic> positions,
	double altitude,
	double granularity,
	WindingOrder positionsWindingOrder
)

Parameters

centralBody
Type: AGI.Foundation.Celestial.CentralBody
The central body to compute the triangulation on.
positions
Type: System.Collections.Generic.IEnumerable<Cartographic>
The positions defining the boundary of the polygon to triangulate.
altitude
Type: System.Double
The altitude of the triangulation. When 0, the mesh is computed to conform to the ellipsoid.
granularity
Type: System.Double
The angular separation, in radians, of positions in the triangulation. Lower granularities are more precise but create more triangles.
positionsWindingOrder
Type: AGI.Foundation.Geometry.Discrete.WindingOrder
The winding order of positions.

Return Value

Type: SurfaceTriangulatorResult
A SurfaceTriangulatorResult object representing the triangulation, in the centralBody's fixed reference frame.
Remarks
See Also