Package | com.yworks.yfiles.layout.router.polyline |
Class | public class CellSegmentInfo |
Inheritance | CellSegmentInfo AbstractSegmentInfo YObject Object |
See also
Property | Defined By | ||
---|---|---|---|
cell : PartitionCell [read-only]
Returns the partition cell this part of the edge segment lies in. | CellSegmentInfo | ||
direction : Direction [override] [read-only]
Returns the direction this segment part points to. | CellSegmentInfo | ||
edge : Edge [read-only]
Returns the edge this segment info belongs to. | AbstractSegmentInfo | ||
fixed : Boolean [read-only]
Determines whether or not this segment info is fixed, that means a fixed location has been determined inside its location range (locationRange). | AbstractSegmentInfo | ||
location : Number
Getter:
Returns the fixed location inside the location range (locationRange) that has been set before. | AbstractSegmentInfo | ||
locationRange : Interval [read-only]
Returns the range, the location of the segment shall be placed in. | AbstractSegmentInfo | ||
maxExtension : Interval [read-only]
Returns the maximum extension this segment will stretch. | AbstractSegmentInfo | ||
minExtension : Interval [read-only]
The minimal known extension of the segment, that is the minimal interval this segment will cover in any case. | AbstractSegmentInfo | ||
preferredAlignment : int
Specifies whether this segment prefers to be placed close to the lower bound (ALIGNMENT_MIN), upper bound (ALIGNMENT_MAX) or somewhere (ALIGNMENT_ANY) of its location range. | AbstractSegmentInfo | ||
segmentGroup : SegmentGroup
Getter:
Returns the segment group this segment info belongs to or null if this segment info doesn't belong to any group. | AbstractSegmentInfo | ||
segmentIndex : int [read-only]
Returns the index of this info's segment. | AbstractSegmentInfo | ||
vertical : Boolean [read-only]
Determines whether or not the associated segment is vertical. | AbstractSegmentInfo |
Method | Defined By | ||
---|---|---|---|
CellSegmentInfo(edge:Edge, segmentIndex:int, direction:Direction, locationRange:Interval, minExtension:Interval, maxExtension:Interval, cell:PartitionCell, init:Boolean = true)
Creates a new instance. | CellSegmentInfo | ||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | CellSegmentInfo | ||
hashCode():int | YObject | ||
newCellSegmentInfo(edge:Edge, segmentIndex:int, direction:Direction, locationRange:Interval, minExtension:Interval, maxExtension:Interval, cell:PartitionCell):CellSegmentInfo [static]
Creates a new instance. | CellSegmentInfo | ||
toString():String | AbstractSegmentInfo |
Method | Defined By | ||
---|---|---|---|
AbstractSegmentInfo | |||
initAbstractSegmentInfo2(edge:Edge, segmentIndex:int, direction:Direction, locationRange:Interval, minExtension:Interval, maxExtension:Interval):void | AbstractSegmentInfo | ||
initCellSegmentInfo(edge:Edge, segmentIndex:int, direction:Direction, locationRange:Interval, minExtension:Interval, maxExtension:Interval, cell:PartitionCell):void
Initializes this object. | CellSegmentInfo |
cell | property |
cell:PartitionCell
[read-only] Returns the partition cell this part of the edge segment lies in.
public function get cell():PartitionCell
direction | property |
direction:Direction
[read-only] [override] Returns the direction this segment part points to.
public function get direction():Direction
CellSegmentInfo | () | Constructor |
public function CellSegmentInfo(edge:Edge, segmentIndex:int, direction:Direction, locationRange:Interval, minExtension:Interval, maxExtension:Interval, cell:PartitionCell, init:Boolean = true)
Creates a new instance.
Parametersedge:Edge — The edge the segment of this info belongs to.
| |
segmentIndex:int — The index of the segment this info belongs to.
| |
direction:Direction — The direction the segment points to.
| |
locationRange:Interval — The range the common location of this segment has to be inside.
| |
minExtension:Interval — The minimal interval in extension direction this segment part is known to intersect.
| |
maxExtension:Interval — The maximum interval in extension direction this segment part will span.
| |
cell:PartitionCell — The partition cell this part of the edge segment lies inside.
| |
init:Boolean (default = true ) — An internally used switch to help handle proper instance initialization in inheritance chains where classes can have multiple constructor-like factory methods.
This parameter can safely be ignored/omitted when calling the constructor.
|
getClass | () | method |
override public function getClass():Class
ReturnsClass |
initCellSegmentInfo | () | method |
protected final function initCellSegmentInfo(edge:Edge, segmentIndex:int, direction:Direction, locationRange:Interval, minExtension:Interval, maxExtension:Interval, cell:PartitionCell):void
Initializes this object. See the documentation of the corresponding factory method newCellSegmentInfo()
for details.
Parameters
edge:Edge | |
segmentIndex:int | |
direction:Direction | |
locationRange:Interval | |
minExtension:Interval | |
maxExtension:Interval | |
cell:PartitionCell |
See also
newCellSegmentInfo | () | method |
public static function newCellSegmentInfo(edge:Edge, segmentIndex:int, direction:Direction, locationRange:Interval, minExtension:Interval, maxExtension:Interval, cell:PartitionCell):CellSegmentInfo
Creates a new instance.
Parameters
edge:Edge — The edge the segment of this info belongs to.
| |
segmentIndex:int — The index of the segment this info belongs to.
| |
direction:Direction — The direction the segment points to.
| |
locationRange:Interval — The range the common location of this segment has to be inside.
| |
minExtension:Interval — The minimal interval in extension direction this segment part is known to intersect.
| |
maxExtension:Interval — The maximum interval in extension direction this segment part will span.
| |
cell:PartitionCell — The partition cell this part of the edge segment lies inside.
|
CellSegmentInfo |