Method GetSubCells
GetSubCells(IShape)
Like GetSubCells() but with the results filtered by a shape. If
that shape is a IPoint then it must call
GetSubCell(IPoint). The returned cells
should have ShapeRel set to their relation with
shapeFilter
. In addition, IsLeaf
must be true when that relation is WITHIN.
Precondition: Never called when Level == maxLevel.
Declaration
public virtual ICollection<Cell> GetSubCells(IShape shapeFilter)
Parameters
Type | Name | Description |
---|---|---|
IShape | shapeFilter | an optional filter for the returned cells. |
Returns
Type | Description |
---|---|
System.Collections.Generic.ICollection<Cell> | A set of cells (no dups), sorted. Not Modifiable. |
GetSubCells()
Gets the cells at the next grid cell level that cover this cell.
Declaration
protected abstract ICollection<Cell> GetSubCells()
Returns
Type | Description |
---|---|
System.Collections.Generic.ICollection<Cell> | A set of cells (no dups), sorted, modifiable, not empty, not null. |
Remarks
Gets the cells at the next grid cell level that cover this cell. Precondition: Never called when Level == maxLevel.