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

class MapProjectionBase in Tinman.Terrain.Mapping

abstract class MapProjectionBase implements IMapProjection
  base of MapProjection

Public / Attributes

Source

The source raster definition.

public property Source { get }
type MapInfo
value The source raster.
implements IMapProjection.Source

SourceWrapX

The source raster wrapping behaviour along the map X-axis.

public abstract property SourceWrapX { get }
type MapWrap
value The wrapping behaviour.
implements IMapProjection.SourceWrapX

Remarks:

Wrapping is only applied to rectangular maps (see Type).

See also:

IMapProjection.Source

SourceWrapY

The source raster wrapping behaviour along the map Y-axis.

public abstract property SourceWrapY { get }
type MapWrap
value The wrapping behaviour.
implements IMapProjection.SourceWrapY

Remarks:

Wrapping is only applied to rectangular maps (see Type).

See also:

IMapProjection.Source

Target

The target raster definition.

public property Target { get }
type MapInfo
value The target raster.
implements IMapProjection.Target

TargetWrapX

The target raster wrapping behaviour along the map X-axis.

public abstract property TargetWrapX { get }
type MapWrap
value The wrapping behaviour.
implements IMapProjection.TargetWrapX

Remarks:

Wrapping is only applied to rectangular maps (see Type).

See also:

IMapProjection.Target

TargetWrapY

The target raster wrapping behaviour along the map Y-axis.

public abstract property TargetWrapY { get }
type MapWrap
value The wrapping behaviour.
implements IMapProjection.TargetWrapY

Remarks:

Wrapping is only applied to rectangular maps (see Type).

See also:

IMapProjection.Target

Public / Methods

Reverse

Returns the reverse map projection.

public abstract method Reverse ()
type IMapProjection
returns [not-null] The reverse map projection.
implements IMapProjection.Reverse

Transform

Transform the given dataset coordinates.

public abstract method Transform (float64 x, float64 y, float64 z)
type Vec3D
params x Source dataset X-coordinate.
  y Source dataset Y-coordinate.
  z Source dataset Z-coordinate. Only used if source raster is a cubemap (see Type). Will be ignored otherwise.
returns The target dataset coordinates. Z will be zero if target raster is not a cubemap (see Type). In case that the projection cannot be performed, Undefined is returned.
implements IMapProjection.Transform

Transform the given raster coordinates.

public abstract method Transform (float64 x, float64 y, float64 z, float64 h)
type Vec4D
params x Source dataset X-coordinate.
  y Source dataset Y-coordinate.
  z Source dataset Z-coordinate.
  h Source dataset height value.
returns The target dataset coordinates. Z will be zero if target raster is not a cubemap (see Type). The target dataset height value is stored in W. In case that the projection cannot be performed, Undefined is returned.
implements IMapProjection.Transform

Protected / Attributes

source

The source map raster.

protected readonly field source
type MapInfo

target

The target map raster.

protected readonly field target
type MapInfo

Protected / Constructors

MapProjectionBase

protected constructor MapProjectionBase (MapInfo source, MapInfo target)
params source
  target