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 length unit for which to return the X coordinate valuedouble getY(Length.Unit unit)
unit
- The length unit for which to return the Y coordinate valuedouble getZ(Length.Unit unit)
unit
- The length unit for which to return the Z coordinate valueboolean epsilonEquals(Position other, double epsilon, Length.Unit unit)
Position
object is "approximately equal" to this one.other
- Another Position
object.epsilon
- The tolerance value to be used for the comparison of coordinate values (i.e. X, Y, Z) in specified
unitsunit
- The length unit for the specified epsilon
tolerance.true
if the values of this object are "approximately equal" to the values of the other
argument; false
otherwise.boolean equals(Object obj)
Position
object is "equal to" this one.int hashCode()
Copyright © 2021. All rights reserved.