Class CachedPolygonPartitioning
Class that computes partition and caches results for later use.
Inheritance
System.Object
CachedPolygonPartitioning
Implements
Namespace: Edgar.Legacy.GeneralAlgorithms.Algorithms.Polygons
Assembly: Edgar.dll
Syntax
public class CachedPolygonPartitioning : Object, IPolygonPartitioning
Constructors
CachedPolygonPartitioning(IPolygonPartitioning)
Declaration
public CachedPolygonPartitioning(IPolygonPartitioning polygonPartitioning)
Parameters
Type | Name | Description |
---|---|---|
IPolygonPartitioning | polygonPartitioning |
Methods
GetPartitions(PolygonGrid2D)
Declaration
public List<RectangleGrid2D> GetPartitions(PolygonGrid2D polygon)
Parameters
Type | Name | Description |
---|---|---|
PolygonGrid2D | polygon |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<RectangleGrid2D> |