Uses of Class
org.djutils.draw.point.DirectedPoint2d
Packages that use DirectedPoint2d
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.
The djutils-draw point package provides a set of interfaces and implementations of Points.
-
Uses of DirectedPoint2d in org.djutils.draw.curve
Methods in org.djutils.draw.curve that return DirectedPoint2dModifier and TypeMethodDescriptionClothoid2d.getEndPoint()
default DirectedPoint2d
Curve2d.getEndPoint()
Clothoid2d.getStartPoint()
default DirectedPoint2d
Curve2d.getStartPoint()
Methods in org.djutils.draw.curve with parameters of type DirectedPoint2dModifier and TypeMethodDescriptionstatic Clothoid2d
Clothoid2d.withLength
(DirectedPoint2d startPoint, double length, double startCurvature, double endCurvature) Create clothoid from one point based on curvature and length.Constructors in org.djutils.draw.curve with parameters of type DirectedPoint2dModifierConstructorDescriptionArc2d
(DirectedPoint2d startPoint, double radius, boolean left, double angle) Define arc by starting point, radius, curve direction, and angle.Clothoid2d
(DirectedPoint2d startPoint, double a, double startCurvature, double endCurvature) Create clothoid from one point based on curvature and A-value.Clothoid2d
(DirectedPoint2d startPoint, DirectedPoint2d endPoint) Create clothoid between two directed points.Straight2d
(DirectedPoint2d startPoint, double length) Constructor. -
Uses of DirectedPoint2d in org.djutils.draw.line
Subclasses of DirectedPoint2d in org.djutils.draw.lineModifier and TypeClassDescriptionclass
Ray2d is a half-line in 2d; it has one end point with finite coordinates; the other end point is infinitely far away.Methods in org.djutils.draw.line that return DirectedPoint2dModifier and TypeMethodDescriptionRay2d.getEndPoint()
final DirectedPoint2d
PolyLine2d.getLocation
(double position) LineSegment2d.getLocationExtended
(double position) final DirectedPoint2d
PolyLine2d.getLocationExtended
(double position) Constructors in org.djutils.draw.line with parameters of type DirectedPoint2dModifierConstructorDescriptionPolyLine2d
(DirectedPoint2d directedPoint2d) Construct a degenerate PolyLine2d (consisting of only one point).Ray2d
(DirectedPoint2d directedPoint) Construct a new Ray2d. -
Uses of DirectedPoint2d in org.djutils.draw.point
Methods in org.djutils.draw.point that return DirectedPoint2dModifier and TypeMethodDescriptionDirectedPoint2d.abs()
DirectedPoint2d.interpolate
(DirectedPoint2d otherPoint, double fraction) Interpolate towards another DirectedPoint2d with a fraction.DirectedPoint2d.neg()
DirectedPoint2d.normalize()
DirectedPoint2d.rotate
(double rotateZ) Return a new DirectedPoint2d with an in-place rotation around the z-axis by the provided rotateZ.DirectedPoint2d.scale
(double factor) DirectedPoint2d.translate
(double dX, double dY) Methods in org.djutils.draw.point with parameters of type DirectedPoint2dModifier and TypeMethodDescriptionboolean
DirectedPoint2d.epsilonEquals
(DirectedPoint2d other, double epsilonCoordinate, double epsilonRotation) DirectedPoint2d.interpolate
(DirectedPoint2d otherPoint, double fraction) Interpolate towards another DirectedPoint2d with a fraction.