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

    Modifier and Type
    Method
    Description
    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.
    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, 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.
    Ray.transform(Transform<Vector2D> transform)
    Return a new hyperplane subset resulting from the application of the given transform.