public interface EuclideanLine2D
| Modifier and Type | Method and Description | 
|---|---|
double | 
getA()
Return coeficient A of general equation (Ax + By + C=0). 
 | 
double | 
getAngle()
Returns the angle in radians between this line and x-axis 
 | 
double | 
getAngle(EuclideanLine2D line)
Returns the minor angle in radians between this line and the line parameter 
 | 
double | 
getAngle(EuclideanLine2D line,
        java.awt.geom.Point2D quadrant)
Returns the angle in radians between this line and the line parameter in the quadrant containing the point parameter 
 | 
double | 
getB()
Return coeficient B of general equation (Ax + By + C=0). 
 | 
EuclideanLine2D[] | 
getBisectors(EuclideanLine2D line)
Returns the bisectors between this line and the line passed as parameter 
 | 
double | 
getC()
Return coeficient C of general equation (Ax + By + C=0). 
 | 
double | 
getDegreesAngle()
Returns the angle in degrees between this line and x-axis 
 | 
double | 
getDegreesAngle(EuclideanLine2D line)
Returns the minor angle in degrees between this line and the line parameter 
 | 
double | 
getDegreesAngle(EuclideanLine2D line,
               java.awt.geom.Point2D quadrant)
Returns the angle in degrees between this line and the line parameter in the quadrant containing the point parameter 
 | 
double | 
getDistance(double pointX,
           double pointY)
Returns the distance between this line and the point whose coordinates are the parameters 
 | 
double | 
getDistance(EuclideanLine2D line)
Return the distance between this line and the parameter line 
 | 
double | 
getDistance(java.awt.geom.Point2D point)
Returns the distance between this line and the point 
 | 
java.awt.geom.Point2D | 
getIntersection(EuclideanLine2D line)
Returns the intersection between this line and the line passed as parameter 
 | 
java.awt.geom.Point2D | 
getNearestPoint(double pointX,
               double pointY)
Returns the nearest point of this line to the point whose coordinates are pointx, pointy 
 | 
java.awt.geom.Point2D | 
getNearestPoint(java.awt.geom.Point2D point)
Returns the nearest point of this line to the point 
 | 
EuclideanLine2D | 
getParallel(double pointX,
           double pointY)
Returns a parallel line that passes through the point whose coordinates are pointx, pointy 
 | 
EuclideanLine2D | 
getParallel(java.awt.geom.Point2D point)
Returns a parallel line that passes through a point 
 | 
EuclideanLine2D | 
getPerpendicular(double pointX,
                double pointY)
Returns a perpendicular line that passes through the point whose coordinates are pointx, pointy 
 | 
EuclideanLine2D | 
getPerpendicular(java.awt.geom.Point2D point)
Returns a perpendicular line that passes through a point 
 | 
double | 
getSlope()
Return de slope (m in explicit equation of the line y=m+x+b) 
 | 
java.awt.geom.Point2D | 
getSymmetricalPoint(java.awt.geom.Point2D point)
Returns the point symmetrical to the given point with respect to the line 
 | 
double | 
getX(double y)
Returns the x coordinate of a point on the line whose y coordinate is the value of the parameter 
 | 
double | 
getY(double x)
Returns the y coordinate of a point on the line whose x coordinate is the value of the parameter 
 | 
double | 
getYIntercept()
Return de Y-intercept (b in explicit equation of the line y=m+x+b) 
 | 
boolean | 
isParallel(EuclideanLine2D line)
Returns true if this line and the line passed as parameter are parallel 
 | 
boolean | 
isPerpendicularl(EuclideanLine2D line)
Returns true if this line and the line passed as parameter are perpendicular 
 | 
double getA()
double getB()
double getC()
double getSlope()
double getYIntercept()
double getY(double x)
x - double getX(double y)
y - double getAngle()
double getDegreesAngle()
double getAngle(EuclideanLine2D line)
line - double getAngle(EuclideanLine2D line, java.awt.geom.Point2D quadrant)
line - quadrant - double getDegreesAngle(EuclideanLine2D line)
line - double getDegreesAngle(EuclideanLine2D line, java.awt.geom.Point2D quadrant)
line - quadrant - double getDistance(double pointX,
                   double pointY)
pointX - pointY - double getDistance(java.awt.geom.Point2D point)
point - double getDistance(EuclideanLine2D line)
line - boolean isParallel(EuclideanLine2D line)
line - boolean isPerpendicularl(EuclideanLine2D line)
line - java.awt.geom.Point2D getIntersection(EuclideanLine2D line)
line - EuclideanLine2D getPerpendicular(double pointX, double pointY)
pointX - pointY - EuclideanLine2D getPerpendicular(java.awt.geom.Point2D point)
point - EuclideanLine2D getParallel(double pointX, double pointY)
pointX - pointY - EuclideanLine2D getParallel(java.awt.geom.Point2D point)
point - java.awt.geom.Point2D getNearestPoint(double pointX,
                                      double pointY)
pointX - pointY - java.awt.geom.Point2D getNearestPoint(java.awt.geom.Point2D point)
point - EuclideanLine2D[] getBisectors(EuclideanLine2D line)
line - java.awt.geom.Point2D getSymmetricalPoint(java.awt.geom.Point2D point)
point -