Class BVFactoryOBB

  • Direct Known Subclasses:
    OBBFactory

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

      • BVFactoryOBB

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

      • getCPtr

        public static long getCPtr​(BVFactoryOBB obj)
      • delete

        public void delete()
      • makeBV

        public OBB 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 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 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 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.