Class Intersection2D
-
- All Implemented Interfaces:
public class Intersection2D<V extends Object>
Describes the result an intersection operation in an euclidean 2D space. Type V must extend Vector2D. The requirement is not explicitly enforced to allow the class to work covariantly.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
Intersection2D.None
Objects do not intersect.
public final class
Intersection2D.SinglePoint
Objects intersect in a single point.
public final class
Intersection2D.MultiplePoints
Objects intersect in a discrete number of points.
public class
Intersection2D.InfinitePoints
Objects intersect in infinite points (e.g. overlapping segments).
public class
Intersection2D.Companion
Factory methods for Intersection2D.
-
Field Summary
Fields Modifier and Type Field Description private final List<V>
asList
public final static Intersection2D.Companion
Companion
-