-
Bug
-
Resolution: Fixed
-
P3
-
1.3.0
-
ladybird
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2030519 | 1.4.0 | Jennifer Ball | P3 | Closed | Fixed | beta |
Name: naC79102 Date: 11/30/99
The documentation for the given methods are same=20
.implementation differences should be explained in the docs.
1)public static double ptSegDistSq(double X1,double Y1,
double X2, double Y2,
double PX, double PY)
2)public static double ptLineDistSq(double X1,double Y1,
double X2,double Y2,
double PX,double PY)
return value(double) of these mothods explained by same
sentences as"
a double value that is the distance from a specified point to a=20
specified line segment" .
ex:
pts : x1,y1: 2,7
x2,y2 :9,7
px,py:12,7
for these points return value will be different for these
two methods. ptLineDist method will return value" 0" and ptSegDist
method will return value "3.0".
======================================================================
- backported by
-
JDK-2030519 java.awt.geom.Line2D Doc bug
-
- Closed
-