IGeoObject

Description

interface Tinman.Terrain.Georef.IGeoObject

Base interface for classes that represent entities for geo-referencing.

Instances of IGeoObject are immutable; this makes sure that no inconsistencies arise when geo objects are put into the GeoRegistry.

Public / Methods

Collect


[Pure]
public method Collect → (1)

collector in : ICollector<IGeoObject>

[not-null]
The collector to use.

Collects this geo object and all aggregated ones, by adding them to collector in.

Resolve


[Pure]
public method Resolve → (1)

resolver in : GeoObjectResolverDelegate

[not-null]
The geo object resolver to use.

returns → IGeoObject

The resulting top-level geo object.

Resolves the aggregated geo objects against the given resolver in.

Public / Attributes

Name


[Constant]
public attribute Name → (get)

value : string

The object name. Will either be null or non-empty.

The human-readable name of this object.

Type


[Constant]
public attribute Type → (get)

value : GeoObjectType

The geo object type.

The type of this geo object.

Extensions

Equals​With​Name


[Pure]
public static method EqualsWithName → (1)

other in : IGeoObject

The other geo object.

returns → bool

true if both geo objects are equal,
false if they are not.

Checks if this geo object is equal to the given other in one, including the IGeoObject.Name.