Class BVFactoryOBB_f

  • Direct Known Subclasses:
    OBBFactory_f

    public class BVFactoryOBB_f
    extends java.lang.Object
    interface of bounding volume factory
    • Constructor Detail

      • BVFactoryOBB_f

        public BVFactoryOBB_f​(long cPtr,
                              boolean cMemoryOwn)
    • Method Detail

      • delete

        public void delete()
      • makeBV

        public OBB_f makeBV​(TriMesh geom)
        Create a bounding volume for a triangle mesh.
        Parameters:
        geom - [in/out] the mesh to create bounding volume for.
        Returns:
        the bounding volume.
      • makeBV

        public OBB_f makeBV​(GeometryData geom)
        Create a bounding volume for any type of geometry.
        Parameters:
        geom - [in/out] the geometry to create bounding volume for.
        Returns:
        the bounding volume.
      • makeBV

        public OBB_f makeBV​(Primitive geom)
        Create a bounding volume for a primitive.
        Parameters:
        geom - [in/out] the primitive to create bounding volume for.
        Returns:
        the bounding volume.
      • makeBV

        public OBB_f makeBV​(Shell geom)
        Create a bounding volume for a shell.
        Parameters:
        geom - [in/out] the shell to create bounding volume for.
        Returns:
        the bounding volume.