Click or drag to resize

SurfacePolygonTriangulatorCompute Method (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.

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 Compute(
	CentralBody centralBody,
	IEnumerable<Cartesian> positions


Type: AGI.Foundation.CelestialCentralBody
The central body to compute the triangulation on.
Type: System.Collections.GenericIEnumerableCartesian
The positions defining the boundary of the polygon, in the centralBody's fixed reference frame, to triangulate.

Return Value

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