Class PolygonOverlap
Computes polygon overlap by caching polygon partitions of polygons.
See FastPolygonOverlap for a faster implementation.
Inheritance
System.Object
PolygonOverlap
Assembly: Edgar.dll
Syntax
public class PolygonOverlap : PolygonOverlapBase<PolygonGrid2D>, IPolygonOverlap<PolygonGrid2D>
Constructors
PolygonOverlap()
Declaration
Methods
GetBoundingRectangle(PolygonGrid2D)
Declaration
protected override RectangleGrid2D GetBoundingRectangle(PolygonGrid2D polygon)
Parameters
Returns
Overrides
Edgar.Legacy.GeneralAlgorithms.Algorithms.Polygons.PolygonOverlapBase<Edgar.Geometry.PolygonGrid2D>.GetBoundingRectangle(Edgar.Geometry.PolygonGrid2D)
GetDecomposition(PolygonGrid2D)
Declaration
protected override List<RectangleGrid2D> GetDecomposition(PolygonGrid2D polygon)
Parameters
Returns
Overrides
Edgar.Legacy.GeneralAlgorithms.Algorithms.Polygons.PolygonOverlapBase<Edgar.Geometry.PolygonGrid2D>.GetDecomposition(Edgar.Geometry.PolygonGrid2D)
Implements