Package org.robwork.sdurw_geometry
Class BVFactoryOBB_f
- java.lang.Object
-
- org.robwork.sdurw_geometry.BVFactoryOBB_f
-
- Direct Known Subclasses:
OBBFactory_f
public class BVFactoryOBB_f extends java.lang.Object
interface of bounding volume factory
-
-
Constructor Summary
Constructors Constructor Description BVFactoryOBB_f(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
static long
getCPtr(BVFactoryOBB_f obj)
OBB_f
makeBV(GeometryData geom)
Create a bounding volume for any type of geometry.OBB_f
makeBV(Primitive geom)
Create a bounding volume for a primitive.OBB_f
makeBV(Shell geom)
Create a bounding volume for a shell.OBB_f
makeBV(TriMesh geom)
Create a bounding volume for a triangle mesh.
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(BVFactoryOBB_f obj)
-
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.
-
-