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: 19.1.398.0 (19.1.398.0)
Syntax
public static SurfaceTriangulatorResult Compute(
	CentralBody centralBody,
	IEnumerable<Cartesian> positions
)

Parameters

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