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

interface IGeoRegistry in Tinman.Terrain.Georef

Base interface for classes that represent a registry of geo objects.

interface IGeoRegistry extends ISerializable
  base of GeoRegistry

Attributes

Name

Human-readable name of this geo registry.

property Name { get }
type string
value [not-null] The geo registry name.

SerialType

Returns the serial type of this object.

property SerialType { get }
type ISerialTypeInfo
value [not-null] The serial type.
inherited ISerializable.SerialType

SerialVersion

Returns the serial data version.

property SerialVersion { get }
type int32
value [>=1] The serial data version tag.
inherited ISerializable.SerialVersion

Remarks:

An ISerializable implementation is required to support all versions up to the one returned by SerialVersion.

See also:

ISerializable.Serialize
ISerializable.Deserialize

Methods

Deserialize

Initializes the state of this object from the given data stream.

method Deserialize (int32 serialVersion, ISerializer data)
type ISerializable
params serialVersion [>=1] The serial data version.
  data [not-null] The serial data stream.
returns [not-null] The deserialized object. This will typically be this, but in some circumstances, another instance may be returned (e.g. singletons).
inherited ISerializable.Deserialize

Remarks:

The Deserialize method will be called immediately after the object has been instantiated via its default constructor.

The provided serialVersion number is guaranteed to be equal to or less than the SerialVersion returned by this object (i.e. ISerializable object must provide backwards compatibility).

See also:

ISerializable.Serialize
ISerializable.SerialVersion

Lookup

Performs a georegistry lookup.

method Lookup ()
type IGeoObject[]
returns [not-null] All geo objects in the registry.

Performs a georegistry lookup.

method Lookup (GeoObjectType type)
type IGeoObject[]
params type The geo object type.
returns [not-null] All geo objects of the given type.

Performs a georegistry lookup.

method Lookup (GeoObjectType type, string key, GeoAuthority authority)
type IGeoObject
params type The geo object type.
  key [not-empty] The geo object key.
  authority [not-null] The geo authority.
returns [not-null] The geo object.

Exceptions:

LookupIds

Performs a georegistry lookup.

method LookupIds ()
type GeoObjectId[]
returns [not-null] All IDs of geo objects in the registry.

Performs a georegistry lookup.

method LookupIds (GeoObjectType type)
type GeoObjectId[]
params type The geo object type.
returns [not-null] All IDs of geo objects of the given type.

LookupNull

Performs a georegistry lookup.

method LookupNull (GeoObjectType type, string key, GeoAuthority authority)
type IGeoObject
params type The geo object type.
  key [not-empty] The geo object key.
  authority [not-null] The geo authority.
returns The geo object or null if not found.

ReverseLookup

Performs a reverse georegistry lookup.

method ReverseLookup (IGeoObject obj)
type GeoObjectId
params obj [not-null] The geo object to find.
returns The geo object ID or null if not found.

Serialize

Serializes the current state of this object to the given data stream.

method Serialize (ISerializer data)
params data [not-null] The serial data stream.
inherited ISerializable.Serialize

See also:

ISerializable.Deserialize
ISerializable.SerialVersion

Extensions

Lookup

Performs a georegistry lookup.

method Lookup (GeoObjectId key)
type IGeoObject
params key [not-null] The geo object key.
returns [not-null] The geo object.

Exceptions:


Performs a georegistry lookup.

method Lookup (GeoObjectType type, int32 key, GeoAuthority authority)
type IGeoObject
params type The geo object type.
  key The geo object key.
  authority [not-null] The geo authority.
returns [not-null] The geo object.

Exceptions:

LookupDatumOperation

Looks for a DatumOperation that performs datum conversion between the given coordinate systems.

method LookupDatumOperation (CoordinateSystem source, CoordinateSystem target)
type IDatumTransform
params source [not-null] The source coordinate system.
  target [not-null] The target coordinate system.
returns The found DatumOperation or null.

LookupNull

Performs a georegistry lookup.

method LookupNull (GeoObjectId key)
type IGeoObject
params key The geo object key.
returns The geo object or null if not found.

Performs a georegistry lookup.

method LookupNull (GeoObjectType type, int32 key, GeoAuthority authority)
type IGeoObject
params type The geo object type.
  key The geo object key.
  authority [not-null] The geo authority.
returns The geo object or null if not found.