public class VgPosition
extends java.lang.Object
Constructor and Description |
---|
VgPosition() |
VgPosition(double pXOrLongitude,
double pYOrLatitude,
double pZOrAltitude) |
VgPosition(double pXOrLongitude,
double pYOrLatitude,
double pZOrAltitude,
VgSRSConstRefPtr pSRS) |
VgPosition(VgPosition pOther)
Copy constructor.
|
VgPosition(VgSRSConstRefPtr pSRS) |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
VgSRSConstRefPtr |
getMSRS()
The SRS the position is expressed in.
|
double |
getMXOrLongitude()
Depending on the SRS used this may be local metric X coordinate, or longitude.
|
double |
getMYOrLatitude()
Depending on the SRS used this may be local metric Y coordinate, or latitude.
|
double |
getMZOrAltitude()
Depending on the SRS used this may be local metric Z coordinate, or altitude.
|
void |
setMSRS(VgSRSConstRefPtr value)
The SRS the position is expressed in.
|
void |
setMXOrLongitude(double value)
Depending on the SRS used this may be local metric X coordinate, or longitude.
|
void |
setMYOrLatitude(double value)
Depending on the SRS used this may be local metric Y coordinate, or latitude.
|
void |
setMZOrAltitude(double value)
Depending on the SRS used this may be local metric Z coordinate, or altitude.
|
public VgPosition()
public VgPosition(VgSRSConstRefPtr pSRS)
public VgPosition(VgPosition pOther)
pOther
- The position object to copy.public VgPosition(double pXOrLongitude, double pYOrLatitude, double pZOrAltitude)
public VgPosition(double pXOrLongitude, double pYOrLatitude, double pZOrAltitude, VgSRSConstRefPtr pSRS)
public void delete()
public void setMSRS(VgSRSConstRefPtr value)
public VgSRSConstRefPtr getMSRS()
public void setMXOrLongitude(double value)
public double getMXOrLongitude()
public void setMYOrLatitude(double value)
public double getMYOrLatitude()
public void setMZOrAltitude(double value)
public double getMZOrAltitude()