C# Класс MapAround.Geography.GeometrySpreader

An object that performs the conversion between objects and elliptical plane geometry by gnomonic projection.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetGeographies ( IEnumerable geometries, GnomonicProjection projection ) : GeographyCollection

Converts a collection of geometric shapes on the surface of the ellipsoid to the collection of geometric figures in the plane in line with the given projection.

GetGeometries ( GeographyCollection collection, GnomonicProjection projection ) : GeometryCollection

Converts a collection of geometric shapes on the surface of the ellipsoid to the collection of geometric figures in the plane according to the given gnomonic projection.

GetProjection ( GeographyCollection collection ) : GnomonicProjection

Calculates gnomonic projection for geometric shapes on the surface of the ellipsoid.

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

Метод Описание
projectMultiPoint ( GeoMultiPoint multiPoint, GnomonicProjection projection ) : MultiPoint
projectPoint ( GeoPoint point, GnomonicProjection projection ) : PointD
projectPolygon ( GeoPolygon polygon, GnomonicProjection projection ) : Polygon
projectPolyline ( GeoPolyline polyline, GnomonicProjection projection ) : Polyline
unprojectMultiPoint ( MultiPoint multiPoint, GnomonicProjection projection ) : GeoMultiPoint
unprojectPoint ( PointD point, GnomonicProjection projection ) : GeoPoint
unprojectPolygon ( Polygon polygon, GnomonicProjection projection ) : GeoPolygon
unprojectPolyline ( Polyline polyline, GnomonicProjection projection ) : GeoPolyline

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

GetGeographies() публичный статический Метод

Converts a collection of geometric shapes on the surface of the ellipsoid to the collection of geometric figures in the plane in line with the given projection.
public static GetGeographies ( IEnumerable geometries, GnomonicProjection projection ) : GeographyCollection
geometries IEnumerable Enumerator geometric shapes on the surface of the ellipsoid
projection GnomonicProjection Projection
Результат GeographyCollection

GetGeometries() публичный статический Метод

Converts a collection of geometric shapes on the surface of the ellipsoid to the collection of geometric figures in the plane according to the given gnomonic projection.
public static GetGeometries ( GeographyCollection collection, GnomonicProjection projection ) : GeometryCollection
collection GeographyCollection Collection of geometric shapes on the surface of the ellipsoid
projection GnomonicProjection Projection
Результат GeometryCollection

GetProjection() публичный статический Метод

Calculates gnomonic projection for geometric shapes on the surface of the ellipsoid.
public static GetProjection ( GeographyCollection collection ) : GnomonicProjection
collection GeographyCollection Collection of geometric shapes on the surface of the ellipsoid
Результат GnomonicProjection