public interface JointPosition
Modifier and Type | Method and Description |
---|---|
boolean |
epsilonEquals(JointPosition other,
double epsilon,
Angle.Unit unit)
Indicates whether some other
JointPosition object is "approximately equal" to this one. |
boolean |
equals(Object obj)
Indicates whether some other
JointPosition object is "equal to" this one. |
double |
getAngle(Angle.Unit unit)
Provides the angle offset in the range [0:2pi[ (RAD) or [0:360[ (DEG)
|
double |
getPosition(Angle.Unit unit)
Provides the value of the joint position including all revolutions in the specified unit.
|
long |
getRevolutions()
Provides the number of whole revolutions
|
int |
hashCode() |
String |
toString() |
double getPosition(Angle.Unit unit)
Provides the value of the joint position including all revolutions in the specified unit.
getAngle(Angle.Unit)
and getRevolutions()
, respectively.unit
- the unit typelong getRevolutions()
double getAngle(Angle.Unit unit)
unit
- the unit typeboolean epsilonEquals(JointPosition other, double epsilon, Angle.Unit unit)
JointPosition
object is "approximately equal" to this one.other
- another JointPosition
objectepsilon
- a toleranceunit
- unit type of the epsilon
tolerancetrue
if the value of this object is "approximately equal" to the value of the other
argument; false
otherwise.int hashCode()
boolean equals(Object obj)
JointPosition
object is "equal to" this one.Copyright © 2019. All rights reserved.