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

Map​Transform


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

dataset​Space


protected readonly attribute datasetSpace → (GeorefInfo)

The immutable geo-reference.

map​Bounds


protected readonly attribute mapBounds → (Box2D)

The bounds of map space.

map​Space


protected readonly attribute mapSpace → (CoordinateSystem)

The coordinate system of map space.