SolidTriangulatorResult#
- class ansys.stk.core.graphics.SolidTriangulatorResult#
Bases:
ITriangulatorResult
The result from a triangulation of a solid: a triangle mesh defined using an indexed triangle list and positions outlining the solid. It is recommended to visualize the solid using a solid primitiveβ¦
Overview#
Get indices into positions that define the positions outlining the solid. The indices returned consider the three components of a position (x, y, and z) as a single array element⦠|
|
Get the positions outlining the solid. Three array elements (in the order x, y, z) constitute one position. |
|
Get the polyline type of outline indices and outline positions. |
|
Get whether the solid is closed. For example, a box with six faces is closed. If one face is removed, the box is open. |
Import detail#
from ansys.stk.core.graphics import SolidTriangulatorResult
Property detail#
- property SolidTriangulatorResult.outline_indices: list#
Get indices into positions that define the positions outlining the solid. The indices returned consider the three components of a position (x, y, and z) as a single array elementβ¦
- property SolidTriangulatorResult.outline_positions: list#
Get the positions outlining the solid. Three array elements (in the order x, y, z) constitute one position.
- property SolidTriangulatorResult.outline_polyline_type: PolylineType#
Get the polyline type of outline indices and outline positions.