public class MultiPointSpring.SubSegment extends MultiPointSpring.Segment
Modifier and Type | Field and Description |
---|---|
Wrappable |
myWrappableA |
Wrappable |
myWrappableB |
myPntA, myPntB
Modifier and Type | Method and Description |
---|---|
MultiPointSpring.SubSegment |
clone()
Clones this subsegment.
|
int |
getKa()
Returns the index of the first knot contacting the wrappable that
terminates this subsegment, or
numk if the subsegment
terminates at the wrappable segment's end point, where numk is
the number of knots in the wrappable segment. |
int |
getKb()
Returns the index of the last knot contacting the wrappable the begins
this subsegment, or -1 if the subsegment begins at the wrappable
segment's start point.
|
MultiPointSpring.SubSegment |
getNext()
Returns the next subsegment, or null if there is none.
|
firstSubSegment, getLength, getPntB, hasSubSegments, lastSubSegment
public MultiPointSpring.SubSegment getNext()
public MultiPointSpring.SubSegment clone()
clone
in interface Clonable
clone
in class MultiPointSpring.Segment
public int getKa()
numk
if the subsegment
terminates at the wrappable segment's end point, where numk
is
the number of knots in the wrappable segment.public int getKb()