public class Position extends Object implements Serializable
Constructor and Description |
---|
Position(Double longitude,
Double latitude)
Constructor
|
Position(Double longitude,
Double latitude,
Double altitude,
Double... additionalElements)
Construct a Coordinates with additional elements.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<Double> |
getAdditionalElements()
Get the additional elements
|
Double |
getM()
Get the m value
|
Double |
getX()
Get the x value
|
Double |
getY()
Get the y value
|
Double |
getZ()
Get the z value
|
boolean |
hasAdditionalElements()
Check if the position has additional elements
|
int |
hashCode() |
boolean |
hasM()
Check if position has a m value
|
boolean |
hasZ()
Check if position has a z value
|
public Position(Double longitude, Double latitude)
longitude
- longitude valuelatitude
- latitude valuepublic Position(Double longitude, Double latitude, Double altitude, Double... additionalElements)
longitude
- The longitude.latitude
- The latitude.altitude
- The altitude.additionalElements
- The additional elements.public boolean hasAdditionalElements()
public List<Double> getAdditionalElements()
public Double getX()
public Double getY()
public Double getZ()
public Double getM()
public boolean hasZ()
public boolean hasM()
Copyright © 2024. All rights reserved.