Click or drag to resize

SurfacePolygonTriangulatorComputeCartographic Method (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)

Namespace:  AGI.Foundation.Geometry.Discrete
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.1.418.0 (24.1.418.0)
public static SurfaceTriangulatorResult ComputeCartographic(
	CentralBody centralBody,
	IEnumerable<Cartographic> positions


Type: AGI.Foundation.CelestialCentralBody
The central body to compute the triangulation on.
Type: System.Collections.GenericIEnumerableCartographic
The positions defining the boundary of the polygon to triangulate.

Return Value

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