Method Summary |
|
public XYZ | copy() |
public GeocentricCRS<XYZ> | getCoordinateReferenceSystem() |
public int | getDimension() |
public double | getOrdinate(int dimension) |
public Float64Vector | toVector(Unit<Length> unit) Returns the x/y/z coordinates value as a 3-dimensional vector.
Parameters: unit - the length unit of the vector coordinates. |
public static XYZ | valueOf(double x, double y, double z, Unit<Length> unit) Returns the spatial position corresponding to the specified coordinates.
Parameters: x - the x value stated in the specified unit. Parameters: y - the y value stated in the specified unit. Parameters: z - the z value stated in the specified unit. Parameters: unit - the length unit in which the coordinates are stated. |
public static XYZ | valueOf(Float64Vector vector, Unit<Length> unit) Returns the spatial position corresponding to the specified
3-dimensional vector.
Parameters: vector - the 3-dimensional vector holding the x/y/z coordinates. Parameters: unit - the length unit in which the coordinates are stated. |
public double | xValue(Unit<Length> unit) Returns the x coordinate value as double
Parameters: unit - the length unit of the x coordinate value to return. |
public double | yValue(Unit<Length> unit) Returns the y coordinate value as double
Parameters: unit - the length unit of the x coordinate value to return. |
public double | zValue(Unit<Length> unit) Returns the z coordinate value as double
Parameters: unit - the length unit of the x coordinate value to return. |