C

PartitionCell

A PartitionCell represents a rectangular part of an IRouterPartition as result of the decomposition process for the path search algorithm of EdgeRouter.
Inheritance Hierarchy

Members

No filters for this type

Constructors

Creates a new PartitionCell of the given IRouterPartition with the location and the size of the given rectangle.

Parameters

bounds: Rect
The bounds describing the size and location of the partition cell
partition: IRouterPartition
The partition to which the partition cell belongs

See Also

API
IRouterPartition

Properties

Gets the bounds of this PartitionCell.
readonlyfinal

Property Value

the bounds of this partition cell
Gets the height of this PartitionCell.
readonlyfinal

Property Value

the height of this partition cell
Gets a unique identifier of this PartitionCell.
readonlyfinal

Property Value

An unique identifier of this partition cell
Gets the x-coordinate of the right border of this PartitionCell.
readonlyfinal

Property Value

the x-coordinate of the right border of this partition cell
Gets the y-coordinate of the bottom border of this PartitionCell.
readonlyfinal

Property Value

the y-coordinate of the bottom border of this partition cell
Gets the x-coordinate of the left border of this PartitionCell.
readonlyfinal

Property Value

the x-coordinate of the left border of this partition cell
Gets the y-coordinate of the upper border of this PartitionCell.
readonlyfinal

Property Value

the y-coordinate of the upper border of this partition cell
Gets the partition to which this PartitionCell belongs.
readonlyfinal

Property Value

the partition to which this partition cell belongs

See Also

API
IRouterPartition
Gets the width of this PartitionCell.
readonlyfinal

Property Value

the width of this partition cell

Methods

Returns the list of nodes whose bounds cover or intersect this cell.
final

Return Value

IList<LayoutNode>
the nodes whose bounds cover or intersect this cell
Returns the LayoutGridCellDescriptor of the LayoutGrid covering this cell.
final

Return Value

LayoutGridCellDescriptor
the LayoutGridCellDescriptor of the LayoutGrid covering this cell
Returns the list of nodes in node-to-edge distance of this cell.
final

Return Value

IList<LayoutNode>
the nodes in node-to-edge distance of this cell