Interface Mesh

All Superinterfaces:
VisualizationItem<Mesh>

public interface Mesh
extends VisualizationItem<Mesh>
Visualization item for visualizing meshes.
Since:
9.10.2
  • Method Details

    • 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 transparency
      triangles - 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