Interface Mesh
- All Superinterfaces:
VisualizationItem<Mesh>
Visualization item for visualizing meshes.
- Since:
- 9.10.2
-
Method Summary
Modifier and TypeMethodDescriptionstatic Mesh
create(ARGBColor color, Collection<Triangle3d> triangles)
Creates a mesh visualization with the given triangles and color.static Mesh
create(Collection<Triangle3d> triangles)
Creates a mesh visualization with the given triangles.Returns the triangles forming this brep visualization.Methods inherited from interface com.solibri.smc.api.visualization.VisualizationItem
getColor, withColor
-
Method Details
-
create
Creates a mesh visualization with the given triangles.- Parameters:
triangles
- the triangles to visualize- Returns:
- the mesh visualization
- Since:
- 9.10.2
-
create
Creates a mesh visualization with the given triangles and color.- Parameters:
color
- a color with transparencytriangles
- the triangles to visualize- Returns:
- the mesh visualization
- Since:
- 9.10.2
-
getTriangles
Set<Triangle3d> getTriangles()Returns the triangles forming this brep visualization.- Returns:
- a set of triangles forming this brep visualization
- Since:
- 9.10.2
-