public interface Position
Modifier and Type | Method and Description |
---|---|
boolean |
epsilonEquals(Position other,
double epsilon,
Length.Unit unit)
Indicates whether some other
Position object is "approximately equal" to this one. |
boolean |
equals(Object obj)
Indicates whether some other
Position object is "equal to" this one. |
double |
getX()
Deprecated.
Use
getX(Length.Unit) instead. |
double |
getX(Length.Unit unit)
Provides the X coordinate value in specified units.
|
double |
getY()
Deprecated.
Use
getY(Length.Unit) instead. |
double |
getY(Length.Unit unit)
Provides the Y coordinate value in specified units.
|
double |
getZ()
Deprecated.
Use
getZ(Length.Unit) instead. |
double |
getZ(Length.Unit unit)
Provides the Z coordinate value in specified units.
|
int |
hashCode() |
String |
toString() |
@Deprecated double getX()
getX(Length.Unit)
instead.@Deprecated double getY()
getY(Length.Unit)
instead.@Deprecated double getZ()
getZ(Length.Unit)
instead.double getX(Length.Unit unit)
unit
- the unit type.double
value in specified units.double getY(Length.Unit unit)
unit
- the unit type.double
value in specified units.double getZ(Length.Unit unit)
unit
- the unit type.double
value in specified units.int hashCode()
boolean equals(Object obj)
Position
object is "equal to" this one.boolean epsilonEquals(Position other, double epsilon, Length.Unit unit)
Position
object is "approximately equal" to this one.other
- another Position
object.epsilon
- a tolerance.unit
- the unit type of the epsilon
tolerance.true
if the value of this object is "approximately equal" to the value of the other
argument; false
otherwise.Copyright © 2020. All rights reserved.