Click or drag to resize

ExtrudedPolylineTriangulatorComputeCartographic Method (CentralBody, IEnumerableCartographic, IEnumerableCartographic)

For convenience. Computes an extrusion between bottomPositions and topPositions on the specified centralBody using Cartographic positions. Longitude and latitude are in radians, and altitude is in meters. This is equivalent to converting each position in bottomPositions and topPositions to Cartesian and calling Compute(CentralBody, IEnumerableCartesian, IEnumerableCartesian)

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 ExtrudedPolylineTriangulatorResult ComputeCartographic(
	CentralBody centralBody,
	IEnumerable<Cartographic> bottomPositions,
	IEnumerable<Cartographic> topPositions
)

Parameters

centralBody
Type: AGI.Foundation.CelestialCentralBody
The central body to compute the extrusion on.
bottomPositions
Type: System.Collections.GenericIEnumerableCartographic
The bottom positions.
topPositions
Type: System.Collections.GenericIEnumerableCartographic
The top positions.

Return Value

Type: ExtrudedPolylineTriangulatorResult
A ExtrudedPolylineTriangulatorResult object representing the extrusion, in the centralBody's fixed reference frame.
Remarks
See Also