C# Class MapAround.Geography.EllipticOverlayCalculator

Calculates the overlays of geographies. Instances of this class are used to calculate the results of Boolean operations (union, intersection, difference, symmetric difference) over the point sets. Point sets can be defined as a geopolygons, geopolylines or geopoints.
显示文件 Open project: gkrsu/maparound.core

Public Methods

Method Description
CalculateOverlay ( IGeography geography1, IGeography geography2, OverlayType operation ) : ICollection

Calculates an overlay of two geographies.

Difference ( IGeography geography1, IGeography geography2 ) : ICollection

Calculates a difference of two geographies.

Intersection ( IGeography geography1, IGeography geography2 ) : ICollection

Calculates an intersection of two geographies.

SymmetricDifference ( IGeography geography1, IGeography geography2 ) : ICollection

Calculates a symmetric difference of two geographies.

Union ( IGeography geography1, IGeography geography2 ) : ICollection

Calculates a union of two geographies.

Private Methods

Method Description
calculateOverlay ( IGeography geometry1, IGeography geometry2, OverlayType operation, bool p ) : ICollection

Method Details

CalculateOverlay() public method

Calculates an overlay of two geographies.
public CalculateOverlay ( IGeography geography1, IGeography geography2, OverlayType operation ) : ICollection
geography1 IGeography First geography
geography2 IGeography Second geography
operation OverlayType Overlay type
return ICollection

Difference() public method

Calculates a difference of two geographies.
public Difference ( IGeography geography1, IGeography geography2 ) : ICollection
geography1 IGeography First geography
geography2 IGeography Second geography
return ICollection

Intersection() public method

Calculates an intersection of two geographies.
public Intersection ( IGeography geography1, IGeography geography2 ) : ICollection
geography1 IGeography First geography
geography2 IGeography Second geography
return ICollection

SymmetricDifference() public method

Calculates a symmetric difference of two geographies.
public SymmetricDifference ( IGeography geography1, IGeography geography2 ) : ICollection
geography1 IGeography First geography
geography2 IGeography Second geography
return ICollection

Union() public method

Calculates a union of two geographies.
public Union ( IGeography geography1, IGeography geography2 ) : ICollection
geography1 IGeography First geography
geography2 IGeography Second geography
return ICollection