SurfacePolygonTriangulatorComputeCartographic Method (CentralBody, IEnumerableCartographic, Double, Double, WindingOrder) |
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 SurfaceTriangulatorResult ComputeCartographic(
CentralBody centralBody,
IEnumerable<Cartographic> positions,
double altitude,
double granularity,
WindingOrder positionsWindingOrder
)
Public Shared Function ComputeCartographic (
centralBody As CentralBody,
positions As IEnumerable(Of Cartographic),
altitude As Double,
granularity As Double,
positionsWindingOrder As WindingOrder
) As SurfaceTriangulatorResult
public:
static SurfaceTriangulatorResult^ ComputeCartographic(
CentralBody^ centralBody,
IEnumerable<Cartographic>^ positions,
double altitude,
double granularity,
WindingOrder positionsWindingOrder
)
static member ComputeCartographic :
centralBody : CentralBody *
positions : IEnumerable<Cartographic> *
altitude : float *
granularity : float *
positionsWindingOrder : WindingOrder -> SurfaceTriangulatorResult
Parameters
- centralBody
- Type: AGI.Foundation.CelestialCentralBody
The central body to compute the triangulation on. - positions
- Type: System.Collections.GenericIEnumerableCartographic
The positions defining the boundary of the polygon to triangulate. - altitude
- Type: SystemDouble
The altitude of the triangulation. When 0, the mesh is computed to conform to the ellipsoid.
- granularity
- Type: SystemDouble
The angular separation, in radians, of positions in the triangulation.
Lower granularities are more precise but create more triangles.
- positionsWindingOrder
- Type: AGI.Foundation.Geometry.DiscreteWindingOrder
The winding order of positions.
Return Value
Type:
SurfaceTriangulatorResultA
SurfaceTriangulatorResult object representing the triangulation, in the
centralBody's fixed reference frame.
Remarks See Also