public interface JointPosition
Modifier and Type | Method and Description |
---|---|
boolean |
epsilonEquals(JointPosition other,
double epsilon,
Angle.Unit unit)
Indicates whether some other JointPosition is "approximately equal" to this one.
|
boolean |
equals(Object obj)
Indicates whether some other JointPosition 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 position value including all revolutions in the specified unit
|
long |
getRevolutions()
Provides the number of whole revolutions
|
int |
hashCode()
Returns a hash code value for the JointPosition.
|
String |
toString()
Returns a string representation of the JointPosition.
|
double getPosition(Angle.Unit unit)
unit
- enum to specify unit typelong getRevolutions()
double getAngle(Angle.Unit unit)
unit
- enum to specify unit typeboolean epsilonEquals(JointPosition other, double epsilon, Angle.Unit unit)
other
- another JointPositionepsilon
- a toleranceunit
- enum to specify unit type of tolerancetrue
if this object contains the "approximately equal" value as the obj
argument; false
otherwise.int hashCode()
boolean equals(Object obj)
Copyright © 2018. All rights reserved.