Class BoundingBoxVisitorImpl

java.lang.Object
cz.fidentis.analyst.engines.bbox.impl.BoundingBoxVisitorImpl
All Implemented Interfaces:
MeshVisitor, BoundingBoxVisitor, Serializable

public class BoundingBoxVisitorImpl extends Object implements BoundingBoxVisitor, Serializable
Visitor that computes a 3D bounding box (cube).

This visitor is thread-safe.

See Also:
  • Constructor Details

    • BoundingBoxVisitorImpl

      public BoundingBoxVisitorImpl()
  • Method Details

    • visitMeshFacet

      public void visitMeshFacet(MeshFacet facet)
      Description copied from interface: MeshVisitor
      The inspection method to be implemented by specific visitors.
      Specified by:
      visitMeshFacet in interface MeshVisitor
      Parameters:
      facet - Mesh facet to be visited.
    • getBoundingBox

      public Box getBoundingBox()
      Description copied from interface: BoundingBoxVisitor
      Returns computed bounding box.
      Specified by:
      getBoundingBox in interface BoundingBoxVisitor
      Returns:
      Bounding box or null