Click or drag to resize

SurfacePolygonTriangulatorCompute Method (CentralBody, IEnumerableCartesian, IEnumerableCartesian)

Computes the triangulation on the specified centralBody for a polygon whose boundary is defined by the specified positions with a hole specified by holePositions. This is equivalent to calling Compute(CentralBody, IEnumerableCartesian, Double, Double, WindingOrder) with an altitude of 0 and a granularity of 1 degree.

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

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.
holePositions
Type: System.Collections.GenericIEnumerableCartesian
The positions defining the hole in the polygon, in the centralBody's fixed reference frame.

Return Value

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