Package org.robwork.sdurw
Class Box
- java.lang.Object
-
- org.robwork.sdurw.GeometryData
-
- org.robwork.sdurw.Primitive
-
- org.robwork.sdurw.Box
-
public class Box extends Primitive
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.robwork.sdurw.GeometryData
GeometryData.GeometryType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TriMeshPtr
createMesh(int resolution)
void
delete()
static long
getCPtr(Box obj)
Q
getParameters()
GeometryData.GeometryType
getType()
the type of this primitive
-
Methods inherited from class org.robwork.sdurw.Primitive
getCPtr, getTriMesh, getTriMesh
-
Methods inherited from class org.robwork.sdurw.GeometryData
getCPtr, isConvex, toString
-
-
-
-
Constructor Detail
-
Box
public Box(long cPtr, boolean cMemoryOwn)
-
Box
public Box()
-
Box
public Box(double x, double y, double z)
-
Box
public Box(Q initQ)
-
-
Method Detail
-
getCPtr
public static long getCPtr(Box obj)
-
createMesh
public TriMeshPtr createMesh(int resolution)
- Overrides:
createMesh
in classPrimitive
-
getParameters
public Q getParameters()
- Overrides:
getParameters
in classPrimitive
-
getType
public GeometryData.GeometryType getType()
Description copied from class:GeometryData
the type of this primitive
- Overrides:
getType
in classGeometryData
- Returns:
- the type of primitive.
-
-