|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AxisAlignedCylinder
Method Summary | |
---|---|
boolean |
containsPoint(Vec3D p)
Checks if the given point is inside the cylinder. |
float |
getLength()
|
Vec3D.Axis |
getMajorAxis()
|
Vec3D |
getPosition()
Returns the cylinder's position (centroid). |
float |
getRadius()
|
void |
setLength(float length)
|
void |
setPosition(Vec3D pos)
|
void |
setRadius(float radius)
|
TriangleMesh |
toMesh()
Builds a TriangleMesh representation of the cylinder at a default resolution 30 degrees. |
TriangleMesh |
toMesh(int steps,
float thetaOffset)
Builds a TriangleMesh representation of the cylinder using the given number of steps and start angle offset. |
Method Detail |
---|
boolean containsPoint(Vec3D p)
p
-
float getLength()
Vec3D.Axis getMajorAxis()
Vec3D getPosition()
float getRadius()
void setLength(float length)
length
- the length to setvoid setPosition(Vec3D pos)
pos
- the pos to setvoid setRadius(float radius)
radius
- TriangleMesh toMesh()
TriangleMesh toMesh(int steps, float thetaOffset)
steps
- thetaOffset
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |