SurfaceExtentTriangulatorCompute Method (CentralBody, CartographicExtent, Double, Double) |
Computes a triangulation on the specified centralBody for
the specified extent.
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 SurfaceTriangulatorResult Compute(
CentralBody centralBody,
CartographicExtent extent,
double altitude,
double granularity
)
Public Shared Function Compute (
centralBody As CentralBody,
extent As CartographicExtent,
altitude As Double,
granularity As Double
) As SurfaceTriangulatorResult
public:
static SurfaceTriangulatorResult^ Compute(
CentralBody^ centralBody,
CartographicExtent^ extent,
double altitude,
double granularity
)
static member Compute :
centralBody : CentralBody *
extent : CartographicExtent *
altitude : float *
granularity : float -> SurfaceTriangulatorResult
Parameters
- centralBody
- Type: AGI.Foundation.CelestialCentralBody
The central body to compute the triangulation on. - extent
- Type: AGI.Foundation.CoordinatesCartographicExtent
The extent, in radians, to compute the triangulation for. - 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 triangles in the triangulation.
Lower granularities are more precise but create more triangles.
Return Value
Type:
SurfaceTriangulatorResultA
SurfaceTriangulatorResult object representing the triangulation.
Exceptions Remarks See Also