Class Projection

Projection class

Represents a projection method with parameters, that transforms (longitude, latitude) to (x, y).

public class Projection : IdentifiableObject

Properties

NameDescription
AngularParametersUnit { get; }Unit that is used for angular parameters.
EpsgCode { get; }If this objects identifier is EPSG identifier - return its code. Otherwise - return -1.
Identifier { get; }Identifier of this identifiable object.
LinearParametersUnit { get; }Unit that is used for linear parameters.
Name { get; }Name of this object.
ParametersNames { get; }Gets an enumerable collection of names of parameters given to this projection

Methods

NameDescription
GetParameterValue(string, ParameterType)Gets parameter with specified name of this projection.
IsEquivalent(Projection)Determines is two projections are equivalent. Equivalent projections map (longitude, latitude) to (x, y) in the same way.
override ToString()Returns a string that represents the current object.
TryGetParameterValue(string, ParameterType)Gets parameter with specified name of this projection. If there are no such parameter - returns null.

See Also