ExtrudedPolylineTriangulatorCompute Method (CentralBody, IEnumerableCartesian, Double, Double, WindingOrder) |
Computes an extrusion of positions on the specified
centralBody with a constant bottomAltitude
and topAltitude.
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 Compute(
CentralBody centralBody,
IEnumerable<Cartesian> positions,
double bottomAltitude,
double topAltitude,
WindingOrder positionsWindingOrder
)
Public Shared Function Compute (
centralBody As CentralBody,
positions As IEnumerable(Of Cartesian),
bottomAltitude As Double,
topAltitude As Double,
positionsWindingOrder As WindingOrder
) As ExtrudedPolylineTriangulatorResult
public:
static ExtrudedPolylineTriangulatorResult^ Compute(
CentralBody^ centralBody,
IEnumerable<Cartesian>^ positions,
double bottomAltitude,
double topAltitude,
WindingOrder positionsWindingOrder
)
static member Compute :
centralBody : CentralBody *
positions : IEnumerable<Cartesian> *
bottomAltitude : float *
topAltitude : 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. - 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. - 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 bottomAltitude
and topAltitude above the ellipsoid. Each position in
positions is extruded along its detic surface normal.
The extrusion does not need to be attached to the ellipsoid, hence
bottomAltitude is not required to be 0.
positionsWindingOrder is used to compute normals for the resulting mesh.
If this is unknown, use
Compute(CentralBody, IEnumerableCartesian, Double, Double).
See Also