Uses of Class
org.djutils.draw.point.DirectedPoint2d
Package
Description
The d1 package provides an interface and different implementations for lines.
The d0 package provides a set of interfaces and implementations of Points.
-
Uses of DirectedPoint2d in org.djutils.draw.line
Modifier and TypeClassDescriptionclass
Ray2d is a half-line; it has one end point with finite coordinates; the other end point is infinitely far away.Modifier and TypeMethodDescriptionRay2d.getEndPoint()
final DirectedPoint2d
PolyLine2d.getLocation
(double position) LineSegment2d.getLocationExtended
(double position) final DirectedPoint2d
PolyLine2d.getLocationExtended
(double position) ModifierConstructorDescriptionPolyLine2d
(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
Modifier 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) Modifier and TypeMethodDescriptionIterator<? extends DirectedPoint2d>
DirectedPoint2d.getPoints()
Modifier and TypeMethodDescriptionboolean
DirectedPoint2d.epsilonEquals
(DirectedPoint2d other, double epsilonCoordinate, double epsilonRotation) DirectedPoint2d.interpolate
(DirectedPoint2d otherPoint, double fraction) Interpolate towards another DirectedPoint2d with a fraction.