Geographic coordinates with a height value.
struct
|
LatLonHeight
|
implements
|
IEquatable<LatLonHeight>
|
See also:
LatLonThe serialization helper object for values of LatLonHeight.
public
static
readonly
field
|
Serializer
|
||
type
|
ITypeSerializer<LatLonHeight>
|
public
static
readonly
field
|
Undefined
|
||
type
|
LatLonHeight
|
The geographic coordinates.
public
readonly
field
|
Coords
|
||
type
|
LatLon
|
The height value.
public
readonly
field
|
Height
|
||
type
|
float64
|
See also:
VerticalReturns the invariant version of these coordinates by replacing HeightMesh with Height, if applicable.
public
property
|
Invariant
{
get
}
|
||
type
|
LatLonHeight
|
||
value
|
The resulting coordinates (Vertical will never be HeightMesh). |
Does this LatLonHeight represent a location that is stuck on the terrain surface?
public
property
|
IsGround
{
get
}
|
||
type
|
bool
|
||
value
|
true
if
the
location
is
stuck
on
the
terrain
surface,
false
if
not.
|
Is this coordinate set undefined?
public
property
|
IsUndefined
{
get
}
|
||
type
|
bool
|
||
value
|
true
if
the
coordinates
are
undefined,
false
if
not. |
See also:
UndefinedThe vertical coordinate type.
public
readonly
field
|
Vertical
|
||
type
|
VerticalType
|
See also:
HeightCreates a new instance of LatLonHeight.
public
constructor
|
LatLonHeight
(LatLon coords,
float64 height = 0,
VerticalType vertical = VerticalType.HeightMesh)
|
||
params
|
coords
|
The geographic coordinates. | |
height
|
The height value. | ||
vertical
|
The vertical coordinate type. |
Adds the given height delta to this coordinate tuple.
[Pure]
|
||||
public
method
|
Add
(float64 height)
|
|||
type
|
LatLonHeight
|
|||
params
|
height
|
The height delta to add. | ||
returns
|
The resulting coordinate tuple. |
public
method
|
Equals
(LatLonHeight other)
|
||
type
|
bool
|
||
params
|
other
|
public
override
method
|
ToString
()
|
||
type
|
string
|
[Pure]
|
||||
public
method
|
ToString
(LatLonFormat format)
|
|||
type
|
string
|
|||
params
|
format
|
Transforms the vertical coordinate to the given type.
public
method
|
ToVertical
(Geocentric geocentric,
VerticalType vertical)
|
||
type
|
LatLonHeight
|
||
params
|
geocentric
|
[not-null]
|
The geocentric object to use. |
vertical
|
The output vertical coordinate type. | ||
returns
|
The resulting value. |