TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

struct LatLonHeight in Tinman.Terrain.Georef

Geographic coordinates with a height value.

struct LatLonHeight implements IEquatable<LatLonHeight>

See also:

LatLon
VerticalType
Geocentric

Serialization

Serializer

The serialization helper object for values of LatLonHeight.

public static readonly field Serializer
type ITypeSerializer<LatLonHeight>

Public / Constants

Undefined

public static readonly field Undefined
type LatLonHeight

Public / Attributes

Coords

The geographic coordinates.

public readonly field Coords
type LatLon

Height

The height value.

public readonly field Height
type float64

See also:

Vertical

Invariant

Returns 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).

IsGround

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.

IsUndefined

Is this coordinate set undefined?

public property IsUndefined { get }
type bool
value true if the coordinates are undefined, false if not.

See also:

Undefined
LatLon.IsUndefinedCoordinate

Vertical

The vertical coordinate type.

public readonly field Vertical
type VerticalType

See also:

Height

Public / Constructors

LatLonHeight

Creates 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.

Public / Methods

Add

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.

Equals

public method Equals (LatLonHeight other)
type bool
params other

ToString

public override method ToString ()
type string

[Pure]
public method ToString (LatLonFormat format)
type string
params format

ToVertical

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.