Click or drag to resize

ExtrudedPolylineTriangulatorComputeCartographic Method (CentralBody, IEnumerableCartographic, Double, Double)

For convenience. Computes an extrusion of positions on the specified centralBody with a constant bottomAltitude and topAltitude using Cartographic 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 Compute(CentralBody, IEnumerableCartesian, Double, Double)

Namespace:  AGI.Foundation.Geometry.Discrete
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public static ExtrudedPolylineTriangulatorResult ComputeCartographic(
	CentralBody centralBody,
	IEnumerable<Cartographic> positions,
	double bottomAltitude,
	double topAltitude
)

Parameters

centralBody
Type: AGI.Foundation.CelestialCentralBody
The central body to compute the extrusion on.
positions
Type: System.Collections.GenericIEnumerableCartographic
The polyline positions that should be extruded.
bottomAltitude
Type: SystemDouble
The extrusion's bottom altitude, in meters, above the ellipsoid.
topAltitude
Type: SystemDouble
The extrusion's top 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