public static class Line2d.IntersectionResult extends Object
Modifier and Type | Field and Description |
---|---|
Point2d |
intersectionPoint
The point at which the lines intersect (if the type is INTERSECTING)
|
Line2d.IntersectionType |
type
The type of intersection
|
Constructor and Description |
---|
Line2d.IntersectionResult(Line2d.IntersectionType type)
Construct the IntersectionResult with the given type
|
Line2d.IntersectionResult(Point2d point)
Construct the IntersectionResult with the given intersection point
|
public Line2d.IntersectionType type
public Point2d intersectionPoint
public Line2d.IntersectionResult(Line2d.IntersectionType type)
type
- the typepublic Line2d.IntersectionResult(Point2d point)
point
- the intersection point