Click or drag to resize

ExtrudedPolylineTriangulatorComputeSingleConstantAltitudeCartographic Method (CentralBody, IEnumerableCartographic, Double, WindingOrder)

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, IEnumerableCartesian, Double)

Namespace:  AGI.Foundation.Geometry.Discrete
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 22.2.414.0 (22.2.414.0)
public static ExtrudedPolylineTriangulatorResult ComputeSingleConstantAltitudeCartographic(
	CentralBody centralBody,
	IEnumerable<Cartographic> positions,
	double altitude,
	WindingOrder positionsWindingOrder


Type: AGI.Foundation.CelestialCentralBody
The central body to compute the extrusion on.
Type: System.Collections.GenericIEnumerableCartographic
The polyline positions that should be extruded.
Type: SystemDouble
The extrusion's constant altitude, in meters, above the ellipsoid.
Type: AGI.Foundation.Geometry.DiscreteWindingOrder
The winding order of positions.

Return Value

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