C# Класс MapAround.CoordinateSystems.Transformations.CoordinateTransformationFactory

Creates coordinate transformations.
Наследование: ICoordinateTransformationFactory
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateFromCoordinateSystems ( ICoordinateSystem sourceCS, ICoordinateSystem targetCS ) : ICoordinateTransformation

Creates a transformation between two coordinate systems.

This method will examine the coordinate systems in order to construct a transformation between them. This method may fail if no path between the coordinate systems is found, using the normal failing behavior of the DCP (e.g. throwing an exception).

Приватные методы

Метод Описание
CreateCoordinateOperation ( IGeocentricCoordinateSystem geo ) : IMathTransform
CreateCoordinateOperation ( IProjection projection, IEllipsoid ellipsoid, ILinearUnit unit ) : IMathTransform
CreateGeoc2Geoc ( IGeocentricCoordinateSystem source, IGeocentricCoordinateSystem target ) : ICoordinateTransformation

Creates geocentric to geocentric transformation.

Adds a datum shift if nessesary

CreateGeog2Geog ( IGeographicCoordinateSystem source, IGeographicCoordinateSystem target ) : ICoordinateTransformation

Creates geographic to geographic transformation.

Adds a datum shift if nessesary

Geoc2Geog ( IGeocentricCoordinateSystem source, IGeographicCoordinateSystem target ) : ICoordinateTransformation
Geog2Geoc ( IGeographicCoordinateSystem source, IGeocentricCoordinateSystem target ) : ICoordinateTransformation
Geog2Proj ( IGeographicCoordinateSystem source, IProjectedCoordinateSystem target ) : ICoordinateTransformation
Proj2Geog ( IProjectedCoordinateSystem source, IGeographicCoordinateSystem target ) : ICoordinateTransformation
Proj2Proj ( IProjectedCoordinateSystem source, IProjectedCoordinateSystem target ) : ICoordinateTransformation

Описание методов

CreateFromCoordinateSystems() публичный Метод

Creates a transformation between two coordinate systems.
This method will examine the coordinate systems in order to construct a transformation between them. This method may fail if no path between the coordinate systems is found, using the normal failing behavior of the DCP (e.g. throwing an exception).
public CreateFromCoordinateSystems ( ICoordinateSystem sourceCS, ICoordinateSystem targetCS ) : ICoordinateTransformation
sourceCS ICoordinateSystem Source coordinate system
targetCS ICoordinateSystem Target coordinate system
Результат ICoordinateTransformation