Uses of Class
org.apache.commons.geometry.euclidean.twod.Ray
Packages that use Ray
Package
Description
This package provides basic 2D geometry components.
-
Uses of Ray in org.apache.commons.geometry.euclidean.twod
Methods in org.apache.commons.geometry.euclidean.twod that return RayModifier and TypeMethodDescriptionLine.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.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 online
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 ofline
.static Ray
Lines.rayFromPointAndDirection
(Vector2D startPoint, Vector2D direction, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Construct a ray from a start point and a direction.ReverseRay.reverse()
Reverse the orientation of the hyperplane for this instance, returning the result as a new instance.Return a new hyperplane subset resulting from the application of the given transform.