Package org.robwork.sdurw
Class Cone
- java.lang.Object
-
- org.robwork.sdurw.GeometryData
-
- org.robwork.sdurw.Primitive
-
- org.robwork.sdurw.Cone
-
public class Cone 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()
double
getBottomRadius()
static long
getCPtr(Cone obj)
double
getHeight()
Q
getParameters()
double
getTopRadius()
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
-
Cone
public Cone(long cPtr, boolean cMemoryOwn)
-
Cone
public Cone(Q initQ)
-
Cone
public Cone(double height, double radiusTop, double radiusBot)
-
-
Method Detail
-
getCPtr
public static long getCPtr(Cone obj)
-
getHeight
public double getHeight()
-
getTopRadius
public double getTopRadius()
-
getBottomRadius
public double getBottomRadius()
-
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.
-
-