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 |
---|
IntersectionResult(Line2d.IntersectionType type)
Construct the IntersectionResult with the given type
|
IntersectionResult(Point2d point)
Construct the IntersectionResult with the given intersection point
|
public Line2d.IntersectionType type
public Point2d intersectionPoint
public IntersectionResult(Line2d.IntersectionType type)
type
- the typepublic IntersectionResult(Point2d point)
point
- the intersection point