public class CellSegmentInfo extends AbstractSegmentInfo
partition cell
.Constructor and Description |
---|
CellSegmentInfo(Edge edge,
int segmentIndex,
Direction direction,
Interval locationRange,
Interval minExtension,
Interval maxExtension,
PartitionCell cell)
Creates a new
CellSegmentInfo instance. |
Modifier and Type | Method and Description |
---|---|
PartitionCell |
getCell()
Gets the
partition cell within which this part of the edge segment lies. |
Direction |
getDirection()
Gets the direction to which the segment of this info points.
|
getEdge, getLocation, getLocationRange, getMaxExtension, getMinExtension, getPreferredAlignment, getSegmentGroup, getSegmentIndex, isFixed, isVertical, setLocation, setPreferredAlignment, setSegmentGroup, toString
public CellSegmentInfo(Edge edge, int segmentIndex, Direction direction, Interval locationRange, Interval minExtension, Interval maxExtension, PartitionCell cell)
CellSegmentInfo
instance.edge
- the edge to which the segment of this info belongssegmentIndex
- the index of the segment to which this info belongsdirection
- the direction to which the segment of this info pointslocationRange
- the range within which the common location of this segment has to lieminExtension
- the minimum interval in extension direction this segment part is known to intersectmaxExtension
- the maximum interval in extension direction this segment part will spancell
- the partition cell within which this part of the edge segment liespublic PartitionCell getCell()
partition cell
within which this part of the edge segment lies.partition cell
within which this part of the edge segment liespublic Direction getDirection()
getDirection
in class AbstractSegmentInfo