C# Class SharpMap.CoordinateSystems.Projection

The Projection class defines the standard information stored with a projection objects. A projection object implements a coordinate transformation from a geographic coordinate system to a projected coordinate system, given the ellipsoid for the geographic coordinate system. It is expected that each coordinate transformation of interest, e.g., Transverse Mercator, Lambert, will be implemented as a class of type Projection, supporting the IProjection interface.
Inheritance: Info, IProjection
Datei anzeigen Open project: jumpinjackie/fdotoolbox Class Usage Examples

Private Properties

Property Type Description
Projection System

Public Methods

Method Description
EqualParams ( object obj ) : bool

Checks whether the values of this instance is equal to the values of another instance. Only parameters used for coordinate system are used for comparison. Name, abbreviation, authority, alias and remarks are ignored in the comparison.

GetParameter ( int n ) : ProjectionParameter

Gets an indexed parameter of the projection.

GetParameter ( string name ) : ProjectionParameter

Gets an named parameter of the projection.

The parameter name is case insensitive

Private Methods

Method Description
Projection ( string className, List parameters, string name, string authority, long code, string alias, string remarks, string abbreviation ) : System

Method Details

EqualParams() public method

Checks whether the values of this instance is equal to the values of another instance. Only parameters used for coordinate system are used for comparison. Name, abbreviation, authority, alias and remarks are ignored in the comparison.
public EqualParams ( object obj ) : bool
obj object
return bool

GetParameter() public method

Gets an indexed parameter of the projection.
public GetParameter ( int n ) : ProjectionParameter
n int Index of parameter
return ProjectionParameter

GetParameter() public method

Gets an named parameter of the projection.
The parameter name is case insensitive
public GetParameter ( string name ) : ProjectionParameter
name string Name of parameter
return ProjectionParameter