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.
Afficher le fichier Open project: gkrsu/maparound.core

Méthodes publiques

Méthode 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

Méthode Description
calculateOverlay ( IGeography geometry1, IGeography geometry2, OverlayType operation, bool p ) : ICollection

Method Details

CalculateOverlay() public méthode

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
Résultat ICollection

Difference() public méthode

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

Intersection() public méthode

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

SymmetricDifference() public méthode

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

Union() public méthode

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