Package | Description |
---|---|
org.apache.commons.geometry.euclidean.twod |
This package provides basic 2D geometry components.
|
org.apache.commons.geometry.euclidean.twod.shape |
This package provides utilities for constructing basic 2D shapes.
|
Modifier and Type | Field and Description |
---|---|
static Comparator<LinecastPoint2D> |
LinecastPoint2D.ABSCISSA_ORDER
Comparator that sorts intersection instances by increasing abscissa order.
|
Modifier and Type | Method and Description |
---|---|
default LinecastPoint2D |
Linecastable2D.linecastFirst(Line line)
Intersect the given line against the boundaries in this instance, returning
the first intersection found when traveling in the direction of the line from
infinity.
|
default LinecastPoint2D |
BoundarySource2D.linecastFirst(LineConvexSubset subset)
Intersect the given line subset against the boundaries in this instance, returning
the first intersection found when traveling in the direction of the line subset
from its start location.
|
LinecastPoint2D |
Linecastable2D.linecastFirst(LineConvexSubset subset)
Intersect the given line subset against the boundaries in this instance, returning
the first intersection found when traveling in the direction of the line subset
from its start location.
|
LinecastPoint2D |
RegionBSPTree2D.linecastFirst(LineConvexSubset subset)
Intersect the given line subset against the boundaries in this instance, returning
the first intersection found when traveling in the direction of the line subset
from its start location.
|
Modifier and Type | Method and Description |
---|---|
default List<LinecastPoint2D> |
Linecastable2D.linecast(Line line)
Intersect the given line against the boundaries in this instance, returning a
list of all intersections in order of increasing position along the line.
|
default List<LinecastPoint2D> |
BoundarySource2D.linecast(LineConvexSubset subset)
Intersect the given line subset against the boundaries in this instance, returning
a list of all intersections in order of increasing position along the line.
|
List<LinecastPoint2D> |
Linecastable2D.linecast(LineConvexSubset subset)
Intersect the given line subset against the boundaries in this instance, returning
a list of all intersections in order of increasing position along the line.
|
List<LinecastPoint2D> |
RegionBSPTree2D.linecast(LineConvexSubset subset)
Intersect the given line subset against the boundaries in this instance, returning
a list of all intersections in order of increasing position along the line.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LinecastPoint2D.eq(LinecastPoint2D other,
Precision.DoubleEquivalence precision)
Return true if this instance should be considered equivalent to the argument, using the
given precision context for comparison.
|
Modifier and Type | Method and Description |
---|---|
static void |
LinecastPoint2D.sortAndFilter(List<LinecastPoint2D> pts)
Sort the given list of linecast points by increasing abscissa value and filter to remove
duplicate entries (as determined by the
eq(LinecastPoint2D, Precision.DoubleEquivalence) method). |
Modifier and Type | Method and Description |
---|---|
LinecastPoint2D |
Circle.linecastFirst(LineConvexSubset segment)
Intersect the given line subset against the boundaries in this instance, returning
the first intersection found when traveling in the direction of the line subset
from its start location.
|
Modifier and Type | Method and Description |
---|---|
List<LinecastPoint2D> |
Circle.linecast(LineConvexSubset segment)
Intersect the given line subset against the boundaries in this instance, returning
a list of all intersections in order of increasing position along the line.
|
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.