|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.geometry.SpatialForm
com.kuka.geometry.forms.Cuboid
public class Cuboid
Implements a cuboid as a spatial form. The cuboid is defined by a reference frame that lies in a corner and three length parameters that span the cuboid along the positive axes of that frame.
CuboidVertex| Constructor Summary | |
|---|---|
Cuboid(double x,
double y,
double z)
Creates a new cuboid instance. |
|
| Method Summary | |
|---|---|
LocalFrame |
createVertexFrame(String name,
CuboidVertex vertex)
Creates a vertex frame. |
double |
getX()
Returns the dimension on x-axis. |
double |
getY()
Returns the dimension on y-axis. |
double |
getZ()
Returns the dimension on z-axis. |
void |
setX(double x)
Sets the dimension on x-axis. |
void |
setY(double y)
Sets the dimension on y-axis. |
void |
setZ(double z)
Sets the dimension on z-axis. |
| Methods inherited from class com.kuka.geometry.SpatialForm |
|---|
createFrame, getOwnerObject, getReferenceFrame, setOwnerObject, setReferenceFrame |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Cuboid(double x,
double y,
double z)
The cuboid is generated by spanning the given lengths along the reference frame's positive axes.
x - dimension on x-axisy - dimension on y-axisz - dimension on z-axisCuboidVertex| Method Detail |
|---|
public double getX()
public void setX(double x)
x - dimension on x-axispublic double getY()
public void setY(double y)
y - dimension on y-axispublic double getZ()
public void setZ(double z)
z - dimension on z-axis
public LocalFrame createVertexFrame(String name,
CuboidVertex vertex)
name - the name of the framevertex - the vertex of the cuboid
CuboidVertex
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||