MapTransform

Description

class Tinman.Terrain.Georef.MapTransform

Derived from

CoordinateTransform abstract
IMapTransform

Default implementation of the IMapTransform interface.

Subclasses may implement additional transformations, for example the ones defined by ICanvasTransform.

Public / Constructors

MapTransform


public constructor MapTransform → (5)

datasetSpace in : IGeorefInfo

The definition of dataset space, see IMapTransform.DatasetSpace.

mapSpace in : CoordinateSystem

The definition of map space, see IMapTransform.MapSpace.

mapBounds in : Box2D

The bounds of map space, see IMapTransform.MapBounds.

datum opt : IDatumTransform = null

Optional datum transform. If null, a lookup will be performed into the current GeoRegistry.

datumLookup opt : bool = true

Perform a lookup into the current GeoRegistry if datum opt is null?

Creates a new instance of MapTransform.

GeorefException

If the geo-reference parameters are incomplete or invalid.

Protected / Attributes

datasetSpace


protected readonly attribute datasetSpace → (GeorefInfo)

The immutable geo-reference.

mapBounds


protected readonly attribute mapBounds → (Box2D)

The bounds of map space.

mapSpace


protected readonly attribute mapSpace → (CoordinateSystem)

The coordinate system of map space.