indexed_triangle_set¶
- marxs.visualization.x3d.indexed_triangle_set(xyz, index, display, *, scene)[source]¶
Plot a set of triangles.
Parameters¶
- xyznp.array
Euclidean coordinates of nodes
- indexnp.array
index of nodes for each triangle
- displaydict of None
Dictionary with display settings.
- scene
marxs.visualization.x3d.Sceneobject A scene that this object is added to. If
None, a new scene will be created.
Returns¶
- scene
marxs.visualization.x3d.Sceneobject Scene with object added.