Skip to content

Commit

Permalink
Add TODO…
Browse files Browse the repository at this point in the history
  • Loading branch information
geowar1 committed Oct 11, 2019
1 parent 94e29d0 commit 1b22f13
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions java/src/jmri/jmrit/display/layoutEditor/TrackSegment.java
Original file line number Diff line number Diff line change
Expand Up @@ -1827,6 +1827,9 @@ void changeType(int choice) {
setArc(false); // bezier
setCircle(false);
if (bezierControlPoints.size() == 0) {
//TODO: use MathUtil.intersect to find intersection of adjacent tracks
//TODO: and place the control points halfway between that and the two endpoints

// set default control point displacements
Point2D ep1 = LayoutEditor.getCoords(getConnect1(), getType1());
Point2D ep2 = LayoutEditor.getCoords(getConnect2(), getType2());
Expand Down

0 comments on commit 1b22f13

Please sign in to comment.