public class MultiPointSpring.Segment extends java.lang.Object implements Clonable
MultiPointSpring.WrapSegment
.
This class is also used as the baseclass for the MultiPointSpring.SubSegment
,
which described the subsegments within a wrappable segment.
Modifier and Type | Method and Description |
---|---|
MultiPointSpring.Segment |
clone()
Creates a clone of this segment.
|
MultiPointSpring.SubSegment |
firstSubSegment()
If this segment has subsegments, return the first subsegment.
|
double |
getLength()
Returns the current length of this segment.
|
Point |
getPntB() |
boolean |
hasSubSegments()
Queries whether this segment has subsegments.
|
MultiPointSpring.SubSegment |
lastSubSegment()
If this segment has subsegments, return the last subsegment.
|
public Point getPntB()
public MultiPointSpring.SubSegment firstSubSegment()
null
.public MultiPointSpring.SubSegment lastSubSegment()
null
.public boolean hasSubSegments()
true
if this segment has subsegments.public double getLength()
public MultiPointSpring.Segment clone()