IGeoPathConverter

Description

interface Tinman.Engine.Scenes.Data.IGeoPathConverter
<TSource val>
<TTarget val>

Extended by

GeoPathConverter sealed

A converter between geo path sample types.

A geo path converter converts between geo path sample types. Initially, a geo path converter uses GeodeticDatum.WGS84 and does not have any information about about the geoid / DEM. The Transform methods must be used to provide this information (see Geocentric.Vertical1).

Public / Methods

Convert​Path


public method ConvertPath → (1)

path in : IGeoPath<TSource>

[not-null]
The geo path to convert.

returns → IGeoPath<TTarget>

The converted geo path.

Converts the given geo path.

Convert​Sample


public method ConvertSample → (1)

sample in : TSource

The geo path sample to convert.

returns → TTarget

The converted geo path sample.

Converts the given geo path sample.

Transform

4 overloads


public method Transform1 → (1)

datum in : GeodeticDatum

[not-null]
The geodetic datum.

returns → IGeoPathConverter<TSource, TTarget>

The resulting geo path converter.

Specifies the geodetic datum of the source and target geo paths.

The default geodetic datum of geo path converters is GeodeticDatum.WGS84.

See also

Geocentric.For1


public method Transform2 → (3)

source in : GeodeticDatum

[not-null]
The geodetic datum of the source geo path.

target in : GeodeticDatum

[not-null]
The geodetic datum of the target geo path.

transform opt : IDatumTransform = null

Optional datum transformation to use from source in to target in.

returns → IGeoPathConverter<TSource, TTarget>

The resulting geo path converter.

Specifies the geodetic datums of the source and target geo paths.

The default geodetic datum of geo path converters is GeodeticDatum.WGS84.

See also

Geocentric.For1


public method Transform3 → (1)

geocentric in : Geocentric

[not-null]
The geocentric frame.

returns → IGeoPathConverter<TSource, TTarget>

The resulting geo path converter.

Specifies the geocentric frame for the source and target geo paths.


public method Transform4 → (3)

source in : Geocentric

[not-null]
The geocentric frame of the source geo path.

target in : Geocentric

[not-null]
The geocentric frame of the target geo path.

transform opt : IDatumTransform = null

Optional datum transformation to use from source in to target in.

returns → IGeoPathConverter<TSource, TTarget>

The resulting geo path converter.

Specifies the geocentric frame for the source and target geo paths.