ExtrudedPolylineTriangulatorComputeSingleConstantAltitude Method (CentralBody, IEnumerableCartesian, Double, WindingOrder) |
Computes an extrusion of positions on the specified
centralBody. One side of the extrusion has a constant
altitude and the other has the original altitudes from
positions.
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 ComputeSingleConstantAltitude(
CentralBody centralBody,
IEnumerable<Cartesian> positions,
double altitude,
WindingOrder positionsWindingOrder
)
Public Shared Function ComputeSingleConstantAltitude (
centralBody As CentralBody,
positions As IEnumerable(Of Cartesian),
altitude As Double,
positionsWindingOrder As WindingOrder
) As ExtrudedPolylineTriangulatorResult
public:
static ExtrudedPolylineTriangulatorResult^ ComputeSingleConstantAltitude(
CentralBody^ centralBody,
IEnumerable<Cartesian>^ positions,
double altitude,
WindingOrder positionsWindingOrder
)
static member ComputeSingleConstantAltitude :
centralBody : CentralBody *
positions : IEnumerable<Cartesian> *
altitude : float *
positionsWindingOrder : WindingOrder -> ExtrudedPolylineTriangulatorResult
Parameters
- centralBody
- Type: AGI.Foundation.CelestialCentralBody
The central body to compute the extrusion on. - positions
- Type: System.Collections.GenericIEnumerableCartesian
The polyline positions, in the centralBody's fixed reference frame, that should be extruded. - altitude
- Type: SystemDouble
The extrusion's constant altitude, in meters, above the ellipsoid. - positionsWindingOrder
- Type: AGI.Foundation.Geometry.DiscreteWindingOrder
The winding order of positions.
Return Value
Type:
ExtrudedPolylineTriangulatorResultA
ExtrudedPolylineTriangulatorResult object representing the extrusion, in the
centralBody's fixed reference frame.
Exceptions Remarks
An extrusion along positions on the specified
centralBody is computed with a constant altitude
on one side and the original position's altitude on the other. Each position in
positions is extruded along its detic surface normal.
For example, if positions represents a polyline with varying
altitudes and altitude is 0, the polyline is extruded
down to the ellipsoid.
positionsWindingOrder is used to compute normals for the resulting mesh.
If this is unknown, use
ComputeSingleConstantAltitude(CentralBody, IEnumerableCartesian, Double).
See Also