PathPrimitiveFactory#
- class ansys.stk.core.graphics.PathPrimitiveFactory#
Render a line to the 3D scene. Similar to the polyline primitive; however, the PathPrimitive was designed for the efficient addition/removal of points to/from the front or back of the line.
Overview#
Initialize a default path primitive. This is equivalent to constructing a path primitive with an initial capacity of 16. |
|
Initialize a path primitive with the specified capacity. |
Get the minimum width, in pixels, supported by the video card. |
|
Get the maximum width, in pixels, supported by the video card. |
Import detail#
from ansys.stk.core.graphics import PathPrimitiveFactory
Property detail#
Method detail#
- PathPrimitiveFactory.initialize(self) PathPrimitive #
Initialize a default path primitive. This is equivalent to constructing a path primitive with an initial capacity of 16.
- Returns:
PathPrimitive
- PathPrimitiveFactory.initialize_with_capacity(self, capacity: int) PathPrimitive #
Initialize a path primitive with the specified capacity.
- Parameters:
capacity :
int
- Returns:
PathPrimitive