Community
Participate
Working Groups
The computation of the parameter s should be: double s = segmentDirection.isVertical() ? (vector.y - segmentStart.y) / segmentDirection.y : (vector.x - segmentStart.x) / segmentDirection.x; instead of: double s = segmentDirection.isVertical() ? (vector.y - segmentDirection.y) / segmentDirection.y : (vector.x - segmentStart.x) / segmentDirection.x;
Fixed. Changes committed to cvs HEAD as well as R_3_7_maintenance branch.