public class Intersection extends Object
| Constructor and Description |
|---|
Intersection() |
| Modifier and Type | Method and Description |
|---|---|
static Point |
getIntersection(Line2D line,
GeneralPath path)
Returns the intersection point of a line and a GeneralPath.
|
static Point |
getIntersection(Line2D line1,
Line2D line2)
Returns the intersection point of two lines.
|
public static Point getIntersection(Line2D line1, Line2D line2) throws MultipleIntersectionException
line1 - First lineline2 - Second lineMultipleIntersectionException - when the two lines
have more than one intersection point.MultipleIntersectionExceptionpublic static Point getIntersection(Line2D line, GeneralPath path)
line1 - First linepath - GeneralPath representing line segmentsCopyright © 2019 JULIE Lab, Germany. All rights reserved.