|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.nav.Position
public class Position
A class holding a position.
| Constructor Summary | |
|---|---|
Position(double x,
double y)
The constructor. |
|
Position(Position pos)
Constructor. |
|
| Method Summary | |
|---|---|
com.kuka.parameters.IParameter |
copy()
|
double |
distance(Position pos)
Calculates the euclidean square-norm of the position to a given position. |
double |
getX()
Returns the x value of this position. |
double |
getY()
Returns the y value of this position. |
Pose |
toPose(double orientation)
Creates a pose from this position using the given orientation. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Position(double x,
double y)
x - the x valuey - the y valuepublic Position(Position pos)
pos - the position| Method Detail |
|---|
public double getX()
public double getY()
public String toString()
toString in class Objectpublic Pose toPose(double orientation)
orientation - Orientation of the new pose in [rad]
public double distance(Position pos)
pos - another position
public com.kuka.parameters.IParameter copy()
copy in interface com.kuka.parameters.IParameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||