y.layout.router.polyline
Class CellSegmentInfo
java.lang.Object
   y.layout.router.polyline.AbstractSegmentInfo
y.layout.router.polyline.AbstractSegmentInfo
       y.layout.router.polyline.CellSegmentInfo
y.layout.router.polyline.CellSegmentInfo
- public class CellSegmentInfo 
- extends AbstractSegmentInfo
This class stores information about the part of an item segment that lies inside a specified
 partition cell.
-  
 
 
 
 
| Methods inherited from class y.layout.router.polyline.AbstractSegmentInfo | 
| getLocation, getLocationRange, getMaxExtension, getMinExtension, getPreferredAlignment, getSegmentGroup, getSegmentIndex, isFixed, isVertical, setLocation, setPreferredAlignment, setSegmentGroup, toString | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
CellSegmentInfo
public CellSegmentInfo(java.lang.Object item,
                       int segmentIndex,
                       Direction direction,
                       Interval locationRange,
                       Interval minExtension,
                       Interval maxExtension,
                       PartitionCell cell)
- Creates a new CellSegmentInfoinstance.
 
- Parameters:
- item- the item to which the segment of this info belongs
- segmentIndex- the index of the segment to which this info belongs
- direction- the direction to which the segment of this info points
- locationRange- the range within which the common location of this segment has to lie
- minExtension- the minimum interval in extension direction this segment part is known to intersect
- maxExtension- the maximum interval in extension direction this segment part will span
- cell- the partition cell within which this part of the edge segment lies
 
getDirection
public Direction getDirection()
- Returns the direction to which the segment of this info points.
 
- 
- Overrides:
- getDirectionin class- AbstractSegmentInfo
 
- 
- Returns:
- the direction to which the segment of this info points
 
getCell
public PartitionCell getCell()
- Returns the partition cellwithin which this part of the edge segment lies.
 
- 
- Returns:
- the partition cellwithin which this part of the edge segment lies