SurfaceExtentTriangulatorInitializer#

class ansys.stk.core.graphics.SurfaceExtentTriangulatorInitializer#

Triangulates an extent on a central body into a triangle mesh and a surrounding boundary. The mesh is commonly visualized with the triangle mesh primitive or surface mesh primitive. The boundary is commonly visualized with the polyline primitive.

Overview#

compute_simple

Compute a triangulation on the specified centralBody for the specified extent. This is equivalent to calling Compute with an altitude of 0 and a granularity of 1 degree.

compute

Compute a triangulation on the specified centralBody for the specified extent.

Import detail#

from ansys.stk.core.graphics import SurfaceExtentTriangulatorInitializer

Method detail#

SurfaceExtentTriangulatorInitializer.compute_simple(self, central_body: str, extent: list) SurfaceTriangulatorResult#

Compute a triangulation on the specified centralBody for the specified extent. This is equivalent to calling Compute with an altitude of 0 and a granularity of 1 degree.

Parameters:

central_body : str

extent : list

Returns:

SurfaceTriangulatorResult

SurfaceExtentTriangulatorInitializer.compute(self, central_body: str, extent: list, altitude: float, granularity: float) SurfaceTriangulatorResult#

Compute a triangulation on the specified centralBody for the specified extent.

Parameters:

central_body : str

extent : list

altitude : float

granularity : float

Returns:

SurfaceTriangulatorResult