Uses of Class
org.djutils.draw.line.Ray2d
Packages that use Ray2d
Package
Description
Continuous lines are (mathematically) defined curves that:
have no gaps
have a start point
have an end point
have a defined direction at the start point
have a defined direction at the end point
may have knots along the way.
have no gaps
have a start point
have an end point
have a defined direction at the start point
have a defined direction at the end point
may have knots along the way.
The line package provides an interface and different implementations for lines.
-
Uses of Ray2d in org.djutils.draw.curve
Constructors in org.djutils.draw.curve with parameters of type Ray2dModifierConstructorDescriptionBezierCubic2d(Ray2d start, Ray2d end) Construct a BezierCubic2d fromstarttoendwith two generated control points.BezierCubic2d(Ray2d start, Ray2d end, double shape) Construct a BezierCubic2d fromstarttoendwith two generated control points.BezierCubic2d(Ray2d start, Ray2d end, double shape, boolean weighted) Construct a BezierCubic2d from start to end with two generated control points. -
Uses of Ray2d in org.djutils.draw.line
Methods in org.djutils.draw.line that return Ray2dModifier and TypeMethodDescriptionRay2d.flip()Ray2d.getLocationExtended(double position) Ray2d.neg()Methods in org.djutils.draw.line with parameters of type Ray2dModifier and TypeMethodDescriptiondoublePolyLine2d.projectRay(Ray2d ray) Find a location on this PolyLine2d that is a reasonable projection of a Ray on this line.