Click or drag to resize

ExtrudedPolylineTriangulator.ComputeSingleConstantAltitudeCartographic Method (CentralBody, IEnumerable<Cartographic>, Double)

For convenience. Computes an extrusion of positions on the specified centralBody using Cartographic positions. One side of the extrusion has a constant altitude and the other has the original altitudes from 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 ComputeSingleConstantAltitude(CentralBody, IEnumerable<Cartesian>, Double)

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 ExtrudedPolylineTriangulatorResult ComputeSingleConstantAltitudeCartographic(
	CentralBody centralBody,
	IEnumerable<Cartographic> positions,
	double altitude
)

Parameters

centralBody
Type: AGI.Foundation.Celestial.CentralBody
The central body to compute the extrusion on.
positions
Type: System.Collections.Generic.IEnumerable<Cartographic>
The polyline positions that should be extruded.
altitude
Type: System.Double
The extrusion's constant altitude, in meters, above the ellipsoid.

Return Value

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