C# Class MapAround.CoordinateSystems.CoordinateSystem

Base class for coordinate system classes.

A coordinate system is a mathematical space, where the elements of the space are called positions. Each position is described by a list of numbers. The length of the list corresponds to the dimension of the coordinate system. So in a 2D coordinate system each position is described by a list containing 2 numbers.

However, in a coordinate system, not all lists of numbers correspond to a position - some lists may be outside the domain of the coordinate system. For example, in a 2D Lat/Lon coordinate system, the list (91,91) does not correspond to a position.

Some coordinate systems also have a mapping from the mathematical space into locations in the real world. So in a Lat/Lon coordinate system, the mathematical position (lat, long) corresponds to a location on the surface of the Earth. This mapping from the mathematical space into real-world locations is called a Datum.

Inheritance: SpatialReferenceInfo, ICoordinateSystem
显示文件 Open project: gkrsu/maparound.core

Private Properties

Property Type Description
CoordinateSystem System

Public Methods

Method Description
GetAxis ( int dimension ) : AxisInfo

Returns axis details for dimension within coordinate system.

GetUnits ( int dimension ) : IUnit

Returns the units for the dimension within coordinate system. Each dimension in the coordinate system has corresponding units.

Private Methods

Method Description
CoordinateSystem ( string name, string authority, long authorityCode, string alias, string abbreviation, string remarks ) : System

Initializes a new instance of the MapAround.CoordinateSystems.CoordinateSystem.

Method Details

GetAxis() public method

Returns axis details for dimension within coordinate system.
public GetAxis ( int dimension ) : AxisInfo
dimension int Dimension
return AxisInfo

GetUnits() public abstract method

Returns the units for the dimension within coordinate system. Each dimension in the coordinate system has corresponding units.
public abstract GetUnits ( int dimension ) : IUnit
dimension int
return IUnit