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

interface IGeorefInfo in Tinman.Terrain.Georef

Base interface for raster maps that provide geo-referencing information.

interface IGeorefInfo extends IMapInfo
  base of Canvas
  HeightmapSampleResult
  ICanvasFactory
  IImageInfo
  IMapEntity
  IMapShapes
  ITerrainExporter

Remarks

Geo-referencing information of the raster map can be obtained via Georef. The raster specification is given by Map.

Attributes

Georef

Returns geo-referencing information.

property Georef { get }
type Raster
value The geo-referencing object or null if no geo-referencing is available.

Map

Returns a MapInfo value that describes the used map raster.

[Constant]
property Map { get }
type MapInfo
value The map info value.
inherited IMapInfo.Map

Extensions

GroundSampleDistanceZ

Computes the estimated overall ground sample distance.

method GroundSampleDistanceZ (UnitOfMeasure unit = null)
type float64
params unit The unit of measure. If null, Metre will be used. Defaults to null.
returns The ground sample distance or NanD if Georef returns null.

Remarks:

This method delegates to Compute and returns Z.

LatLonToRaster

Converts the given longitude/latitude coordinates to raster coordinates.

method LatLonToRaster (LatLon latLon)
type CubemapFaceCoordsD
params latLon The longitude/latitude coordinates.
returns The raster coordinates or Undefined if the conversion is not possible.

Project

Projects this geo-referenced raster to the coordinate system of the given two-dimensional map.

method Project (CoordinateSystem mapSpace, Box2D mapBounds, IDatumTransform transform = null)
type IMapTransform
params mapSpace [not-null] The coordinate system of the target map, see MapSpace.
  mapBounds The map bounds, see MapBounds.
  transform Optional transformation between the geodetic datums. If null, the transformation is looked up in the current georegistry. Defaults to null.
returns [not-null] The resulting map transform object.

Exceptions:

RasterToLatLon

Converts the given raster coordinates to longitude/latitude coordinates.

method RasterToLatLon (Vec2I coords)
type LatLon
params coords The raster coordinates.
returns The longitude/latitude coordinates or Undefined if the conversion is not possible.

Converts the given raster coordinates to longitude/latitude coordinates.

method RasterToLatLon (Vec2D coords)
type LatLon
params coords The raster coordinates.
returns The longitude/latitude coordinates or Undefined if the conversion is not possible.

Converts the given raster coordinates to longitude/latitude coordinates.

method RasterToLatLon (CubemapFaceCoordsI coords)
type LatLon
params coords The raster coordinates.
returns The longitude/latitude coordinates or Undefined if the conversion is not possible.

Converts the given raster coordinates to longitude/latitude coordinates.

method RasterToLatLon (CubemapFaceCoordsD coords)
type LatLon
params coords The raster coordinates.
returns The longitude/latitude coordinates or Undefined if the conversion is not possible.

Converts the given raster coordinates to longitude/latitude coordinates.

method RasterToLatLon (float64 faceX, float64 faceY, CubemapFace face = CubemapFace.NegZ)
type LatLon
params faceX The raster X-coordinates (on cubemap face face).
  faceY The raster Y-coordinates (on cubemap face face).
  face The raster cubemap face. Defaults to NegZ.
returns The longitude/latitude coordinates or Undefined if the conversion is not possible.

VerticalUnit

Returns the vertical unit.

method VerticalUnit ()
type UnitOfMeasure
returns [not-null] The vertical unit.