Package | Description |
---|---|
org.apache.commons.geometry.euclidean.twod |
This package provides basic 2D geometry components.
|
Modifier and Type | Method and Description |
---|---|
Ray |
Line.rayFrom(double startLocation)
Create a new ray instance that starts at the given 1D location and continues in
the direction of the line to infinity.
|
Ray |
Line.rayFrom(Vector2D startPoint)
Create a new ray instance that starts at the projection of the given point
and continues in the direction of the line to infinity.
|
static Ray |
Lines.rayFromLocation(Line line,
double startLocation)
Construct a ray starting at the given 1D location on
line and continuing in the
direction of the line to infinity. |
static Ray |
Lines.rayFromPoint(Line line,
Vector2D startPoint)
Construct a ray starting at the given point and continuing to infinity in the direction
of
line . |
static Ray |
Lines.rayFromPointAndDirection(Vector2D startPoint,
Vector2D direction,
Precision.DoubleEquivalence precision)
Construct a ray from a start point and a direction.
|
Ray |
ReverseRay.reverse() |
Ray |
Ray.transform(Transform<Vector2D> transform) |
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.