|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.kolls.railworld.edit.SegmentEditPoint
net.kolls.railworld.segment.Curve.CSEP
public class Curve.CSEP
Edit point for setting up cubic curves
| Field Summary |
|---|
| Fields inherited from class net.kolls.railworld.edit.SegmentEditPoint |
|---|
c, myr, pidx |
| Constructor Summary | |
|---|---|
Curve.CSEP(Curve t,
RailSegment an,
int pt)
Construct a curve segment edit point. |
|
| Method Summary | |
|---|---|
RailSegment |
anchor(RailSegment r)
Attachs a segment to this edit point. |
boolean |
disconnect()
|
boolean |
isAnchorSource()
If this segment is being moved, should it offer to anchor onto other segments? Note that the other segment will be asked to approve with RailSegment.nearEditPoint(Point2D, RailSegment). |
| Methods inherited from class net.kolls.railworld.edit.SegmentEditPoint |
|---|
draw, getColor, getPoint, getSegment, moveTo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Curve.CSEP(Curve t,
RailSegment an,
int pt)
Curve.createSEP(int, RailSegment).
t - Curve segmentan - Railsegment connectingpt - Point index| Method Detail |
|---|
public boolean disconnect()
public boolean isAnchorSource()
SegmentEditPointRailSegment.nearEditPoint(Point2D, RailSegment).
isAnchorSource in class SegmentEditPointtrue if we should snap-to and anchor onto other segments.public RailSegment anchor(RailSegment r)
SegmentEditPoint
anchor in class SegmentEditPointr - The RailSegment to anchor to this point.
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||