public interface Position
Modifier and Type | Method and Description |
---|---|
boolean |
epsilonEquals(Position other,
double epsilon,
Length.Unit unit)
Indicates whether of some other Position is "approximately equal" to this one.
|
boolean |
equals(Object obj) |
double |
getX()
Deprecated.
|
double |
getX(Length.Unit unit)
Provides the x coordinate value in specified unit
|
double |
getY()
Deprecated.
|
double |
getY(Length.Unit unit)
Provides the y coordinate value in specified unit
|
double |
getZ()
Deprecated.
|
double |
getZ(Length.Unit unit)
Provides the z coordinate value in specified unit
|
int |
hashCode() |
String |
toString() |
double getX()
getX(Length.Unit)
double getY()
getY(Length.Unit)
double getZ()
getZ(Length.Unit)
double getX(Length.Unit unit)
unit
- enum to specify unit typedouble getY(Length.Unit unit)
unit
- enum to specify unit typedouble getZ(Length.Unit unit)
unit
- enum to specify unit typeint hashCode()
boolean equals(Object obj)
boolean epsilonEquals(Position other, double epsilon, Length.Unit unit)
other
- another Positionepsilon
- a toleranceunit
- enum to specify unit type of epsilontrue
if this object contains the "approximately equal in tolerance" in value as the obj
argument; false
otherwise.Copyright © 2019. All rights reserved.