|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.nav.Orientations
public final class Orientations
This class holds a list of angular orientations. An orientations object always has at least one orientation. Negative orientations point to the right side (clockwise), positive orientations point to the left side (counter-clockwise).
| Nested Class Summary | |
|---|---|
static class |
Orientations.ReferenceSystem
The reference system for the orientations. |
| Field Summary | |
|---|---|
static Orientations |
ALIGN
Indicates orientations forward, backward, left or right relative to a path. |
static Orientations |
BACKWARD
Indicates a single orientation in the direction backward on a path. |
static Orientations |
CROSSWISE
Indicates orientations left or right on a path. |
static Orientations |
FORWARD
Indicates a single orientation in the direction forward on a path. |
static Orientations |
LEFT
Indicates a single orientation facing 90 degrees left of the path. |
static Orientations |
LENGTHWISE
Indicates orientations forward or backward on a path. |
static Orientations |
RIGHT
Indicates a single orientation facing 90 degrees right of the path. |
| Method Summary | |
|---|---|
com.kuka.parameters.IParameter |
copy()
|
double |
getBestMatch(double refOrientation)
Checks all allowed orientations and returns the closest match to the given reference orientation. |
Orientations.ReferenceSystem |
getReferenceSystem()
|
static Orientations |
map(Collection<Double> orientations)
Creates a new set of orientations from the given orientation values using the map as reference system. |
static Orientations |
map(double... orientations)
Creates a new set of orientations from the given orientation values using the map as reference system. |
Orientations |
or(Orientations ori)
Builds the union of two orientation sets. |
static Orientations |
path(Collection<Double> orientations)
Creates a new set of orientations from the given orientation values using the path as reference system. |
static Orientations |
path(double... orientations)
Creates a new set of orientations from the given orientation values using the path as reference system. |
Orientations |
relativeTo(Orientations.ReferenceSystem reference)
Returns a copy of this set of orientations with a changed reference system. |
Set<Double> |
values()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Orientations FORWARD
public static final Orientations BACKWARD
public static final Orientations LENGTHWISE
public static final Orientations LEFT
public static final Orientations RIGHT
public static final Orientations CROSSWISE
public static final Orientations ALIGN
| Method Detail |
|---|
public static Orientations path(double... orientations)
orientations - a number of angular orientations in rad
public static Orientations path(Collection<Double> orientations)
orientations - a number of angular orientations in rad
public static Orientations map(double... orientations)
orientations - a number of angular orientations in rad
public static Orientations map(Collection<Double> orientations)
orientations - a number of angular orientations in rad
public Orientations or(Orientations ori)
ori - another orientations object
public Set<Double> values()
public Orientations.ReferenceSystem getReferenceSystem()
public Orientations relativeTo(Orientations.ReferenceSystem reference)
reference - the new reference system
public double getBestMatch(double refOrientation)
refOrientation - the orientation to compare against, must be in the same
reference system
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 | |||||||||