Interface Mesh
-
- All Superinterfaces:
VisualizationItem<Mesh>
public interface Mesh extends VisualizationItem<Mesh>
Visualization item for visualizing meshes.- Since:
- 9.10.2
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static 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.Set<Triangle3d>
getTriangles()
Returns the triangles forming this brep visualization.-
Methods inherited from interface com.solibri.smc.api.visualization.VisualizationItem
getColor, withColor
-
-
-
-
Method Detail
-
create
static Mesh create(Collection<Triangle3d> triangles)
Creates a mesh visualization with the given triangles.- Parameters:
triangles
- the triangles to visualize- Returns:
- the mesh visualization
- Since:
- 9.10.2
-
create
static Mesh create(ARGBColor color, Collection<Triangle3d> triangles)
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
-
-