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.3.420.0 (24.3.420.0)
Syntax
public static SurfaceTriangulatorResult ComputeCartographic(
	CentralBody centralBody,
	IEnumerable<Cartographic> positions
)

Parameters

centralBody
Type: AGI.Foundation.CelestialCentralBody
The central body to compute the triangulation on.
positions
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.
Remarks
See Also