public abstract class LineIntersectsResult
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LineIntersectsResult.Builder
Build a new
LineIntersectsResult instance and define its features by passing in
information through the offered methods. |
| Constructor and Description |
|---|
LineIntersectsResult() |
| Modifier and Type | Method and Description |
|---|---|
static LineIntersectsResult.Builder |
builder()
Builds a new instance of a lineIntersection.
|
abstract java.lang.Double |
horizontalIntersection()
If the lines intersect, use this method to get the intersecting point
X value. |
abstract boolean |
onLine1()
Determine if the intersecting point lands on line 1 or not.
|
abstract boolean |
onLine2()
Determine if the intersecting point lands on line 2 or not.
|
abstract LineIntersectsResult.Builder |
toBuilder()
Convert current instance values into another Builder to quickly change one or more values.
|
abstract java.lang.Double |
verticalIntersection()
If the lines intersect, use this method to get the intersecting point
Y value. |
public static LineIntersectsResult.Builder builder()
LineIntersectsResult.Builder for creating a new instance@Nullable public abstract java.lang.Double horizontalIntersection()
X value.X value where the lines intersect@Nullable public abstract java.lang.Double verticalIntersection()
Y value.Y value where the lines intersectpublic abstract boolean onLine1()
public abstract boolean onLine2()
public abstract LineIntersectsResult.Builder toBuilder()
LineIntersectsResult using the newly defined values