|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfdubath.entrelacs.SegmentBuilder
public class SegmentBuilder
This class is used to compute intersection between the rope and prepare the lists of segment used to draw the ropes on the background geometry.
Field Summary | |
---|---|
java.util.ArrayList<Segment> |
intersectionList
This segemnt list contains the patch filling the intersection between ropes. |
java.util.ArrayList<Segment> |
mirrorIntersectionList
When the geometry has some miror border this segment liste contains the other flavore of the intersections between ropes. |
java.util.List |
ropeList
The Rope list is an input parameter for the SegementBuider |
java.util.ArrayList<Segment> |
segmentList
This segment list contains all the rope piece but the intersections. |
Constructor Summary | |
---|---|
SegmentBuilder()
|
Method Summary | |
---|---|
void |
generateSegmentList(BackgroundGeometry geometry)
Compute the intersecion and generate the Segment lists |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.util.List ropeList
public java.util.ArrayList<Segment> segmentList
public java.util.ArrayList<Segment> intersectionList
public java.util.ArrayList<Segment> mirrorIntersectionList
Constructor Detail |
---|
public SegmentBuilder()
Method Detail |
---|
public void generateSegmentList(BackgroundGeometry geometry)
geometry
- used to determin if the mirror intersections has to be computed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |