TriangleMeshPrimitiveFactory#
- class ansys.stk.core.graphics.TriangleMeshPrimitiveFactory#
Render a triangle mesh in the 3D scene. Examples of triangle meshes include polygons on the globe (e.g. states or countries), terrain and imagery extents, ellipses, and extrusions.
Overview#
Initialize a default triangle mesh primitive. This is equivalent to constructing a triangle mesh with a set hint of Frequent. |
|
Initialize a triangle mesh primitive with the specified setHint . |
Import detail#
from ansys.stk.core.graphics import TriangleMeshPrimitiveFactory
Method detail#
- TriangleMeshPrimitiveFactory.initialize(self) TriangleMeshPrimitive #
Initialize a default triangle mesh primitive. This is equivalent to constructing a triangle mesh with a set hint of Frequent.
- Returns:
TriangleMeshPrimitive
- TriangleMeshPrimitiveFactory.initialize_with_set_hint(self, set_hint: SetHint) TriangleMeshPrimitive #
Initialize a triangle mesh primitive with the specified setHint .
- Parameters:
set_hint :
SetHint
- Returns:
TriangleMeshPrimitive