public boolean isInline() {
return type == PointType.INLINE;
}
+
+ public boolean asPathLegEnd() {
+ // Ends and Turns are path leg ends by default, but also unconnected inline are path leg ends.
+ return isPathLegEnd() || getNext() == null || getPrevious() == null;
+ }
/**
* True for end components, if control point defines absolute position direction, which rules cannot modify.
if (MathTools.createRotation(dirOutN, dirOut, dir, aa)) {
setRotationAngle(aa.angle);
setTurnAngle(angle);
+ if (DEBUG) System.out.println("convertToFixed " + dir + " " + dirOut + " " +dirOutN + " " +angle + " "+ aa.angle);
}
}