This class describes the location and the direction from which a given partition cell has been entered during a path search.
Remarks
Default Values of Properties
costs | 0 | |
heuristicCosts | 0 |
Type Details
- yfiles module
- router-polyline
- yfiles-umd modules
- layout-area, layout-multipage, layout-orthogonal-compact, layout, router-bus, router-polyline
- Legacy UMD name
- yfiles.router.CellEntrance
Constructors
Creates a new CellEntrance instance for a given PartitionCell.
Parameters
A map of options to pass to the method.
- cell - PartitionCell
- the PartitionCell that is entered
Creates a new CellEntrance instance that is a copy of a given other CellEntrance.
Parameters
A map of options to pass to the method.
- other - CellEntrance
- the CellEntrance to be copied
Properties
Gets the partition cell of this CellEntrance instance.
Gets or sets the costs for the implicit path given by the previous entrances.
Remarks
Default Value
0
.Throws
- Exception({ name: 'ArgumentError' })
- if the costs are negative
Gets or sets the OrthogonalInterval that was used for entering this cell.
Gets or sets the heuristic costs for the implicit path given by the previous entrances.
Remarks
Default Value
0
.Throws
- Exception({ name: 'ArgumentError' })
- if the heuristic costs are negative
Gets or sets the EdgeCellInfo describing how the previous partition cell was traversed.
Gets or sets the previous CellEntrance along the path that was traversed in order to reach the cell.
Methods
Returns a string representation of this CellEntrance.
Returns
- ↪string
- a string representation of this CellEntrance