ExtrudedPolylineTriangulatorInitializer#

class ansys.stk.core.graphics.ExtrudedPolylineTriangulatorInitializer#

Triangulates a polyline into an extrusion with bottom and top boundaries.

Overview#

compute

Compute an extrusion between bottomPositions and topPositions on the specified centralBody. This is equivalent to calling Compute with a positionsWindingOrder of compute.

compute_with_winding_order

Compute an extrusion between bottomPositions and topPositions on the specified centralBody.

compute_cartographic

For convenience. Computes an extrusion between bottomPositions and topPositions on the specified centralBody using cartographic positions. This is equivalent to converting each position in bottomPositions and topPositions to cartesian and calling Compute.

compute_cartographic_with_winding_order

For convenience. Computes an extrusion between bottomPositions and topPositions on the specified centralBody using cartographic positions. This is equivalent to converting each position in bottomPositions and topPositions to cartesian and calling Compute.

compute_with_altitudes

Compute an extrusion of positions on the specified centralBody with a constant bottomAltitude and topAltitude. This is equivalent to calling Compute with a positionsWindingOrder of compute.

compute_with_altitudes_and_winding_order

Compute an extrusion of positions on the specified centralBody with a constant bottomAltitude and topAltitude.

compute_cartographic_with_altitudes

For convenience. Computes an extrusion of positions on the specified centralBody with a constant bottomAltitude and topAltitude using cartographic positions. This is equivalent to converting each position in positions to cartesian and calling Compute.

compute_cartographic_with_altitudes_and_winding_order

For convenience. Computes an extrusion of positions on the specified centralBody with a constant bottomAltitude and topAltitude using cartographic positions. This is equivalent to converting each position in positions to cartesian and calling Compute.

compute_single_constant_altitude

Compute 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…

compute_single_constant_altitude_with_winding_order

Compute 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.

compute_single_constant_altitude_cartographic

For convenience. Computes an extrusion of positions on the specified centralBody using cartographic positions. One side of the extrusion has a constant altitude and the other has the original altitudes from positions…

compute_single_constant_altitude_cartographic_with_winding_order

For convenience. Computes an extrusion of positions on the specified centralBody using cartographic positions. One side of the extrusion has a constant altitude and the other has the original altitudes from positions…

Import detail#

from ansys.stk.core.graphics import ExtrudedPolylineTriangulatorInitializer

Method detail#

ExtrudedPolylineTriangulatorInitializer.compute(self, central_body: str, bottom_positions: list, top_positions: list) ExtrudedPolylineTriangulatorResult#

Compute an extrusion between bottomPositions and topPositions on the specified centralBody. This is equivalent to calling Compute with a positionsWindingOrder of compute.

Parameters:

central_body : str

bottom_positions : list

top_positions : list

Returns:

ExtrudedPolylineTriangulatorResult

ExtrudedPolylineTriangulatorInitializer.compute_with_winding_order(self, central_body: str, bottom_positions: list, top_positions: list, positions_winding_order: WindingOrder) ExtrudedPolylineTriangulatorResult#

Compute an extrusion between bottomPositions and topPositions on the specified centralBody.

Parameters:

central_body : str

bottom_positions : list

top_positions : list

positions_winding_order : WindingOrder

Returns:

ExtrudedPolylineTriangulatorResult

ExtrudedPolylineTriangulatorInitializer.compute_cartographic(self, central_body: str, bottom_positions: list, top_positions: list) ExtrudedPolylineTriangulatorResult#

For convenience. Computes an extrusion between bottomPositions and topPositions on the specified centralBody using cartographic positions. This is equivalent to converting each position in bottomPositions and topPositions to cartesian and calling Compute.

Parameters:

central_body : str

bottom_positions : list

top_positions : list

Returns:

ExtrudedPolylineTriangulatorResult

ExtrudedPolylineTriangulatorInitializer.compute_cartographic_with_winding_order(self, central_body: str, bottom_positions: list, top_positions: list, positions_winding_order: WindingOrder) ExtrudedPolylineTriangulatorResult#

For convenience. Computes an extrusion between bottomPositions and topPositions on the specified centralBody using cartographic positions. This is equivalent to converting each position in bottomPositions and topPositions to cartesian and calling Compute.

Parameters:

central_body : str

bottom_positions : list

top_positions : list

positions_winding_order : WindingOrder

Returns:

ExtrudedPolylineTriangulatorResult

ExtrudedPolylineTriangulatorInitializer.compute_with_altitudes(self, central_body: str, positions: list, bottom_altitude: float, top_altitude: float) ExtrudedPolylineTriangulatorResult#

Compute an extrusion of positions on the specified centralBody with a constant bottomAltitude and topAltitude. This is equivalent to calling Compute with a positionsWindingOrder of compute.

Parameters:

central_body : str

positions : list

bottom_altitude : float

top_altitude : float

Returns:

ExtrudedPolylineTriangulatorResult

ExtrudedPolylineTriangulatorInitializer.compute_with_altitudes_and_winding_order(self, central_body: str, positions: list, bottom_altitude: float, top_altitude: float, positions_winding_order: WindingOrder) ExtrudedPolylineTriangulatorResult#

Compute an extrusion of positions on the specified centralBody with a constant bottomAltitude and topAltitude.

Parameters:

central_body : str

positions : list

bottom_altitude : float

top_altitude : float

positions_winding_order : WindingOrder

Returns:

ExtrudedPolylineTriangulatorResult

ExtrudedPolylineTriangulatorInitializer.compute_cartographic_with_altitudes(self, central_body: str, positions: list, bottom_altitude: float, top_altitude: float) ExtrudedPolylineTriangulatorResult#

For convenience. Computes an extrusion of positions on the specified centralBody with a constant bottomAltitude and topAltitude using cartographic positions. This is equivalent to converting each position in positions to cartesian and calling Compute.

Parameters:

central_body : str

positions : list

bottom_altitude : float

top_altitude : float

Returns:

ExtrudedPolylineTriangulatorResult

ExtrudedPolylineTriangulatorInitializer.compute_cartographic_with_altitudes_and_winding_order(self, central_body: str, positions: list, bottom_altitude: float, top_altitude: float, positions_winding_order: WindingOrder) ExtrudedPolylineTriangulatorResult#

For convenience. Computes an extrusion of positions on the specified centralBody with a constant bottomAltitude and topAltitude using cartographic positions. This is equivalent to converting each position in positions to cartesian and calling Compute.

Parameters:

central_body : str

positions : list

bottom_altitude : float

top_altitude : float

positions_winding_order : WindingOrder

Returns:

ExtrudedPolylineTriangulatorResult

ExtrudedPolylineTriangulatorInitializer.compute_single_constant_altitude(self, central_body: str, positions: list, altitude: float) ExtrudedPolylineTriangulatorResult#

Compute 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…

Parameters:

central_body : str

positions : list

altitude : float

Returns:

ExtrudedPolylineTriangulatorResult

ExtrudedPolylineTriangulatorInitializer.compute_single_constant_altitude_with_winding_order(self, central_body: str, positions: list, altitude: float, positions_winding_order: WindingOrder) ExtrudedPolylineTriangulatorResult#

Compute 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.

Parameters:

central_body : str

positions : list

altitude : float

positions_winding_order : WindingOrder

Returns:

ExtrudedPolylineTriangulatorResult

ExtrudedPolylineTriangulatorInitializer.compute_single_constant_altitude_cartographic(self, central_body: str, positions: list, altitude: float) ExtrudedPolylineTriangulatorResult#

For convenience. Computes an extrusion of positions on the specified centralBody using cartographic positions. One side of the extrusion has a constant altitude and the other has the original altitudes from positions…

Parameters:

central_body : str

positions : list

altitude : float

Returns:

ExtrudedPolylineTriangulatorResult

ExtrudedPolylineTriangulatorInitializer.compute_single_constant_altitude_cartographic_with_winding_order(self, central_body: str, positions: list, altitude: float, positions_winding_order: WindingOrder) ExtrudedPolylineTriangulatorResult#

For convenience. Computes an extrusion of positions on the specified centralBody using cartographic positions. One side of the extrusion has a constant altitude and the other has the original altitudes from positions…

Parameters:

central_body : str

positions : list

altitude : float

positions_winding_order : WindingOrder

Returns:

ExtrudedPolylineTriangulatorResult