Interface BoundingBoxServices


public interface BoundingBoxServices
Stateless services for bounding box calculation. It is a wrapper to the stateful implementation in BoundingBoxVisitor.
  • Method Details

    • compute

      static Box compute(MeshModel mesh, BoundingBoxConfig config)
      Returns bounding box of the given mesh.
      Parameters:
      mesh - Mesh model to be inspected
      config - Configuration of the service
      Returns:
      result or null
    • compute

      static Box compute(MeshFacet mesh, BoundingBoxConfig config)
      Returns bounding box of the given mesh.
      Parameters:
      mesh - Mesh facet to be inspected
      config - Configuration of the service
      Returns:
      result or null
    • compute

      static Box compute(Collection<MeshFacet> mesh, BoundingBoxConfig config)
      Returns bounding box of the given mesh.
      Parameters:
      mesh - Mesh facets to be inspected
      config - Configuration of the service
      Returns:
      result or null