C# Class MapAround.Geography.GeoBufferBuilder

Calculates buffers on the Earth's surface.
Exibir arquivo Open project: gkrsu/maparound.core

Public Methods

Method Description
GetBuffer ( IGeography geography, double angleDistance, int pointsPerCircle, bool allowParallels ) : IGeography

Builds a buffer for the specified geography.

Private Methods

Method Description
getArcPoints ( ICoordinate point, double startAngle, double endAngle, double distance, int pointsPerCircle ) : ICoordinate[]
getBoundsBuffer ( GeoPolygon polygon, GnomonicProjection projection, double distance, int pointsPerCircle, bool allowParallels ) : Polygon
getPointBuffer ( GeoPoint point, double angleDistance, int pointsPerCircle ) : GeoPolygon
getPolygonBuffer ( GeoPolygon geoPolygon, double angleDistance, int pointsPerCircle, bool allowParallels ) : GeoPolygon
getPolylineBuffer ( GeoPolyline geoPolyline, double angleDistance, int pointsPerCircle, bool allowParallels ) : GeoPolygon
mergePartialBuffers ( List buffers ) : Polygon
mergePartialBuffers ( List buffers, bool allowParallels ) : Polygon
mergePartialBuffers ( object buffers ) : void
projectGeography ( IGeography geography, GnomonicProjection &projection, IGeometry &geometry ) : void

Method Details

GetBuffer() public static method

Builds a buffer for the specified geography.
public static GetBuffer ( IGeography geography, double angleDistance, int pointsPerCircle, bool allowParallels ) : IGeography
geography IGeography A geography to build a buffer
angleDistance double An angle distance of buffer (in radians)
pointsPerCircle int The number of points in a polygon approximating a circle of a point object buffer
allowParallels bool The value indicating whether the parallel computing will be used when possible
return IGeography