|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISegment
A line Segment P-Q. Each IPathway is made up of a sequence of segments like this.
| Method Summary | |
|---|---|
int |
index()
The index of this segment in the sequence on the pathway. |
double |
length()
The length of the segment, the distance PQ |
ISegment |
next()
A reference to the next segmetn in the sequence on a pathway. |
IXyz |
p()
The start point |
IXyz |
pqn()
The unit-length vector defining the direction PQ |
IXyz |
q()
The end point |
void |
recalc()
Force this segment to be recalculated after moving P or Q |
| Method Detail |
|---|
void recalc()
int index()
double length()
IXyz p()
IXyz q()
IXyz pqn()
ISegment next()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||