Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abs() - Method in class org.djutils.draw.point.DirectedPoint2d
- abs() - Method in class org.djutils.draw.point.DirectedPoint3d
- abs() - Method in class org.djutils.draw.point.OrientedPoint3d
- abs() - Method in interface org.djutils.draw.point.Point
-
Return a new Point with absolute coordinate values.
- abs() - Method in class org.djutils.draw.point.Point2d
- abs() - Method in class org.djutils.draw.point.Point3d
- Arc2d - Class in org.djutils.draw.curve
-
Continuous definition of an arc in 2d.
- Arc2d(DirectedPoint2d, double, boolean, double) - Constructor for class org.djutils.draw.curve.Arc2d
-
Define arc by starting point, radius, curve direction, and angle.
B
- Bezier - Class in org.djutils.draw.curve
-
Common code used to generated Bézier curves.
- Bezier2d - Class in org.djutils.draw.curve
-
Continuous definition of a Bézier curve in 2d.
- Bezier2d(double[], double[]) - Constructor for class org.djutils.draw.curve.Bezier2d
-
Create a Bézier curve of any order.
- Bezier2d(Point2d...) - Constructor for class org.djutils.draw.curve.Bezier2d
-
Create a Bézier curve of any order.
- Bezier3d - Class in org.djutils.draw.curve
-
Continuous definition of a Bézier curve in 3d.
- Bezier3d(double[], double[], double[]) - Constructor for class org.djutils.draw.curve.Bezier3d
-
Create a Bézier curve of any order.
- Bezier3d(Point3d...) - Constructor for class org.djutils.draw.curve.Bezier3d
-
Create a Bézier curve of any order.
- BezierCubic2d - Class in org.djutils.draw.curve
-
Continuous definition of a cubic Bézier curves in 2d.
- BezierCubic2d(Ray2d, Ray2d) - Constructor for class org.djutils.draw.curve.BezierCubic2d
-
Construct a BezierCubic2d from
start
toend
with two generated control points. - BezierCubic2d(Ray2d, Ray2d, double) - Constructor for class org.djutils.draw.curve.BezierCubic2d
-
Construct a BezierCubic2d from
start
toend
with two generated control points. - BezierCubic2d(Ray2d, Ray2d, double, boolean) - Constructor for class org.djutils.draw.curve.BezierCubic2d
-
Construct a BezierCubic2d from start to end with two generated control points.
- BezierCubic2d(Point2d[]) - Constructor for class org.djutils.draw.curve.BezierCubic2d
-
Create a cubic Bézier curve.
- BezierCubic2d(Point2d, Point2d, Point2d, Point2d) - Constructor for class org.djutils.draw.curve.BezierCubic2d
-
Create a cubic Bézier curve.
- BezierCubic3d - Class in org.djutils.draw.curve
-
Continuous definition of a cubic Bézier curves in 3d.
- BezierCubic3d(Ray3d, Ray3d) - Constructor for class org.djutils.draw.curve.BezierCubic3d
-
Approximate a cubic Bézier curve from start to end with two generated control points at half the distance between start and end.
- BezierCubic3d(Ray3d, Ray3d, double) - Constructor for class org.djutils.draw.curve.BezierCubic3d
-
Approximate a cubic Bézier curve from start to end with two generated control points at half the distance between start and end.
- BezierCubic3d(Ray3d, Ray3d, double, boolean) - Constructor for class org.djutils.draw.curve.BezierCubic3d
-
Approximate a cubic Bézier curve from start to end with two generated control points at half the distance between start and end.
- BezierCubic3d(Point3d[]) - Constructor for class org.djutils.draw.curve.BezierCubic3d
-
Create a cubic Bézier curve.
- BezierCubic3d(Point3d, Point3d, Point3d, Point3d) - Constructor for class org.djutils.draw.curve.BezierCubic3d
-
Create a cubic Bézier curve.
- Bn(double, double...) - Static method in class org.djutils.draw.curve.Bezier
-
Calculate the Bézier point of degree n, with B(t) = Σ(i = 0..n) [C(n, i) * (1 - t)n-i ti Pi], where C(n, k) is the binomial coefficient defined by n!
- Bounds<B extends Bounds<B,
P>, P extends Point<P>> - Interface in org.djutils.draw.bounds -
Bounds is the generic tagging interface that indicates the bounds for an object, where the simplest implementation is minX, minY, maxX and maxY for 2D, and minX, minY, minZ and maxX, maxY and maxZ for 3D.
- Bounds2d - Class in org.djutils.draw.bounds
-
A Bounds2d stores the rectangular 2D bounds of a 2d object, or a collection of 2d objects.
- Bounds2d(double, double) - Constructor for class org.djutils.draw.bounds.Bounds2d
-
Constructs a new Bounds2d around the origin (0, 0).
- Bounds2d(double, double, double, double) - Constructor for class org.djutils.draw.bounds.Bounds2d
-
Construct a Bounds2d by providing its lower and upper bounds in both dimensions.
- Bounds2d(Collection<Drawable2d>) - Constructor for class org.djutils.draw.bounds.Bounds2d
-
Construct a Bounds2d for a Collection of Drawable2d objects.
- Bounds2d(Iterator<? extends Point2d>) - Constructor for class org.djutils.draw.bounds.Bounds2d
-
Construct a Bounds2d from some collection of points, finding the lowest and highest x and y coordinates.
- Bounds2d(Drawable2d) - Constructor for class org.djutils.draw.bounds.Bounds2d
-
Construct a Bounds2d for a Drawable2d.
- Bounds2d(Drawable2d...) - Constructor for class org.djutils.draw.bounds.Bounds2d
-
Construct a Bounds2d for several Drawable2d objects.
- Bounds2d(Point2d[]) - Constructor for class org.djutils.draw.bounds.Bounds2d
-
Construct a Bounds2d from an array of Point2d, finding the lowest and highest x and y coordinates.
- Bounds3d - Class in org.djutils.draw.bounds
-
Bounds3d is the generic class for the 3D extent of an object.
- Bounds3d(double, double, double) - Constructor for class org.djutils.draw.bounds.Bounds3d
-
Constructs a new Bounds3d around the origin (0, 0, 0).
- Bounds3d(double, double, double, double, double, double) - Constructor for class org.djutils.draw.bounds.Bounds3d
-
Construct a Bounds3d by providing all lower and upper bounds.
- Bounds3d(Collection<Drawable3d>) - Constructor for class org.djutils.draw.bounds.Bounds3d
-
Construct a Bounds3d for a Collection of Drawable2d objects.
- Bounds3d(Iterator<? extends Point3d>) - Constructor for class org.djutils.draw.bounds.Bounds3d
-
Construct a Bounds3d from some collection of points, finding the lowest and highest x and y coordinates.
- Bounds3d(Drawable3d) - Constructor for class org.djutils.draw.bounds.Bounds3d
-
Construct a Bounds3d for a Drawable3d.
- Bounds3d(Drawable3d...) - Constructor for class org.djutils.draw.bounds.Bounds3d
-
Construct a Bounds3d for several Drawable2d objects.
- Bounds3d(Point3d[]) - Constructor for class org.djutils.draw.bounds.Bounds3d
-
Construct a Bounds3d from an array of Point3d, finding the lowest and highest x, y and z coordinates.
C
- C - Static variable in class org.djutils.draw.curve.Bezier
-
C values of numerical approach of Legendre-Gauss to determine Bézier length.
- checkDirectionError(DIR, DIR, DIR, double) - Method in interface org.djutils.draw.curve.Flattener
-
Check direction difference at the start and end of a segment.
- checkDirectionError(Double, Double, Double, double) - Method in interface org.djutils.draw.curve.Flattener2d
- checkDirectionError(Double, Double, Double, double) - Method in interface org.djutils.draw.curve.OffsetFlattener2d
- checkDirectionError(Direction3d, Direction3d, Direction3d, double) - Method in interface org.djutils.draw.curve.Flattener3d
- checkInflectionPoint(Flattener.FlattableCurve<Point3d, Direction3d>, double, double, double, Point3d, Point3d) - Method in interface org.djutils.draw.curve.Flattener3d
- checkInflectionPoint(Flattener.FlattableCurve<P, DIR>, double, double, double, P, P) - Method in interface org.djutils.draw.curve.Flattener
-
Check for an inflection point by computing additional points at one quarter and three quarters.
- checkLoopBack(DIR, DIR) - Method in interface org.djutils.draw.curve.Flattener
-
Check for a direction change of more than 90 degrees.
- checkLoopBack(Double, Double) - Method in interface org.djutils.draw.curve.Flattener2d
- checkLoopBack(Double, Double) - Method in interface org.djutils.draw.curve.OffsetFlattener2d
- checkLoopBack(Direction3d, Direction3d) - Method in interface org.djutils.draw.curve.Flattener3d
- checkPositionError(P, P, P, double) - Method in interface org.djutils.draw.curve.Flattener
-
Report if the medianPoint is too far from the line segment from prevPoint to nextPoint.
- circleIntersections(Point2d, double, Point2d, double) - Static method in class org.djutils.draw.point.Point2d
-
Return the zero, one or two intersections between two circles.
- closestPointOnLine(double, double, double, double) - Method in class org.djutils.draw.point.Point2d
-
Project a point on a line.
- closestPointOnLine(double, double, double, double, double, double) - Method in class org.djutils.draw.point.Point3d
-
Project a point on a line.
- closestPointOnLine(double, double, double, double, double, double, Boolean, Boolean) - Method in class org.djutils.draw.point.Point3d
-
Compute the closest point on a line with optional limiting of the result on either end.
- closestPointOnLine(double, double, double, double, Boolean, Boolean) - Method in class org.djutils.draw.point.Point2d
-
Compute the closest point on a line with optional limiting of the result on either end.
- closestPointOnLine(Point2d, Point2d) - Method in class org.djutils.draw.point.Point2d
- closestPointOnLine(Point3d, Point3d) - Method in class org.djutils.draw.point.Point3d
- closestPointOnLine(P, P) - Method in interface org.djutils.draw.point.Point
-
Project a point on a line.
- closestPointOnPolyLine(Point2d) - Method in class org.djutils.draw.line.PolyLine2d
- closestPointOnPolyLine(Point3d) - Method in class org.djutils.draw.line.PolyLine3d
- closestPointOnPolyLine(P) - Method in interface org.djutils.draw.line.PolyLine
-
Project a Point on this PolyLine.
- closestPointOnRay(Point2d) - Method in class org.djutils.draw.line.Ray2d
- closestPointOnRay(Point3d) - Method in class org.djutils.draw.line.Ray3d
- closestPointOnRay(P) - Method in interface org.djutils.draw.line.Ray
-
Project a Point on a Ray.
- closestPointOnSegment(double, double, double, double) - Method in class org.djutils.draw.point.Point2d
-
Project a point on a line segment.
- closestPointOnSegment(double, double, double, double, double, double) - Method in class org.djutils.draw.point.Point3d
-
Project a point on a line segment.
- closestPointOnSegment(Point2d) - Method in class org.djutils.draw.line.LineSegment2d
- closestPointOnSegment(Point2d, Point2d) - Method in class org.djutils.draw.point.Point2d
- closestPointOnSegment(Point3d) - Method in class org.djutils.draw.line.LineSegment3d
- closestPointOnSegment(Point3d, Point3d) - Method in class org.djutils.draw.point.Point3d
- closestPointOnSegment(P) - Method in interface org.djutils.draw.line.LineSegment
-
Project a Point on this LineSegment.
- closestPointOnSegment(P, P) - Method in interface org.djutils.draw.point.Point
-
Project a point on a line segment.
- Clothoid2d - Class in org.djutils.draw.curve
-
Continuous definition of a clothoid in 2d.
- Clothoid2d(DirectedPoint2d, double, double, double) - Constructor for class org.djutils.draw.curve.Clothoid2d
-
Create clothoid from one point based on curvature and A-value.
- Clothoid2d(DirectedPoint2d, DirectedPoint2d) - Constructor for class org.djutils.draw.curve.Clothoid2d
-
Create clothoid between two directed points.
- concatenate(double, PolyLine2d...) - Static method in class org.djutils.draw.line.PolyLine2d
-
Concatenate several PolyLine2d instances.
- concatenate(double, PolyLine2d, PolyLine2d) - Static method in class org.djutils.draw.line.PolyLine2d
-
Concatenate two PolyLine2d instances.
- concatenate(double, PolyLine3d...) - Static method in class org.djutils.draw.line.PolyLine3d
-
Concatenate several PolyLine3d instances.
- concatenate(double, PolyLine3d, PolyLine3d) - Static method in class org.djutils.draw.line.PolyLine3d
-
Concatenate two PolyLine3d instances.
- concatenate(PolyLine2d...) - Static method in class org.djutils.draw.line.PolyLine2d
-
Concatenate several PolyLine2d instances.
- concatenate(PolyLine3d...) - Static method in class org.djutils.draw.line.PolyLine3d
-
Concatenate several PolyLine3d instances.
- contains(double, double) - Method in class org.djutils.draw.bounds.Bounds2d
-
Check if this Bounds2d contains a point.
- contains(double, double) - Method in class org.djutils.draw.line.Polygon2d
-
Determine if a point is inside this Polygon.
- contains(double, double, double) - Method in class org.djutils.draw.bounds.Bounds3d
-
Check if this Bounds3d contains a point.
- contains(B) - Method in interface org.djutils.draw.bounds.Bounds
-
Check if this Bounds completely contains another Bounds.
- contains(Bounds2d) - Method in class org.djutils.draw.bounds.Bounds2d
- contains(Bounds2d) - Method in class org.djutils.draw.line.Polygon2d
-
Determine if this Polygon completely contains a Bounds2d object.
- contains(Bounds3d) - Method in class org.djutils.draw.bounds.Bounds3d
- contains(Point2d) - Method in class org.djutils.draw.bounds.Bounds2d
- contains(Point2d) - Method in class org.djutils.draw.line.Polygon2d
-
Determine if a point is inside this Polygon.
- contains(Point3d) - Method in class org.djutils.draw.bounds.Bounds3d
- contains(P) - Method in interface org.djutils.draw.bounds.Bounds
-
Check if a point is contained in this Bounds.
- ContinuousPiecewiseLinearFunction - Class in org.djutils.draw.function
-
Container for piece-wise linear offsets, defined by the offsets at particular fractional positions.
- ContinuousPiecewiseLinearFunction(double...) - Constructor for class org.djutils.draw.function.ContinuousPiecewiseLinearFunction
-
Create ContinuousPiecewiseLinearFunction from an array of double values.
- ContinuousPiecewiseLinearFunction(Map<Double, Double>) - Constructor for class org.djutils.draw.function.ContinuousPiecewiseLinearFunction
-
Create ContinuousPiecewiseLinearFunction from a Map of key-value pairs.
- ContinuousPiecewiseLinearFunction.TupleSt - Record Class in org.djutils.draw.function
-
Wrapper for domain and function value pair.
- convexHull(Collection<Drawable2d>) - Static method in class org.djutils.draw.line.ConvexHull
-
Construct a Bounds2d for a Collection of Drawable2d objects.
- convexHull(Iterator<Point2d>) - Static method in class org.djutils.draw.line.ConvexHull
-
Compute the convex hull of a collection of Point2d objects.
- convexHull(List<Point2d>) - Static method in class org.djutils.draw.line.ConvexHull
-
Compute the convex hull of a list of Point2d objects.
- convexHull(Drawable2d...) - Static method in class org.djutils.draw.line.ConvexHull
-
Compute the convex hull of one or more Drawable2d objects.
- ConvexHull - Class in org.djutils.draw.line
-
ConvexHull.java.
- convexHullAlshamrani(List<Point2d>) - Static method in class org.djutils.draw.line.ConvexHull
-
Implementation of the convex hull algorithm by Reham Alshamrani c.s.; see A Preprocessing Technique for Fast Convex Hull Computation.
- convexHullMonotone(List<Point2d>) - Static method in class org.djutils.draw.line.ConvexHull
-
Implementation of Andrew's Monotone Chain convex hull algorithm.
- covers(double, double) - Method in class org.djutils.draw.bounds.Bounds2d
-
Check if this Bounds2d covers a point.
- covers(double, double, double) - Method in class org.djutils.draw.bounds.Bounds3d
-
Check if this Bounds3d contains a point.
- covers(B) - Method in interface org.djutils.draw.bounds.Bounds
-
Check if no part of a Bounds is outside this Bounds.
- covers(Bounds2d) - Method in class org.djutils.draw.bounds.Bounds2d
- covers(Bounds3d) - Method in class org.djutils.draw.bounds.Bounds3d
- covers(Point2d) - Method in class org.djutils.draw.bounds.Bounds2d
- covers(Point3d) - Method in class org.djutils.draw.bounds.Bounds3d
- covers(P) - Method in interface org.djutils.draw.bounds.Bounds
-
Check if this Bounds covers or touches a point.
- curvature(double) - Method in class org.djutils.draw.curve.Bezier2d
-
Returns the curvature at the given t value.
- Curvature - Interface in org.djutils.draw.curve
-
Additional curve properties.
- Curve<DP,
DIR, P extends Point<P>, F extends Flattener<F, ?, PL, P, DIR>, PL extends PolyLine<?, P, ?, ?, ?>> - Interface in org.djutils.draw.curve -
A Curve defines a line in an exact, continuous manner, from which numerically approximated polylines can be derived.
- Curve2d - Interface in org.djutils.draw.curve
-
This interface narrows down the interface of continuous curves for 2d use.
- Curve3d - Interface in org.djutils.draw.curve
-
This interface narrows down the interface of continuous curves for 3d use.
D
- DEFAULT_BEZIER_SIZE - Static variable in class org.djutils.draw.curve.Bezier
-
The default number of points to use to construct a Bézier curve.
- DEFAULT_CIRCLE_PRECISION - Static variable in interface org.djutils.draw.line.PolyLine
-
Default precision of approximation of arcs in the offsetLine method.
- DEFAULT_OFFSET_FILTER_RATIO - Static variable in interface org.djutils.draw.line.PolyLine
-
By default, noise in the reference line of the offsetLineMethod less than
offset / offsetFilterRatio
is filtered except when the resulting value exceedsoffsetMaximumFilterValue
. - DEFAULT_OFFSET_MAXIMUM_FILTER_VALUE - Static variable in interface org.djutils.draw.line.PolyLine
-
By default, noise in the reference line of the offsetLineMethod greater than this value is never filtered.
- DEFAULT_OFFSET_MINIMUM_FILTER_VALUE - Static variable in interface org.djutils.draw.line.PolyLine
-
By default, noise in the reference line of the offsetLine method less than this value is always filtered.
- DEFAULT_OFFSET_PRECISION - Static variable in interface org.djutils.draw.line.PolyLine
-
By default, the offsetLineMethod uses this offset precision.
- derivative() - Method in class org.djutils.draw.curve.Bezier2d
-
Returns the derivative for a Bézier, which is a Bézier of 1 order lower.
- derivative() - Method in class org.djutils.draw.curve.Bezier3d
-
Returns the derivative for a Bézier, which is a Bézier of 1 order lower.
- derivative(double[]) - Static method in class org.djutils.draw.curve.Bezier
-
Returns the derivative for one dimension of a Bézier, which is a Bézier of 1 order lower.
- Directed<D extends Directed<D>> - Interface in org.djutils.draw
-
Directed is the interface to specify a Direction (a vector without a length, pointing in a direction).
- Directed2d<D extends Directed<D>> - Interface in org.djutils.draw
-
Interface for objects that have a direction in the XY-plane.
- Directed3d<D extends Directed<D>> - Interface in org.djutils.draw
-
Interface for objects that have a direction in 3d-space i.c. dirY (similar to tilt; measured as an angle from the positive z-direction) and dirZ (similar to pan; measured as an angle from the positive x-direction).
- DirectedPoint2d - Class in org.djutils.draw.point
-
A DirectedPoint2d is a Point2d that additionally carries a direction in 2d-space (dirZ).
- DirectedPoint2d(double[], double) - Constructor for class org.djutils.draw.point.DirectedPoint2d
-
Construct a new DirectedPoint2d from an x and y coordinates in a double[] and a direction.
- DirectedPoint2d(double, double, double) - Constructor for class org.djutils.draw.point.DirectedPoint2d
-
Construct a new DirectedPoint2d with an x and y coordinate and a direction.
- DirectedPoint2d(double, double, double, double) - Constructor for class org.djutils.draw.point.DirectedPoint2d
-
Construct a new DirectedPoint2d from two coordinates and the coordinates of a point that the direction goes through.
- DirectedPoint2d(Point2D, double) - Constructor for class org.djutils.draw.point.DirectedPoint2d
-
Construct a new DirectedPoint2d from an AWT Point2D and a direction.
- DirectedPoint2d(Point2d, double) - Constructor for class org.djutils.draw.point.DirectedPoint2d
-
Construct a new DirectedPoint2d from a Point2d and a direction.
- DirectedPoint2d(Point2d, double, double) - Constructor for class org.djutils.draw.point.DirectedPoint2d
-
Construct a new DirectedPoint2d from a Point2d and the coordinates of a point that the direction goes through.
- DirectedPoint2d(Point2d, Point2d) - Constructor for class org.djutils.draw.point.DirectedPoint2d
-
Construct a new DirectedPoint2d from a Point2d and a point that the direction goes through.
- DirectedPoint3d - Class in org.djutils.draw.point
-
A DirectedPoint3d is a point in 3d space that additionally carries a direction in 3d i.c. dirY (similar to tilt; measured as an angle from the positive z-direction) and dirZ (similar to pan; measured as an angle from the positive x-direction).
- DirectedPoint3d(double[], double[]) - Constructor for class org.djutils.draw.point.DirectedPoint3d
-
Create a new OrientedPoint3d from x, y and z coordinates packed in a double array of three elements and a direction specified using a double array of two elements.
- DirectedPoint3d(double[], double, double) - Constructor for class org.djutils.draw.point.DirectedPoint3d
-
Create a new DirectedPoint3d with x, y, and z coordinates in a double[] and direction dirY,dirZ.
- DirectedPoint3d(double[], Direction3d) - Constructor for class org.djutils.draw.point.DirectedPoint3d
-
Create a new DirectedPoint3d with x, y, and z coordinates in a double[] and a Direction3d.
- DirectedPoint3d(double, double, double, double[]) - Constructor for class org.djutils.draw.point.DirectedPoint3d
-
Create a new DirectedPoint3d with x, y and z coordinates and direction specified using a double array of two elements (containing dirY,dirZ in that order).
- DirectedPoint3d(double, double, double, double, double) - Constructor for class org.djutils.draw.point.DirectedPoint3d
-
Create a new DirectedPoint3d with x, y, and z coordinates and direction dirY,dirZ.
- DirectedPoint3d(double, double, double, double, double, double) - Constructor for class org.djutils.draw.point.DirectedPoint3d
-
Construct a new DirectedPoint3d from three coordinates and the coordinates of a point that the direction goes through.
- DirectedPoint3d(double, double, double, Direction3d) - Constructor for class org.djutils.draw.point.DirectedPoint3d
-
Create a new DirectedPoint3d with x, y, and z coordinates and Direction3d.
- DirectedPoint3d(double, double, double, Point3d) - Constructor for class org.djutils.draw.point.DirectedPoint3d
-
Construct a new DirectedPoint3d from x, y and z coordinates and a point that the direction goes through.
- DirectedPoint3d(Point3d, double, double) - Constructor for class org.djutils.draw.point.DirectedPoint3d
-
Create a new DirectedPoint3d from another Point3d and and direction dirY,dirZ.
- DirectedPoint3d(Point3d, double, double, double) - Constructor for class org.djutils.draw.point.DirectedPoint3d
-
Construct a new DirectedPoint3d form a Point3d and the coordinates that the direction goes through.
- DirectedPoint3d(Point3d, Direction3d) - Constructor for class org.djutils.draw.point.DirectedPoint3d
-
Create a new DirectedPoint3d from another Point3d and a Direction3d.
- DirectedPoint3d(Point3d, Point3d) - Constructor for class org.djutils.draw.point.DirectedPoint3d
-
Construct a new DirectedPoint3d.
- Direction3d - Class in org.djutils.draw
-
Class encoding a direction in 3d space.
- Direction3d(double, double) - Constructor for class org.djutils.draw.Direction3d
-
Construct a Direction3d.
- directionDifference(Direction3d) - Method in class org.djutils.draw.Direction3d
-
Determine the angle between this Direction3d and another Direction3d.
- directionTo(Point2d) - Method in class org.djutils.draw.point.Point2d
-
Return the direction to another Point2d.
- directionTo(Point3d) - Method in class org.djutils.draw.point.Point3d
-
Return the direction to another Point3d.
- dirX - Variable in class org.djutils.draw.point.OrientedPoint3d
-
The direction as rotation around the x-axis.
- dirY - Variable in class org.djutils.draw.Direction3d
-
Rotation around y-axis.
- dirY - Variable in class org.djutils.draw.point.DirectedPoint3d
-
The direction as rotation around the x-axis.
- dirZ - Variable in class org.djutils.draw.Direction3d
-
Rotation around z-axis.
- dirZ - Variable in class org.djutils.draw.point.DirectedPoint2d
-
The counter-clockwise rotation around the point in radians.
- dirZ - Variable in class org.djutils.draw.point.DirectedPoint3d
-
The direction as rotation from the positive z-axis towards the x-y plane.
- disjoint(B) - Method in interface org.djutils.draw.bounds.Bounds
-
Return whether a Bounds is disjoint from this Bounds.
- disjoint(Bounds2d) - Method in class org.djutils.draw.bounds.Bounds2d
- disjoint(Bounds3d) - Method in class org.djutils.draw.bounds.Bounds3d
- distance(Point2d) - Method in class org.djutils.draw.point.Point2d
- distance(Point3d) - Method in class org.djutils.draw.point.Point3d
- distance(P) - Method in interface org.djutils.draw.point.Point
-
Return the distance to another point.
- distanceSquared(Point2d) - Method in class org.djutils.draw.point.Point2d
- distanceSquared(Point3d) - Method in class org.djutils.draw.point.Point3d
- distanceSquared(P) - Method in interface org.djutils.draw.point.Point
-
Return the squared distance between this point and the provided point.
- Drawable<P extends Point<P>> - Interface in org.djutils.draw
-
Drawable is an interface to indicate zero or more points can be retrieved to draw the object.
- Drawable2d - Interface in org.djutils.draw
-
Drawable2d is the interface that all drawable objects that use 2D coordinates must implement.
- Drawable3d - Interface in org.djutils.draw
-
Drawable3d is the Interface that all drawable objects that use 3D coordinates must implement.
- DrawRuntimeException - Exception in org.djutils.draw
-
DrawRuntimeException is the root exception for drawing exceptions that do not have to be specified.
- DrawRuntimeException() - Constructor for exception org.djutils.draw.DrawRuntimeException
-
Create an empty runtime drawing exception.
- DrawRuntimeException(String) - Constructor for exception org.djutils.draw.DrawRuntimeException
-
Create a runtime drawing exception with a custom message.
- DrawRuntimeException(String, Throwable) - Constructor for exception org.djutils.draw.DrawRuntimeException
-
Create a runtime drawing exception with a custom message and an underlying cause.
- DrawRuntimeException(Throwable) - Constructor for exception org.djutils.draw.DrawRuntimeException
-
Create a runtime drawing exception with an underlying cause.
E
- endX - Variable in class org.djutils.draw.line.LineSegment2d
-
The end x-coordinate.
- endX - Variable in class org.djutils.draw.line.LineSegment3d
-
The end x-coordinate.
- endY - Variable in class org.djutils.draw.line.LineSegment2d
-
The end y-coordinate.
- endY - Variable in class org.djutils.draw.line.LineSegment3d
-
The end y-coordinate.
- endZ - Variable in class org.djutils.draw.line.LineSegment3d
-
The end z-coordinate.
- ensureHasOne(Iterator<Drawable2d>) - Static method in class org.djutils.draw.bounds.Bounds2d
-
Verify that the iterator has something to return.
- ensureHasOne(Iterator<Drawable3d>) - Static method in class org.djutils.draw.bounds.Bounds3d
-
Verify that the iterator has something to return.
- ensureHasOne(Drawable2d[]) - Static method in class org.djutils.draw.bounds.Bounds2d
-
Verify that the array contains at least one entry.
- ensureHasOne(Drawable3d[]) - Static method in class org.djutils.draw.bounds.Bounds3d
-
Verify that the array contains at least one entry.
- epsilonEquals(D, double, double) - Method in interface org.djutils.draw.Directed
-
Compare this Directed with another Directed with specified tolerances in the coordinates and the angles.
- epsilonEquals(O, double, double) - Method in interface org.djutils.draw.Oriented
-
Compare this Oriented with another Oriented with specified tolerances in the coordinates and the angles.
- epsilonEquals(DirectedPoint2d, double, double) - Method in class org.djutils.draw.point.DirectedPoint2d
- epsilonEquals(DirectedPoint3d, double, double) - Method in class org.djutils.draw.point.DirectedPoint3d
- epsilonEquals(OrientedPoint3d, double, double) - Method in class org.djutils.draw.point.OrientedPoint3d
- epsilonEquals(Point2d, double) - Method in class org.djutils.draw.point.Point2d
- epsilonEquals(Point3d, double) - Method in class org.djutils.draw.point.Point3d
- epsilonEquals(P, double) - Method in interface org.djutils.draw.point.Point
-
A comparison with another point that returns
true
of each of the coordinates is less than epsilon apart. - equals(Object) - Method in class org.djutils.draw.bounds.Bounds2d
- equals(Object) - Method in class org.djutils.draw.bounds.Bounds3d
- equals(Object) - Method in class org.djutils.draw.curve.Bezier2d
- equals(Object) - Method in class org.djutils.draw.curve.Bezier3d
- equals(Object) - Method in class org.djutils.draw.Direction3d
- equals(Object) - Method in record class org.djutils.draw.function.ContinuousPiecewiseLinearFunction.TupleSt
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.djutils.draw.line.LineSegment2d
- equals(Object) - Method in class org.djutils.draw.line.LineSegment3d
- equals(Object) - Method in class org.djutils.draw.line.PolyLine2d
- equals(Object) - Method in class org.djutils.draw.line.PolyLine3d
- equals(Object) - Method in class org.djutils.draw.line.Ray2d
- equals(Object) - Method in class org.djutils.draw.line.Ray3d
- equals(Object) - Method in class org.djutils.draw.point.DirectedPoint2d
- equals(Object) - Method in class org.djutils.draw.point.DirectedPoint3d
- equals(Object) - Method in class org.djutils.draw.point.OrientedPoint3d
- equals(Object) - Method in class org.djutils.draw.point.Point2d
- equals(Object) - Method in class org.djutils.draw.point.Point3d
- equals(Object) - Method in class org.djutils.draw.surface.Surface3d
- equals(Object) - Method in class org.djutils.draw.Transform2d
- equals(Object) - Method in class org.djutils.draw.Transform3d
- Export - Class in org.djutils.draw
-
Export methods for djutils-draw objects.
- extract(double, double) - Method in interface org.djutils.draw.line.PolyLine
-
Create a new PolyLine that covers a sub-section of this PolyLine.
- extract(double, double) - Method in class org.djutils.draw.line.PolyLine2d
- extract(double, double) - Method in class org.djutils.draw.line.PolyLine3d
- extractFractional(double, double) - Method in interface org.djutils.draw.line.PolyLine
-
Construct a new PolyLine covering the indicated fraction of this PolyLine.
F
- filterNearDuplicates(double, double[]...) - Method in interface org.djutils.draw.line.PolyLine
-
Filter adjacent points that are (near) duplicates.
- find(double) - Method in interface org.djutils.draw.line.PolyLine
-
Binary search for a point index on this PolyLine that is at, or the the nearest one before a given position.
- fixClosingPoint(double[], double[], double[]) - Static method in class org.djutils.draw.line.Polygon3d
-
Ensure that the last elements in three arrays are is not equal to the first.
- flatten(Curve2d) - Method in interface org.djutils.draw.curve.Flattener2d
-
Flatten a Curve2d into a PolyLine2d.
- flatten(Curve2d) - Method in class org.djutils.draw.curve.Flattener2d.MaxAngle
- flatten(Curve2d) - Method in class org.djutils.draw.curve.Flattener2d.MaxDeviation
- flatten(Curve2d) - Method in class org.djutils.draw.curve.Flattener2d.MaxDeviationAndAngle
- flatten(Curve2d) - Method in class org.djutils.draw.curve.Flattener2d.NumSegments
- flatten(Curve3d) - Method in interface org.djutils.draw.curve.Flattener3d
-
Flatten a Curve3d into a PolyLine3d.
- flatten(Curve3d) - Method in class org.djutils.draw.curve.Flattener3d.MaxAngle
- flatten(Curve3d) - Method in class org.djutils.draw.curve.Flattener3d.MaxDeviation
- flatten(Curve3d) - Method in class org.djutils.draw.curve.Flattener3d.MaxDeviationAndAngle
- flatten(Curve3d) - Method in class org.djutils.draw.curve.Flattener3d.NumSegments
- flatten(OffsetCurve2d, ContinuousPiecewiseLinearFunction) - Method in interface org.djutils.draw.curve.OffsetFlattener2d
-
Flatten a OffsetCurve2d curve into a PolyLine2d while applying lateral offsets.
- flatten(OffsetCurve2d, ContinuousPiecewiseLinearFunction) - Method in class org.djutils.draw.curve.OffsetFlattener2d.MaxAngle
- flatten(OffsetCurve2d, ContinuousPiecewiseLinearFunction) - Method in class org.djutils.draw.curve.OffsetFlattener2d.MaxDeviation
- flatten(OffsetCurve2d, ContinuousPiecewiseLinearFunction) - Method in class org.djutils.draw.curve.OffsetFlattener2d.MaxDeviationAndAngle
- flatten(OffsetCurve2d, ContinuousPiecewiseLinearFunction) - Method in class org.djutils.draw.curve.OffsetFlattener2d.NumSegments
- Flattener<F extends Flattener<F,
C, PL, P, DIR>, C extends Curve<?, ?, P, F, PL>, PL extends PolyLine<?, P, ?, ?, ?>, P extends Point<P>, DIR> - Interface in org.djutils.draw.curve -
Flattens a Curve in to a PolyLine.
- Flattener.FlattableCurve<P,
DIR> - Interface in org.djutils.draw.curve -
Interface for getPoint and getDirection that hide whether or not an offset is applied.
- Flattener2d - Interface in org.djutils.draw.curve
-
Flattens a Curve2d in to a PolyLine2d.
- Flattener2d.MaxAngle - Class in org.djutils.draw.curve
-
Flattener that limits the angle difference between the
Curve2d
and thePolyLine2d
. - Flattener2d.MaxDeviation - Class in org.djutils.draw.curve
-
Flattener that limits the distance between the
Curve2d
and thePolyLine2d
. - Flattener2d.MaxDeviationAndAngle - Class in org.djutils.draw.curve
-
Flattener that limits the distance and angle difference between the
Curve2d
and thePolyLine2d
. - Flattener2d.NumSegments - Class in org.djutils.draw.curve
-
Flattener that approximates the
Curve2d
with a specified number of segments. - Flattener3d - Interface in org.djutils.draw.curve
-
Flattens a Curve3d in to a PolyLine3d.
- Flattener3d.MaxAngle - Class in org.djutils.draw.curve
-
Flattener that limits the angle difference between the
Curve3d
and thePolyLine3d
. - Flattener3d.MaxDeviation - Class in org.djutils.draw.curve
-
Flattener that limits the distance between the
Curve3d
and thePolyLine3d
. - Flattener3d.MaxDeviationAndAngle - Class in org.djutils.draw.curve
-
Flattener that limits the distance and angle difference between the
Curve3d
and thePolyLine3d
. - Flattener3d.NumSegments - Class in org.djutils.draw.curve
-
Flattener that approximates the
Curve3d
with a specified number of segments. - flip() - Method in interface org.djutils.draw.line.Ray
-
Flip the direction of the Ray (creates and returns a new Ray instance).
- flip() - Method in class org.djutils.draw.line.Ray2d
- flip() - Method in class org.djutils.draw.line.Ray3d
- fractionalPositionOnLine(double, double, double, double, double, double, Boolean, Boolean) - Method in class org.djutils.draw.point.Point3d
-
Compute the fractional position of the closest point on a line with optional limiting of the result on either end.
- fractionalPositionOnLine(double, double, double, double, Boolean, Boolean) - Method in class org.djutils.draw.point.Point2d
-
Compute the fractional position of the closest point on a line with optional limiting of the result on either end.
- fresnel(double) - Static method in class org.djutils.draw.curve.Fresnel
-
Approximate the Fresnel integral.
- Fresnel - Class in org.djutils.draw.curve
-
Utility class to create clothoid lines, in particular the Fresnel integral based on: W.J.
- function(double) - Method in interface org.djutils.draw.line.PolyLine.TransitionFunction
-
Function that returns some value for inputs between 0.0 and 1.0.
G
- get(double) - Method in class org.djutils.draw.function.ContinuousPiecewiseLinearFunction
-
Returns the data at given fractional length.
- get(int) - Method in interface org.djutils.draw.line.PolyLine
-
Return one of the points of this line.
- get(int) - Method in class org.djutils.draw.line.PolyLine2d
- get(int) - Method in class org.djutils.draw.line.PolyLine3d
- getA() - Method in class org.djutils.draw.curve.Clothoid2d
-
Return A, the clothoid scaling parameter.
- getAngle() - Method in class org.djutils.draw.curve.Arc2d
-
Retrieve the total change of direction on this Arc.
- getAppliedShape() - Method in class org.djutils.draw.curve.Clothoid2d
-
Returns whether the shape was applied as a Clothoid, an Arc, or as a Straight, depending on start and end position and direction.
- getArea() - Method in class org.djutils.draw.bounds.Bounds2d
-
Return the area of this Bounds2d.
- getBounds() - Method in class org.djutils.draw.bounds.Bounds2d
- getBounds() - Method in class org.djutils.draw.bounds.Bounds3d
- getBounds() - Method in interface org.djutils.draw.Drawable2d
-
Retrieve the bounding rectangle of the object.
- getBounds() - Method in interface org.djutils.draw.Drawable3d
-
Retrieve the bounding box of the object.
- getBounds() - Method in class org.djutils.draw.line.LineSegment2d
- getBounds() - Method in class org.djutils.draw.line.LineSegment3d
- getBounds() - Method in class org.djutils.draw.line.PolyLine2d
- getBounds() - Method in class org.djutils.draw.line.PolyLine3d
- getBounds() - Method in class org.djutils.draw.line.Ray2d
- getBounds() - Method in class org.djutils.draw.line.Ray3d
- getBounds() - Method in class org.djutils.draw.point.Point2d
- getBounds() - Method in class org.djutils.draw.point.Point3d
- getBounds() - Method in class org.djutils.draw.surface.Surface3d
- getDeltaX() - Method in interface org.djutils.draw.bounds.Bounds
-
Return the extent of this Bounds2d in the x-direction.
- getDeltaY() - Method in interface org.djutils.draw.bounds.Bounds
-
Return the extent of this Bounds2d in the y-direction.
- getDeltaZ() - Method in class org.djutils.draw.bounds.Bounds3d
-
Return the extent of this Bounds3d in the z-direction.
- getDerivative(double) - Method in class org.djutils.draw.function.ContinuousPiecewiseLinearFunction
-
Returns the derivative of the data with respect to fractional length.
- getDimensions() - Method in interface org.djutils.draw.Drawable
-
Return the number of dimensions.
- getDimensions() - Method in interface org.djutils.draw.Drawable2d
- getDimensions() - Method in interface org.djutils.draw.Drawable3d
- getDir() - Method in interface org.djutils.draw.Directed3d
-
Retrieve the Direction3d.
- getDirection(double) - Method in class org.djutils.draw.curve.Arc2d
- getDirection(double) - Method in class org.djutils.draw.curve.Clothoid2d
- getDirection(double) - Method in interface org.djutils.draw.curve.Curve
-
Returns the direction at the given fraction.
- getDirection(double) - Method in interface org.djutils.draw.curve.Curve2d
- getDirection(double) - Method in interface org.djutils.draw.curve.Curve3d
- getDirection(double) - Method in interface org.djutils.draw.curve.Flattener.FlattableCurve
-
Get the direction at some fraction along the Curve.
- getDirection(double, ContinuousPiecewiseLinearFunction) - Method in class org.djutils.draw.curve.Arc2d
- getDirection(double, ContinuousPiecewiseLinearFunction) - Method in class org.djutils.draw.curve.BezierCubic2d
- getDirection(double, ContinuousPiecewiseLinearFunction) - Method in interface org.djutils.draw.curve.OffsetCurve2d
-
Returns the direction at the given fraction.
- getDirX() - Method in interface org.djutils.draw.Oriented3d
-
Return the rotation around the x-axis in radians.
- getDirX() - Method in class org.djutils.draw.point.OrientedPoint3d
- getDirY() - Method in interface org.djutils.draw.Directed3d
-
Retrieve the angle from the positive z axis to the direction.
- getDirY() - Method in class org.djutils.draw.Direction3d
-
Retrieve the dirY component of this Direction3d.
- getDirY() - Method in class org.djutils.draw.line.Ray3d
- getDirY() - Method in interface org.djutils.draw.Oriented3d
-
Return the rotation around the y-axis in radians.
- getDirY() - Method in class org.djutils.draw.point.DirectedPoint3d
- getDirY() - Method in class org.djutils.draw.point.OrientedPoint3d
- getDirZ() - Method in interface org.djutils.draw.Directed2d
-
Retrieve the angle from the positive x-axis.
- getDirZ() - Method in interface org.djutils.draw.Directed3d
-
Retrieve the angle from the positive x-axis to the projection of the direction in the x-y-plane.
- getDirZ() - Method in class org.djutils.draw.Direction3d
-
Retrieve the dirZ component of this Direction3d.
- getDirZ() - Method in interface org.djutils.draw.line.Ray
-
Retrieve the angle from the positive X axis direction in radians.
- getDirZ() - Method in class org.djutils.draw.line.Ray2d
- getDirZ() - Method in class org.djutils.draw.line.Ray3d
- getDirZ() - Method in interface org.djutils.draw.Oriented
-
Return the rotation around the z-axis in radians.
- getDirZ() - Method in class org.djutils.draw.point.DirectedPoint2d
- getDirZ() - Method in class org.djutils.draw.point.DirectedPoint3d
- getDirZ() - Method in class org.djutils.draw.point.OrientedPoint3d
- getEndCurvature() - Method in class org.djutils.draw.curve.Arc2d
- getEndCurvature() - Method in class org.djutils.draw.curve.BezierCubic2d
-
End curvature of this BezierCubic2d.
- getEndCurvature() - Method in class org.djutils.draw.curve.Clothoid2d
-
End curvature of this Clothoid.
- getEndCurvature() - Method in interface org.djutils.draw.curve.Curvature
-
End curvature of this Curve2d..
- getEndCurvature() - Method in class org.djutils.draw.curve.Straight2d
-
End curvature of this Straight.
- getEndDirection() - Method in interface org.djutils.draw.curve.Curve
-
End direction of this Curve.
- getEndDirection() - Method in interface org.djutils.draw.curve.Curve2d
- getEndDirection() - Method in interface org.djutils.draw.curve.Curve3d
- getEndPoint() - Method in class org.djutils.draw.curve.Clothoid2d
- getEndPoint() - Method in interface org.djutils.draw.curve.Curve
-
End point of this Curve.
- getEndPoint() - Method in interface org.djutils.draw.curve.Curve2d
- getEndPoint() - Method in interface org.djutils.draw.curve.Curve3d
- getEndPoint() - Method in interface org.djutils.draw.line.LineSegment
-
Get the end point of this LineSegment.
- getEndPoint() - Method in class org.djutils.draw.line.LineSegment2d
- getEndPoint() - Method in class org.djutils.draw.line.LineSegment3d
- getEndPoint() - Method in interface org.djutils.draw.line.Ray
-
Get the finite end point of this Ray.
- getEndPoint() - Method in class org.djutils.draw.line.Ray2d
- getEndPoint() - Method in class org.djutils.draw.line.Ray3d
- getEndRadius() - Method in class org.djutils.draw.curve.Arc2d
- getEndRadius() - Method in class org.djutils.draw.curve.Clothoid2d
-
End radius of this Clothoid.
- getEndRadius() - Method in interface org.djutils.draw.curve.Curvature
-
End radius of this Curve2d..
- getFirst() - Method in interface org.djutils.draw.line.PolyLine
-
Return the first point of this PolyLine.
- getKnots() - Method in interface org.djutils.draw.curve.Curve
-
If this Curve has knots, this method must return the fractions where those knots occur.
- getLast() - Method in interface org.djutils.draw.line.PolyLine
-
Return the last point of this PolyLine.
- getLength() - Method in class org.djutils.draw.curve.Arc2d
- getLength() - Method in class org.djutils.draw.curve.Bezier2d
- getLength() - Method in class org.djutils.draw.curve.Bezier3d
- getLength() - Method in class org.djutils.draw.curve.BezierCubic2d
- getLength() - Method in class org.djutils.draw.curve.BezierCubic3d
- getLength() - Method in class org.djutils.draw.curve.Clothoid2d
- getLength() - Method in interface org.djutils.draw.curve.Curve
-
Return the length of this Curve.
- getLength() - Method in class org.djutils.draw.curve.Straight2d
- getLength() - Method in interface org.djutils.draw.line.LineSegment
-
Get the length (distance from start point to end point) of this LineSegment.
- getLength() - Method in class org.djutils.draw.line.LineSegment2d
- getLength() - Method in class org.djutils.draw.line.LineSegment3d
- getLength() - Method in class org.djutils.draw.line.Polygon2d
- getLength() - Method in class org.djutils.draw.line.Polygon3d
- getLength() - Method in interface org.djutils.draw.line.PolyLine
-
Return the length of this line.
- getLength() - Method in class org.djutils.draw.line.PolyLine2d
- getLength() - Method in class org.djutils.draw.line.PolyLine3d
- getLocation(double) - Method in interface org.djutils.draw.line.LineSegment
-
Create a DirectedPoint at the specified position along this LineSegment.
- getLocation(double) - Method in interface org.djutils.draw.line.PolyLine
-
Get the location at a position on the line, with its direction.
- getLocation(double) - Method in class org.djutils.draw.line.PolyLine2d
- getLocation(double) - Method in class org.djutils.draw.line.PolyLine3d
- getLocation(double) - Method in interface org.djutils.draw.line.Ray
-
Get the location at a position on the line, with its direction.
- getLocationExtended(double) - Method in interface org.djutils.draw.line.LineSegment
-
Create a DirectedPoint at the specified position along this LineSegment.
- getLocationExtended(double) - Method in class org.djutils.draw.line.LineSegment2d
- getLocationExtended(double) - Method in class org.djutils.draw.line.LineSegment3d
- getLocationExtended(double) - Method in interface org.djutils.draw.line.PolyLine
-
Get the location at a position on the line, with its direction.
- getLocationExtended(double) - Method in class org.djutils.draw.line.PolyLine2d
- getLocationExtended(double) - Method in class org.djutils.draw.line.PolyLine3d
- getLocationExtended(double) - Method in interface org.djutils.draw.line.Ray
-
Get the location at a position on the line, with its direction.
- getLocationExtended(double) - Method in class org.djutils.draw.line.Ray2d
- getLocationExtended(double) - Method in class org.djutils.draw.line.Ray3d
- getLocationFraction(double) - Method in interface org.djutils.draw.line.PolyLine
-
Get the location at a fraction of the line, with its direction.
- getLocationFraction(double, double) - Method in interface org.djutils.draw.line.PolyLine
-
Get the location at a fraction of the line, with its direction.
- getLocationFractionExtended(double) - Method in interface org.djutils.draw.line.PolyLine
-
Get the location at a fraction of the line (or outside the line), with its direction.
- getMat() - Method in class org.djutils.draw.Transform2d
-
Get a safe copy of the affine transformation matrix.
- getMat() - Method in class org.djutils.draw.Transform3d
-
Get a safe copy of the affine transformation matrix.
- getMaxX() - Method in interface org.djutils.draw.bounds.Bounds
-
Return the absolute upper bound for x.
- getMaxX() - Method in class org.djutils.draw.bounds.Bounds2d
- getMaxX() - Method in class org.djutils.draw.bounds.Bounds3d
- getMaxY() - Method in interface org.djutils.draw.bounds.Bounds
-
Return the absolute upper bound for y.
- getMaxY() - Method in class org.djutils.draw.bounds.Bounds2d
- getMaxY() - Method in class org.djutils.draw.bounds.Bounds3d
- getMaxZ() - Method in class org.djutils.draw.bounds.Bounds3d
-
Return the upper bound for z.
- getMinX() - Method in interface org.djutils.draw.bounds.Bounds
-
Return the absolute lower bound for x.
- getMinX() - Method in class org.djutils.draw.bounds.Bounds2d
- getMinX() - Method in class org.djutils.draw.bounds.Bounds3d
- getMinY() - Method in interface org.djutils.draw.bounds.Bounds
-
Return the absolute lower bound for y.
- getMinY() - Method in class org.djutils.draw.bounds.Bounds2d
- getMinY() - Method in class org.djutils.draw.bounds.Bounds3d
- getMinZ() - Method in class org.djutils.draw.bounds.Bounds3d
-
Return the lower bound for z.
- getPoint(double) - Method in class org.djutils.draw.curve.Arc2d
- getPoint(double) - Method in class org.djutils.draw.curve.Bezier2d
- getPoint(double) - Method in class org.djutils.draw.curve.Bezier3d
- getPoint(double) - Method in class org.djutils.draw.curve.BezierCubic2d
- getPoint(double) - Method in class org.djutils.draw.curve.Clothoid2d
- getPoint(double) - Method in interface org.djutils.draw.curve.Curve
-
Returns the point at the given fraction of this Curve.
- getPoint(double) - Method in interface org.djutils.draw.curve.Flattener.FlattableCurve
-
Get a Point for some fraction along the Curve.
- getPoint(double) - Method in class org.djutils.draw.curve.Straight2d
- getPoint(double, ContinuousPiecewiseLinearFunction) - Method in class org.djutils.draw.curve.Arc2d
- getPoint(double, ContinuousPiecewiseLinearFunction) - Method in class org.djutils.draw.curve.BezierCubic2d
- getPoint(double, ContinuousPiecewiseLinearFunction) - Method in class org.djutils.draw.curve.Clothoid2d
- getPoint(double, ContinuousPiecewiseLinearFunction) - Method in interface org.djutils.draw.curve.OffsetCurve2d
-
Returns the point at the given fraction.
- getPoint(double, ContinuousPiecewiseLinearFunction) - Method in class org.djutils.draw.curve.Straight2d
- getPointList() - Method in interface org.djutils.draw.Drawable
-
Create a list of all points that make up this Drawable.
- getSegment(int) - Method in class org.djutils.draw.line.Polygon2d
- getSegment(int) - Method in class org.djutils.draw.line.Polygon3d
- getSegment(int) - Method in interface org.djutils.draw.line.PolyLine
-
Extract one LineSegment of this PolyLine, or Polygon.
- getSegment(int) - Method in class org.djutils.draw.line.PolyLine2d
- getSegment(int) - Method in class org.djutils.draw.line.PolyLine3d
- getStartCurvature() - Method in class org.djutils.draw.curve.Arc2d
- getStartCurvature() - Method in class org.djutils.draw.curve.BezierCubic2d
-
Start curvature of this BezierCubic2d.
- getStartCurvature() - Method in class org.djutils.draw.curve.Clothoid2d
-
Start curvature of this Clothoid.
- getStartCurvature() - Method in interface org.djutils.draw.curve.Curvature
-
Start curvature of this Curve2d..
- getStartCurvature() - Method in class org.djutils.draw.curve.Straight2d
-
Start curvature of this Straight.
- getStartDirection() - Method in interface org.djutils.draw.curve.Curve
-
Start direction of this Curve.
- getStartDirection() - Method in interface org.djutils.draw.curve.Curve2d
- getStartDirection() - Method in interface org.djutils.draw.curve.Curve3d
- getStartPoint() - Method in class org.djutils.draw.curve.Clothoid2d
- getStartPoint() - Method in interface org.djutils.draw.curve.Curve
-
Start point of this Curve.
- getStartPoint() - Method in interface org.djutils.draw.curve.Curve2d
- getStartPoint() - Method in interface org.djutils.draw.curve.Curve3d
- getStartPoint() - Method in interface org.djutils.draw.line.LineSegment
-
Get the start point of this LineSegment.
- getStartPoint() - Method in class org.djutils.draw.line.LineSegment2d
- getStartPoint() - Method in class org.djutils.draw.line.LineSegment3d
- getStartRadius() - Method in class org.djutils.draw.curve.Arc2d
- getStartRadius() - Method in class org.djutils.draw.curve.Clothoid2d
-
Start radius of this Clothoid.
- getStartRadius() - Method in interface org.djutils.draw.curve.Curvature
-
Start radius of this Curve2d..
- getT(double) - Method in class org.djutils.draw.curve.BezierCubic2d
-
Returns the t value at the provided length along the Bézier curve.
- getT(double) - Method in interface org.djutils.draw.curve.OffsetCurve2d
-
Convert a position along the curve to a t-value in the
OffsetCurve2d
domain. - getVolume() - Method in class org.djutils.draw.bounds.Bounds3d
-
Return the volume of this Bounds3d.
- getWireframeLines() - Method in class org.djutils.draw.volume.Volume3d
-
Return the lines making up the wireframe of this object.
- getX() - Method in interface org.djutils.draw.point.Point
-
Return the x-coordinate.
- getX() - Method in class org.djutils.draw.point.Point2d
- getX() - Method in class org.djutils.draw.point.Point3d
- getX(int) - Method in class org.djutils.draw.curve.Bezier2d
-
Retrieve the x-coordinate of the i'th point of this Bézier curve.
- getX(int) - Method in class org.djutils.draw.curve.Bezier3d
-
Retrieve the x-coordinate of the i'th point of this Bézier curve.
- getX(int) - Method in interface org.djutils.draw.line.PolyLine
-
Return the x-coordinate of a point of this PolyLine.
- getX(int) - Method in class org.djutils.draw.line.PolyLine2d
- getX(int) - Method in class org.djutils.draw.line.PolyLine3d
- getY() - Method in interface org.djutils.draw.point.Point
-
Return the y-coordinate.
- getY() - Method in class org.djutils.draw.point.Point2d
- getY() - Method in class org.djutils.draw.point.Point3d
- getY(int) - Method in class org.djutils.draw.curve.Bezier2d
-
Retrieve the y-coordinate of the i'th point of this Bézier curve.
- getY(int) - Method in class org.djutils.draw.curve.Bezier3d
-
Retrieve the y-coordinate of the i'th point of this Bézier curve.
- getY(int) - Method in interface org.djutils.draw.line.PolyLine
-
Return the y-coordinate of a point of this PolyLine.
- getY(int) - Method in class org.djutils.draw.line.PolyLine2d
- getY(int) - Method in class org.djutils.draw.line.PolyLine3d
- getZ() - Method in class org.djutils.draw.point.Point3d
-
Return the z-coordinate.
- getZ(int) - Method in class org.djutils.draw.curve.Bezier3d
-
Retrieve the z-coordinate of the i'th point of this Bézier curve.
- getZ(int) - Method in class org.djutils.draw.line.PolyLine3d
-
Return the z-coordinate of a point of this PolyLine.
H
- hashCode() - Method in class org.djutils.draw.bounds.Bounds2d
- hashCode() - Method in class org.djutils.draw.bounds.Bounds3d
- hashCode() - Method in class org.djutils.draw.curve.Bezier2d
- hashCode() - Method in class org.djutils.draw.curve.Bezier3d
- hashCode() - Method in class org.djutils.draw.Direction3d
- hashCode() - Method in record class org.djutils.draw.function.ContinuousPiecewiseLinearFunction.TupleSt
-
Returns a hash code value for this object.
- hashCode() - Method in class org.djutils.draw.line.LineSegment2d
- hashCode() - Method in class org.djutils.draw.line.LineSegment3d
- hashCode() - Method in class org.djutils.draw.line.PolyLine2d
- hashCode() - Method in class org.djutils.draw.line.PolyLine3d
- hashCode() - Method in class org.djutils.draw.line.Ray2d
- hashCode() - Method in class org.djutils.draw.line.Ray3d
- hashCode() - Method in class org.djutils.draw.point.DirectedPoint2d
- hashCode() - Method in class org.djutils.draw.point.DirectedPoint3d
- hashCode() - Method in class org.djutils.draw.point.OrientedPoint3d
- hashCode() - Method in class org.djutils.draw.point.Point2d
- hashCode() - Method in class org.djutils.draw.point.Point3d
- hashCode() - Method in class org.djutils.draw.surface.Surface3d
- hashCode() - Method in class org.djutils.draw.Transform2d
- hashCode() - Method in class org.djutils.draw.Transform3d
- horizontalDirection() - Method in class org.djutils.draw.point.Point3d
-
Return the direction of the point in radians with respect to the origin, ignoring the z-coordinate.
- horizontalDirection(Point3d) - Method in class org.djutils.draw.point.Point3d
-
Return the direction to another point, in radians, ignoring the z-coordinate.
- horizontalDistance(Point3d) - Method in class org.djutils.draw.point.Point3d
-
Return the Euclidean distance between this point and the provided point, ignoring the z-coordinate.
- horizontalDistanceSquared(Point3d) - Method in class org.djutils.draw.point.Point3d
-
Return the squared distance between the coordinates of this point and the provided point, ignoring the z-coordinate.
I
- instantiate(double, List<Point2d>) - Method in class org.djutils.draw.line.PolyLine2d
- instantiate(double, List<Point3d>) - Method in class org.djutils.draw.line.PolyLine3d
- instantiate(double, List<P>) - Method in interface org.djutils.draw.line.PolyLine
-
Constructor that can be accessed as a method (used to implement default methods in this interface).
- instantiate(List<P>) - Method in interface org.djutils.draw.line.PolyLine
-
Constructor that can be accessed as a method (used to implement default methods in this interface).
- interpolate(DirectedPoint2d, double) - Method in class org.djutils.draw.point.DirectedPoint2d
-
Interpolate towards another DirectedPoint2d with a fraction.
- interpolate(DirectedPoint3d, double) - Method in class org.djutils.draw.point.DirectedPoint3d
-
Interpolate towards another DirectedPoint3d with a fraction.
- interpolate(OrientedPoint3d, double) - Method in class org.djutils.draw.point.OrientedPoint3d
-
Interpolate towards another OrientedPoint3d with a fraction.
- interpolate(Point2d, double) - Method in class org.djutils.draw.point.Point2d
- interpolate(Point3d, double) - Method in class org.djutils.draw.point.Point3d
- interpolate(P, double) - Method in interface org.djutils.draw.point.Point
-
Interpolate towards another Point with a fraction.
- intersection(B) - Method in interface org.djutils.draw.bounds.Bounds
-
Return the intersecting Bounds of this Bounds and another Bounds.
- intersection(Bounds2d) - Method in class org.djutils.draw.bounds.Bounds2d
- intersection(Bounds3d) - Method in class org.djutils.draw.bounds.Bounds3d
- intersectionOfLines(double, double, double, double, boolean, boolean, double, double, double, double, boolean, boolean) - Static method in class org.djutils.draw.point.Point2d
-
Compute the 2D intersection of two lines.
- intersectionOfLines(double, double, double, double, double, double, double, double) - Static method in class org.djutils.draw.point.Point2d
-
Compute the 2D intersection of two lines.
- intersectionOfLines(Point2d, Point2d, Point2d, Point2d) - Static method in class org.djutils.draw.point.Point2d
-
Compute the 2D intersection of two lines.
- intersectionOfLineSegments(double, double, double, double, double, double, double, double) - Static method in class org.djutils.draw.point.Point2d
-
Compute the 2D intersection of two line segments.
- intersectionOfLineSegments(LineSegment2d, LineSegment2d) - Static method in class org.djutils.draw.point.Point2d
-
Compute the 2D intersection of two line segments.
- intersectionOfLineSegments(Point2d, Point2d, Point2d, Point2d) - Static method in class org.djutils.draw.point.Point2d
-
Compute the 2D intersection of two line segments.
- intersects(B) - Method in interface org.djutils.draw.bounds.Bounds
-
Return whether this Bounds intersects another Bounds.
- intersects(Bounds2d) - Method in class org.djutils.draw.bounds.Bounds2d
- intersects(Bounds3d) - Method in class org.djutils.draw.bounds.Bounds3d
- intersects(Polygon2d) - Method in class org.djutils.draw.line.Polygon2d
-
Determine if this Polygon2d intersects another Polygon2d.
- isConvex() - Method in class org.djutils.draw.line.Polygon2d
-
Determine if this Polygon is convex.
- isLeft() - Method in class org.djutils.draw.curve.Arc2d
-
Does this arc bend to the left?
- iterator() - Method in class org.djutils.draw.bounds.Bounds2d
- iterator() - Method in class org.djutils.draw.bounds.Bounds3d
- iterator() - Method in class org.djutils.draw.function.ContinuousPiecewiseLinearFunction
- iterator() - Method in class org.djutils.draw.line.LineSegment2d
- iterator() - Method in class org.djutils.draw.line.LineSegment3d
- iterator() - Method in class org.djutils.draw.line.PolyLine2d
- iterator() - Method in class org.djutils.draw.line.PolyLine3d
- iterator() - Method in class org.djutils.draw.line.Ray2d
- iterator() - Method in class org.djutils.draw.line.Ray3d
- iterator() - Method in class org.djutils.draw.point.DirectedPoint2d
- iterator() - Method in class org.djutils.draw.point.DirectedPoint3d
- iterator() - Method in class org.djutils.draw.point.OrientedPoint3d
- iterator() - Method in class org.djutils.draw.point.Point2d
- iterator() - Method in class org.djutils.draw.point.Point3d
- iterator() - Method in class org.djutils.draw.surface.Surface3d
- iteratorToList(Iterator<Point2d>) - Static method in class org.djutils.draw.line.PolyLine2d
-
Build a list from the Point2d objects that an iterator provides.
- iteratorToList(Iterator<Point3d>) - Static method in class org.djutils.draw.line.PolyLine3d
-
Build a list from the Point3d objects that an iterator provides.
L
- length() - Method in class org.djutils.draw.curve.Bezier3d
-
Returns the estimated path length of this Bézier curve using the method of numerical approach of Legendre-Gauss, which is quite accurate.
- lengthAtIndex(int) - Method in interface org.djutils.draw.line.PolyLine
-
Access the internal lengthIndexedLine.
- lengthAtIndex(int) - Method in class org.djutils.draw.line.PolyLine2d
- lengthAtIndex(int) - Method in class org.djutils.draw.line.PolyLine3d
- LineSegment<P extends Point<P>,
D extends Directed<D>> - Interface in org.djutils.draw.line -
LineSegment is the interface for a line segment bound by 2 end points.
- LineSegment2d - Class in org.djutils.draw.line
-
LineSegment2d is a line segment bound by 2 end points in 2D-space.
- LineSegment2d(double, double, double, double) - Constructor for class org.djutils.draw.line.LineSegment2d
-
Construct a new LineSegment2d from four coordinates.
- LineSegment2d(double, double, Point2d) - Constructor for class org.djutils.draw.line.LineSegment2d
-
Construct a new LineSegment2d from two coordinates and a Point2d.
- LineSegment2d(Point2d, double, double) - Constructor for class org.djutils.draw.line.LineSegment2d
-
Construct a new LineSegment2d from a Point2d and two coordinates.
- LineSegment2d(Point2d, Point2d) - Constructor for class org.djutils.draw.line.LineSegment2d
-
Construct a new LineSegment2d from two Point2d objects.
- LineSegment3d - Class in org.djutils.draw.line
-
LineSegment3d is a line segment bound by 2 end points in 3D-space.
- LineSegment3d(double, double, double, double, double, double) - Constructor for class org.djutils.draw.line.LineSegment3d
-
Construct a new LineSegment3d from six coordinates.
- LineSegment3d(double, double, double, Point3d) - Constructor for class org.djutils.draw.line.LineSegment3d
-
Construct a new LineSegment3d from three coordinates and a Point3d.
- LineSegment3d(Point3d, double, double, double) - Constructor for class org.djutils.draw.line.LineSegment3d
-
Construct a new LineSegment3d from a Point3d and three coordinates.
- LineSegment3d(Point3d, Point3d) - Constructor for class org.djutils.draw.line.LineSegment3d
-
Construct a new LineSegment3d from two Point3d objects.
- loadKnot(NavigableMap<Double, Point2d>, double, OffsetCurve2d, ContinuousPiecewiseLinearFunction) - Method in interface org.djutils.draw.curve.OffsetFlattener2d
-
Load one knot in the map of fractions and points.
- loadKnot(NavigableMap<Double, P>, double, C) - Method in interface org.djutils.draw.curve.Flattener
-
Load one knot in the map of fractions and points.
- loadKnots(NavigableMap<Double, Point2d>, OffsetCurve2d, ContinuousPiecewiseLinearFunction) - Method in interface org.djutils.draw.curve.OffsetFlattener2d
-
Load the knots into the navigable map (including the start point and the end point).
- loadKnots(NavigableMap<Double, P>, C) - Method in interface org.djutils.draw.curve.Flattener
-
Load the knots into the navigable map (including the start point and the end point).
M
- makeArray(Point2d[], Function<Point2d, Double>) - Static method in class org.djutils.draw.line.PolyLine2d
-
Make an array of double an fill it with the appropriate coordinate of points.
- makeArray(Point3d[], Function<Point3d, Double>) - Static method in class org.djutils.draw.line.PolyLine3d
-
Make an array of double an fill it with the appropriate coordinate of points.
- makeFlattableCurve(OffsetCurve2d, ContinuousPiecewiseLinearFunction) - Method in interface org.djutils.draw.curve.OffsetFlattener2d
-
Make a FlattableCurve object.
- MaxAngle(double) - Constructor for class org.djutils.draw.curve.Flattener2d.MaxAngle
-
Flattener that limits the angle difference between the
Curve2d
and thePolyLine2d
. - MaxAngle(double) - Constructor for class org.djutils.draw.curve.Flattener3d.MaxAngle
-
Flattener that limits the angle difference between the
Curve3d
and thePolyLine3d
. - MaxAngle(double) - Constructor for class org.djutils.draw.curve.OffsetFlattener2d.MaxAngle
-
Construct a flattener that limits the angle difference between the
OffsetCurve2d
and thePolyLine2d
. - MaxDeviation(double) - Constructor for class org.djutils.draw.curve.Flattener2d.MaxDeviation
-
Construct a flattener that limits the distance between the
Curve2d
and thePolyLine2d
. - MaxDeviation(double) - Constructor for class org.djutils.draw.curve.Flattener3d.MaxDeviation
-
Construct a flattener that limits the distance between the
Curve3d
and thePolyLine3d
. - MaxDeviation(double) - Constructor for class org.djutils.draw.curve.OffsetFlattener2d.MaxDeviation
-
Construct an OffsetFlattener that limits the distance between the
OffsetCurve2d
and thePolyLine2d
. - MaxDeviationAndAngle(double, double) - Constructor for class org.djutils.draw.curve.Flattener2d.MaxDeviationAndAngle
-
Construct a flattener that limits the distance and angle difference between the
curve2d
and thePolyLine2d
. - MaxDeviationAndAngle(double, double) - Constructor for class org.djutils.draw.curve.Flattener3d.MaxDeviationAndAngle
-
Construct a flattener that limits the distance and angle difference between the
curve3d
and thePolyLine3d
. - MaxDeviationAndAngle(double, double) - Constructor for class org.djutils.draw.curve.OffsetFlattener2d.MaxDeviationAndAngle
-
Construct a flattener that limits distance and angle difference between the
OffsetCurve2d
and thePolyLine2d
. - midPoint() - Method in interface org.djutils.draw.bounds.Bounds
-
Return the mid point of this Bounds object.
- midPoint() - Method in class org.djutils.draw.bounds.Bounds2d
- midPoint() - Method in class org.djutils.draw.bounds.Bounds3d
- mulMatMat(double[], double[]) - Static method in class org.djutils.draw.Transform2d
-
Multiply a 3x3 matrix (stored as a 9-value array by row) with another 3x3-matrix.
- mulMatMat(double[], double[]) - Static method in class org.djutils.draw.Transform3d
-
Multiply a 4x4 matrix (stored as a 16-value array by row) with another 4x4-matrix.
- mulMatVec(double[], double[]) - Static method in class org.djutils.draw.Transform2d
-
Multiply a 3x3 matrix (stored as a 9-value array by row) with a 4-value vector.
- mulMatVec(double[], double[]) - Static method in class org.djutils.draw.Transform3d
-
Multiply a 4x4 matrix (stored as a 16-value array by row) with a 4-value vector.
- mulMatVec2(double[], double[]) - Static method in class org.djutils.draw.Transform2d
-
Multiply a 3x3 matrix (stored as a 9-value array by row) with a 3-value vector and a 1 for the 3rd value.
- mulMatVec3(double[], double[]) - Static method in class org.djutils.draw.Transform3d
-
Multiply a 4x4 matrix (stored as a 16-value array by row) with a 3-value vector and a 1 for the 4th value.
N
- neg() - Method in interface org.djutils.draw.Directed
-
Return a new D with negated coordinate values.
- neg() - Method in class org.djutils.draw.line.Ray2d
- neg() - Method in class org.djutils.draw.line.Ray3d
- neg() - Method in interface org.djutils.draw.Oriented
-
Return a new Oriented with negated coordinate values.
- neg() - Method in class org.djutils.draw.point.DirectedPoint2d
- neg() - Method in class org.djutils.draw.point.DirectedPoint3d
- neg() - Method in class org.djutils.draw.point.OrientedPoint3d
- neg() - Method in interface org.djutils.draw.point.Point
-
Return a new Point with negated coordinate values.
- neg() - Method in class org.djutils.draw.point.Point2d
- neg() - Method in class org.djutils.draw.point.Point3d
- NO_FILTER - Static variable in interface org.djutils.draw.line.PolyLine
-
Use this value for
epsilon
to disable all filtering. - noiseFilteredLine(double) - Method in interface org.djutils.draw.line.PolyLine
-
Construct a new PolyLine that is equal to this line except for segments that are shorter than the
noiseLevel
. - noiseFilteredLine(double) - Method in class org.djutils.draw.line.PolyLine2d
- noiseFilteredLine(double) - Method in class org.djutils.draw.line.PolyLine3d
- normalize() - Method in class org.djutils.draw.point.DirectedPoint2d
- normalize() - Method in class org.djutils.draw.point.DirectedPoint3d
- normalize() - Method in class org.djutils.draw.point.OrientedPoint3d
- normalize() - Method in interface org.djutils.draw.point.Point
-
Return a new Point with a distance of 1 to the origin.
- normalize() - Method in class org.djutils.draw.point.Point2d
- normalize() - Method in class org.djutils.draw.point.Point3d
- NumSegments(int) - Constructor for class org.djutils.draw.curve.Flattener2d.NumSegments
-
Construct a flattener that approximates the
Curve2d
with a specified number of segments. - NumSegments(int) - Constructor for class org.djutils.draw.curve.Flattener3d.NumSegments
-
Construct a flattener that approximates the
Curve3d
with a specified number of segments. - NumSegments(int) - Constructor for class org.djutils.draw.curve.OffsetFlattener2d.NumSegments
-
Construct a flattener that approximates the
OffsetCurve2d
with a specified number of segments.
O
- of(double...) - Static method in class org.djutils.draw.function.ContinuousPiecewiseLinearFunction
-
Create ContinuousPiecewiseLinearFunction.
- offset(ContinuousPiecewiseLinearFunction) - Method in class org.djutils.draw.curve.Straight2d
-
Offset a PolyLine2d based on variable offset.
- OffsetCurve2d - Interface in org.djutils.draw.curve
-
OffsetCurve2d.java.
- OffsetFlattener2d - Interface in org.djutils.draw.curve
-
Flattens a Curve2d with piece-wise linear offset in to a PolyLine2d.
- OffsetFlattener2d.MaxAngle - Class in org.djutils.draw.curve
-
OffsetFlattener that limits the angle difference between the
OffsetCurve2d
and thePolyLine2d
. - OffsetFlattener2d.MaxDeviation - Class in org.djutils.draw.curve
-
Flattener that limits the distance between the
OffsetCurvee2d
and thePolyLine2d
. - OffsetFlattener2d.MaxDeviationAndAngle - Class in org.djutils.draw.curve
-
OffsetFlattener that limits distance and angle difference between the
OffsetCurve2d
and thePolyLine2d
. - OffsetFlattener2d.NumSegments - Class in org.djutils.draw.curve
-
Flattener that approximates the
OffsetCurve2d
with a specified number of segments. - offsetLine(double) - Method in interface org.djutils.draw.line.PolyLine
-
Construct an offset PolyLine.
- offsetLine(double[], double[], double) - Method in interface org.djutils.draw.line.PolyLine
-
Create a line at linearly varying offset from this line.
- offsetLine(double[], double[], double) - Method in class org.djutils.draw.line.PolyLine2d
- offsetLine(double[], double[], double) - Method in class org.djutils.draw.line.PolyLine3d
- offsetLine(double, double) - Method in interface org.djutils.draw.line.PolyLine
-
Construct an offset line.
- offsetLine(double, double, double, double, double, double) - Method in interface org.djutils.draw.line.PolyLine
-
Construct an offset line.
- offsetLine(double, double, double, double, double, double) - Method in class org.djutils.draw.line.PolyLine2d
- offsetLine(double, double, double, double, double, double) - Method in class org.djutils.draw.line.PolyLine3d
- offsetLine(double, double, double, double, double, double, double) - Method in interface org.djutils.draw.line.PolyLine
-
Construct an offset line.
- offsetLine(double, double, double, double, double, double, double) - Method in class org.djutils.draw.line.PolyLine2d
- offsetLine(double, double, double, double, double, double, double) - Method in class org.djutils.draw.line.PolyLine3d
- org.djutils.draw - package org.djutils.draw
-
The draw package contains the generic classes for device-independent drawing.
- org.djutils.draw.bounds - package org.djutils.draw.bounds
-
Methods for Bounds of an object to quickly determine whether an object needs to be drawn or not.
- org.djutils.draw.curve - package org.djutils.draw.curve
-
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. - org.djutils.draw.function - package org.djutils.draw.function
-
Double to Double functions, initially for offsetting Curves, but possibly much more useful.
- org.djutils.draw.line - package org.djutils.draw.line
-
The line package provides an interface and different implementations for lines.
- org.djutils.draw.point - package org.djutils.draw.point
-
The djutils-draw point package provides a set of interfaces and implementations of Points.
- org.djutils.draw.surface - package org.djutils.draw.surface
-
The djutils-draw surface package provides an interface and different implementations for Areas.
- org.djutils.draw.volume - package org.djutils.draw.volume
-
The d1 package provides an interface and different implementations for Volumes.
- Oriented<O extends Oriented<O>> - Interface in org.djutils.draw
-
Oriented is an interface to indicate an object has a direction.
- Oriented2d<O extends Oriented<O>> - Interface in org.djutils.draw
-
Oriented2d is an interface to indicate an object has a direction in two dimensions.
- Oriented3d<O extends Oriented<O>> - Interface in org.djutils.draw
-
Oriented3d is an interface to indicate an object has a direction in three dimensions.
- OrientedPoint3d - Class in org.djutils.draw.point
-
A OrientedPoint3d is a point with an x, y, and z coordinate, plus a 3d orientation.
- OrientedPoint3d(double[]) - Constructor for class org.djutils.draw.point.OrientedPoint3d
-
Create a new OrientedPoint3d with x, y, and z coordinates and direction 0,0,0.
- OrientedPoint3d(double[], double[]) - Constructor for class org.djutils.draw.point.OrientedPoint3d
-
Create a new OrientedPoint3d with x, y, and z coordinates packed in a double array and orientation specified using a double array of three elements (containing dirX,dirY,dirZ in that order).
- OrientedPoint3d(double[], double, double, double) - Constructor for class org.djutils.draw.point.OrientedPoint3d
-
Create a new OrientedPoint3d with x, y, and z coordinates and orientation dirX,dirY,dirZ.
- OrientedPoint3d(double, double, double) - Constructor for class org.djutils.draw.point.OrientedPoint3d
-
Create a new OrientedPoint3d with x, y, and z coordinates and direction 0,0,0.
- OrientedPoint3d(double, double, double, double[]) - Constructor for class org.djutils.draw.point.OrientedPoint3d
-
Create a new OrientedPoint3d with x, y, and z coordinates and orientation specified using a double array of three elements (containing dirX,dirY,dirZ in that order).
- OrientedPoint3d(double, double, double, double, double, double) - Constructor for class org.djutils.draw.point.OrientedPoint3d
-
Create a new OrientedPoint3d with x, y, and z coordinates and orientation dirX,dirY,dirZ.
- OrientedPoint3d(Point3d, double, double, double) - Constructor for class org.djutils.draw.point.OrientedPoint3d
-
Create a new OrientedPoint3d from another point and specified orientation dirX,dirY,dirZ.
P
- Point<P extends Point<P>> - Interface in org.djutils.draw.point
-
Point is the interface for the Point2d and Point3d implementations, standardizing as many of the methods as possible.
- Point2d - Class in org.djutils.draw.point
-
A Point2d is an immutable Point with an x and y coordinate, stored with double precision.
- Point2d(double[]) - Constructor for class org.djutils.draw.point.Point2d
-
Create a new Point2d from a x and y coordinates provided as values in a double array.
- Point2d(double, double) - Constructor for class org.djutils.draw.point.Point2d
-
Create a new Point2d from x and y coordinates provided as double arguments.
- Point2d(Point2D) - Constructor for class org.djutils.draw.point.Point2d
-
Create an new Point2d from x and y obtained from a java.awt.geom.Point2D.
- Point3d - Class in org.djutils.draw.point
-
A Point3d is an immutable point with an x, y, and z coordinate, stored with double precision.
- Point3d(double[]) - Constructor for class org.djutils.draw.point.Point3d
-
Create a new Point3d from x, y and z coordinates provided as values in a double array.
- Point3d(double, double, double) - Constructor for class org.djutils.draw.point.Point3d
-
Create a new Point from x, y and z coordinates provided as double arguments.
- Point3d(Point2D, double) - Constructor for class org.djutils.draw.point.Point3d
-
Create an immutable point from x, y obtained from a AWT Point2D and double z.
- Point3d(Point2d, double) - Constructor for class org.djutils.draw.point.Point3d
-
Create a new Point3d from x, y stored in a java.awt.geom.Point2D and double z.
- pointsOf(Collection<Drawable2d>) - Static method in class org.djutils.draw.bounds.Bounds2d
-
Return an iterator that will return all points of one or more Drawable2d objects.
- pointsOf(Collection<Drawable3d>) - Static method in class org.djutils.draw.bounds.Bounds3d
-
Return an iterator that will return all points of one or more Drawable3d objects.
- pointsOf(Drawable2d...) - Static method in class org.djutils.draw.bounds.Bounds2d
-
Return an iterator that will return all points of one or more Drawable objects.
- pointsOf(Drawable3d...) - Static method in class org.djutils.draw.bounds.Bounds3d
-
Return an iterator that will return all points of one or more Drawable objects.
- Polygon2d - Class in org.djutils.draw.line
-
Closed PolyLine2d.
- Polygon2d(double[], double[]) - Constructor for class org.djutils.draw.line.Polygon2d
-
Construct a new Polygon2d.
- Polygon2d(double, double[], double[]) - Constructor for class org.djutils.draw.line.Polygon2d
-
Construct a new Polygon2d.
- Polygon2d(double, Iterator<Point2d>) - Constructor for class org.djutils.draw.line.Polygon2d
-
Construct a new Polygon2d from an iterator that yields Point2d.
- Polygon2d(double, List<Point2d>) - Constructor for class org.djutils.draw.line.Polygon2d
-
Construct a new Polygon2d from a list of Point2d objects.
- Polygon2d(double, Point2d[]) - Constructor for class org.djutils.draw.line.Polygon2d
-
Construct a new Polygon2d.
- Polygon2d(double, Point2d, Point2d, Point2d...) - Constructor for class org.djutils.draw.line.Polygon2d
-
Construct a new Polygon2d.
- Polygon2d(Iterator<Point2d>) - Constructor for class org.djutils.draw.line.Polygon2d
-
Construct a new Polygon2d from an iterator that yields Point2d.
- Polygon2d(List<Point2d>) - Constructor for class org.djutils.draw.line.Polygon2d
-
Construct a new Polygon2d from a list of Point2d objects.
- Polygon2d(Polygon2d) - Constructor for class org.djutils.draw.line.Polygon2d
-
Construct a new Polygon2d from an existing one.
- Polygon2d(Point2d[]) - Constructor for class org.djutils.draw.line.Polygon2d
-
Construct a new Polygon2d.
- Polygon2d(Point2d, Point2d, Point2d...) - Constructor for class org.djutils.draw.line.Polygon2d
-
Construct a new Polygon2d.
- Polygon3d - Class in org.djutils.draw.line
-
Closed PolyLine3d.
- Polygon3d(double[], double[], double[]) - Constructor for class org.djutils.draw.line.Polygon3d
-
Construct a new Polygon3d.
- Polygon3d(double, double[], double[], double[]) - Constructor for class org.djutils.draw.line.Polygon3d
-
Construct a new Polygon3d.
- Polygon3d(double, Iterator<Point3d>) - Constructor for class org.djutils.draw.line.Polygon3d
-
Construct a new Polygon3d from an iterator that yields Point3d.
- Polygon3d(double, List<Point3d>) - Constructor for class org.djutils.draw.line.Polygon3d
-
Construct a new Polygon3d from a list of Point3d objects.
- Polygon3d(double, Point3d[]) - Constructor for class org.djutils.draw.line.Polygon3d
-
Construct a new Polygon3d.
- Polygon3d(double, Point3d, Point3d, Point3d...) - Constructor for class org.djutils.draw.line.Polygon3d
-
Construct a new Polygon3d.
- Polygon3d(Iterator<Point3d>) - Constructor for class org.djutils.draw.line.Polygon3d
-
Construct a new Polygon3d from an iterator that yields Point3d.
- Polygon3d(List<Point3d>) - Constructor for class org.djutils.draw.line.Polygon3d
-
Construct a new Polygon3d from a list of Point3d objects.
- Polygon3d(Polygon3d) - Constructor for class org.djutils.draw.line.Polygon3d
-
Construct a new Polygon3d from an existing one.
- Polygon3d(Point3d[]) - Constructor for class org.djutils.draw.line.Polygon3d
-
Construct a new Polygon3d.
- Polygon3d(Point3d, Point3d, Point3d...) - Constructor for class org.djutils.draw.line.Polygon3d
-
Construct a new Polygon3d.
- PolyLine<L extends PolyLine<L,
P, R, D, LS>, P extends Point<P>, R extends Ray<R, D, P>, D extends Directed<D>, LS extends LineSegment<P, D>> - Interface in org.djutils.draw.line -
PolyLine is the interface for PolyLine2d and PolyLine3d implementations.
- PolyLine.TransitionFunction - Interface in org.djutils.draw.line
-
Interface for transition function.
- PolyLine2d - Class in org.djutils.draw.line
-
Implementation of PolyLine for 2D space.
- PolyLine2d(boolean, double, double[], double[]) - Constructor for class org.djutils.draw.line.PolyLine2d
-
Construct a new PolyLine2d from an array of double x values and an array of double y values.
- PolyLine2d(double[], double[]) - Constructor for class org.djutils.draw.line.PolyLine2d
-
Construct a new PolyLine2d from an array of x-values and an array of y-values.
- PolyLine2d(double, double[], double[]) - Constructor for class org.djutils.draw.line.PolyLine2d
-
Construct a new PolyLine2d from an array of x-values and an array of y-values.
- PolyLine2d(double, double, double) - Constructor for class org.djutils.draw.line.PolyLine2d
-
Construct a degenerate PolyLine2d (consisting of only one point).
- PolyLine2d(double, Path2D) - Constructor for class org.djutils.draw.line.PolyLine2d
-
Construct a new PolyLine2d from a Path2D.
- PolyLine2d(double, Iterator<Point2d>) - Constructor for class org.djutils.draw.line.PolyLine2d
-
Construct a new PolyLine2d from an iterator that yields Point2d objects.
- PolyLine2d(double, List<Point2d>) - Constructor for class org.djutils.draw.line.PolyLine2d
-
Construct a new PolyLine2d from a List<Point2d>.
- PolyLine2d(double, Point2d[]) - Constructor for class org.djutils.draw.line.PolyLine2d
-
Construct a new PolyLine2d from an array of Point2d.
- PolyLine2d(double, Point2d, Point2d, Point2d...) - Constructor for class org.djutils.draw.line.PolyLine2d
-
Construct a new PolyLine2d from two or more Point2d arguments.
- PolyLine2d(Path2D) - Constructor for class org.djutils.draw.line.PolyLine2d
-
Construct a new PolyLine2d from a Path2D.
- PolyLine2d(Iterator<Point2d>) - Constructor for class org.djutils.draw.line.PolyLine2d
-
Construct a new PolyLine2d from an iterator that yields Point2d objects.
- PolyLine2d(List<Point2d>) - Constructor for class org.djutils.draw.line.PolyLine2d
-
Construct a new PolyLine2d from a List<Point2d>.
- PolyLine2d(PolyLine2d) - Constructor for class org.djutils.draw.line.PolyLine2d
-
Construct a new PolyLine2d from an existing one.
- PolyLine2d(DirectedPoint2d) - Constructor for class org.djutils.draw.line.PolyLine2d
-
Construct a degenerate PolyLine2d (consisting of only one point).
- PolyLine2d(Point2d[]) - Constructor for class org.djutils.draw.line.PolyLine2d
-
Construct a new PolyLine2d from an array of Point2d.
- PolyLine2d(Point2d, double) - Constructor for class org.djutils.draw.line.PolyLine2d
-
Construct a degenerate PolyLine2d (consisting of only one point).
- PolyLine2d(Point2d, Point2d, Point2d...) - Constructor for class org.djutils.draw.line.PolyLine2d
-
Construct a new PolyLine2d from two or more Point2d arguments.
- PolyLine3d - Class in org.djutils.draw.line
-
Implementation of PolyLine for 3D space.
- PolyLine3d(double[], double[], double[]) - Constructor for class org.djutils.draw.line.PolyLine3d
-
Construct a new PolyLine3d from an array of Point2d.
- PolyLine3d(double, double[], double[], double[]) - Constructor for class org.djutils.draw.line.PolyLine3d
-
Construct a new PolyLine3d from an array of Point2d.
- PolyLine3d(double, double, double, double, double) - Constructor for class org.djutils.draw.line.PolyLine3d
-
Construct a degenerate PolyLine3d (consisting of only one point).
- PolyLine3d(double, Iterator<Point3d>) - Constructor for class org.djutils.draw.line.PolyLine3d
-
Construct a new PolyLine3d from an iterator that yields Point3d objects.
- PolyLine3d(double, List<Point3d>) - Constructor for class org.djutils.draw.line.PolyLine3d
-
Construct a new PolyLine3d from a List<Point3d>.
- PolyLine3d(double, Point3d[]) - Constructor for class org.djutils.draw.line.PolyLine3d
-
Construct a new PolyLine3d from an array of Point3d.
- PolyLine3d(double, Point3d, Point3d, Point3d...) - Constructor for class org.djutils.draw.line.PolyLine3d
-
Construct a new PolyLine3d from two or more Point3d arguments.
- PolyLine3d(Iterator<Point3d>) - Constructor for class org.djutils.draw.line.PolyLine3d
-
Construct a new PolyLine3d from an iterator that yields Point3d objects.
- PolyLine3d(List<Point3d>) - Constructor for class org.djutils.draw.line.PolyLine3d
-
Construct a new PolyLine3d from a List<Point3d>.
- PolyLine3d(PolyLine3d) - Constructor for class org.djutils.draw.line.PolyLine3d
-
Construct a new PolyLine3d from an existing one.
- PolyLine3d(DirectedPoint3d) - Constructor for class org.djutils.draw.line.PolyLine3d
-
Construct a degenerate PolyLine3d (consisting of only one point).
- PolyLine3d(Point3d[]) - Constructor for class org.djutils.draw.line.PolyLine3d
-
Construct a new PolyLine3d from an array of Point3d.
- PolyLine3d(Point3d, double, double) - Constructor for class org.djutils.draw.line.PolyLine3d
-
Construct a degenerate PolyLine3d (consisting of only one point).
- PolyLine3d(Point3d, Point3d, Point3d...) - Constructor for class org.djutils.draw.line.PolyLine3d
-
Construct a new PolyLine3d from two or more Point3d arguments.
- project() - Method in class org.djutils.draw.bounds.Bounds3d
- project() - Method in interface org.djutils.draw.Drawable3d
-
Project the object onto the z=0 plane.
- project() - Method in class org.djutils.draw.line.LineSegment3d
- project() - Method in class org.djutils.draw.line.Polygon3d
- project() - Method in class org.djutils.draw.line.PolyLine3d
- project() - Method in class org.djutils.draw.point.Point3d
- project() - Method in class org.djutils.draw.surface.Surface3d
- Project<P extends Point<P>> - Interface in org.djutils.draw.line
-
Projection of points onto objects.
- projectOrthogonal(Point2d) - Method in class org.djutils.draw.line.LineSegment2d
- projectOrthogonal(Point2d) - Method in class org.djutils.draw.line.PolyLine2d
- projectOrthogonal(Point2d) - Method in class org.djutils.draw.line.Ray2d
- projectOrthogonal(Point3d) - Method in class org.djutils.draw.line.LineSegment3d
- projectOrthogonal(Point3d) - Method in class org.djutils.draw.line.PolyLine3d
- projectOrthogonal(Point3d) - Method in class org.djutils.draw.line.Ray3d
- projectOrthogonal(P) - Method in interface org.djutils.draw.line.Project
-
Project a point onto this object.
- projectOrthogonalExtended(Point2d) - Method in class org.djutils.draw.line.LineSegment2d
- projectOrthogonalExtended(Point2d) - Method in class org.djutils.draw.line.PolyLine2d
- projectOrthogonalExtended(Point2d) - Method in class org.djutils.draw.line.Ray2d
- projectOrthogonalExtended(Point3d) - Method in class org.djutils.draw.line.LineSegment3d
- projectOrthogonalExtended(Point3d) - Method in class org.djutils.draw.line.PolyLine3d
- projectOrthogonalExtended(Point3d) - Method in class org.djutils.draw.line.Ray3d
- projectOrthogonalExtended(P) - Method in interface org.djutils.draw.line.Project
-
Project a point onto this object.
- projectOrthogonalFractional(Point2d) - Method in class org.djutils.draw.line.LineSegment2d
- projectOrthogonalFractional(Point2d) - Method in class org.djutils.draw.line.PolyLine2d
- projectOrthogonalFractional(Point2d) - Method in class org.djutils.draw.line.Ray2d
- projectOrthogonalFractional(Point3d) - Method in class org.djutils.draw.line.LineSegment3d
- projectOrthogonalFractional(Point3d) - Method in class org.djutils.draw.line.PolyLine3d
- projectOrthogonalFractional(Point3d) - Method in class org.djutils.draw.line.Ray3d
- projectOrthogonalFractional(P) - Method in interface org.djutils.draw.line.Project
-
Project a point onto this object.
- projectOrthogonalFractionalExtended(Point2d) - Method in class org.djutils.draw.line.LineSegment2d
- projectOrthogonalFractionalExtended(Point2d) - Method in class org.djutils.draw.line.PolyLine2d
- projectOrthogonalFractionalExtended(Point2d) - Method in class org.djutils.draw.line.Ray2d
- projectOrthogonalFractionalExtended(Point3d) - Method in class org.djutils.draw.line.LineSegment3d
- projectOrthogonalFractionalExtended(Point3d) - Method in class org.djutils.draw.line.PolyLine3d
- projectOrthogonalFractionalExtended(Point3d) - Method in class org.djutils.draw.line.Ray3d
- projectOrthogonalFractionalExtended(P) - Method in interface org.djutils.draw.line.Project
-
Project a point onto this object.
- projectRay(Ray2d) - Method in class org.djutils.draw.line.PolyLine2d
-
Find a location on this PolyLine2d that is a reasonable projection of a Ray on this line.
R
- Ray<R extends Ray<R,
D, P>, D extends Directed<D>, P extends Point<P>> - Interface in org.djutils.draw.line -
A Ray is a half-line; it has one end point with non-infinite coordinates; the other end point is infinitely far away.
- Ray2d - Class in org.djutils.draw.line
-
Ray2d is a half-line in 2d; it has one end point with finite coordinates; the other end point is infinitely far away.
- Ray2d(double[], double) - Constructor for class org.djutils.draw.line.Ray2d
-
Construct a new Ray2d from x and y coordinates in a double[] and a direction.
- Ray2d(double, double, double) - Constructor for class org.djutils.draw.line.Ray2d
-
Construct a new Ray2d.
- Ray2d(double, double, double, double) - Constructor for class org.djutils.draw.line.Ray2d
-
Construct a new Ray2d.
- Ray2d(double, double, Point2d) - Constructor for class org.djutils.draw.line.Ray2d
-
Construct a new Ray2d.
- Ray2d(Point2D, double) - Constructor for class org.djutils.draw.line.Ray2d
-
Construct a new Ray2d from an AWT Point2D and a direction.
- Ray2d(DirectedPoint2d) - Constructor for class org.djutils.draw.line.Ray2d
-
Construct a new Ray2d.
- Ray2d(Point2d, double) - Constructor for class org.djutils.draw.line.Ray2d
-
Construct a new Ray2d from a Point2d and a direction.
- Ray2d(Point2d, double, double) - Constructor for class org.djutils.draw.line.Ray2d
-
Construct a new Ray2d.
- Ray2d(Point2d, Point2d) - Constructor for class org.djutils.draw.line.Ray2d
-
Construct a new Ray2d.
- Ray3d - Class in org.djutils.draw.line
-
Ray3d is a half-line in 3d; it has one end point with non-infinite coordinates; the other end point is infinitely far away.
- Ray3d(double[], double[]) - Constructor for class org.djutils.draw.line.Ray3d
-
Create a new Ray3d from x, y, and z coordinates packed in a double array of three elements and direction dirY,dirZ.
- Ray3d(double[], double, double) - Constructor for class org.djutils.draw.line.Ray3d
-
Create a new Ray3d from x, y, and z coordinates packed in a double array of three elements and direction dirY,dirZ.
- Ray3d(double[], Direction3d) - Constructor for class org.djutils.draw.line.Ray3d
-
Create a new Rayt3d from x, y, and z coordinates packed in a double array of three elements and a direction specified using a double array of two elements.
- Ray3d(double, double, double, double[]) - Constructor for class org.djutils.draw.line.Ray3d
-
Create a new Ray3d with x, y, and z coordinates and orientation specified using a double array of three elements (containing dirX,dirY,dirZ in that order).
- Ray3d(double, double, double, double, double) - Constructor for class org.djutils.draw.line.Ray3d
-
Construct a new Ray3d.
- Ray3d(double, double, double, double, double, double) - Constructor for class org.djutils.draw.line.Ray3d
-
Construct a new Ray3d.
- Ray3d(double, double, double, Direction3d) - Constructor for class org.djutils.draw.line.Ray3d
-
Construct a new Ray3d.
- Ray3d(double, double, double, Point3d) - Constructor for class org.djutils.draw.line.Ray3d
-
Construct a new Ray3d.
- Ray3d(DirectedPoint3d) - Constructor for class org.djutils.draw.line.Ray3d
-
Construct a new Ray3d.
- Ray3d(Point3d, double, double) - Constructor for class org.djutils.draw.line.Ray3d
-
Construct a new Ray3d.
- Ray3d(Point3d, double, double, double) - Constructor for class org.djutils.draw.line.Ray3d
-
Construct a new Ray3d.
- Ray3d(Point3d, Direction3d) - Constructor for class org.djutils.draw.line.Ray3d
-
Construct a new Ray3d.
- Ray3d(Point3d, Point3d) - Constructor for class org.djutils.draw.line.Ray3d
-
Construct a new Ray3d.
- reflectX() - Method in class org.djutils.draw.Transform2d
-
The reflection of the x-coordinate, by mirroring it in the yz-plane (the plane with x=0).
- reflectX() - Method in class org.djutils.draw.Transform3d
-
The reflection of the x-coordinate, by mirroring it in the yz-plane (the plane with x=0).
- reflectY() - Method in class org.djutils.draw.Transform2d
-
The reflection of the y-coordinate, by mirroring it in the xz-plane (the plane with y=0).
- reflectY() - Method in class org.djutils.draw.Transform3d
-
The reflection of the y-coordinate, by mirroring it in the xz-plane (the plane with y=0).
- reflectZ() - Method in class org.djutils.draw.Transform3d
-
The reflection of the z-coordinate, by mirroring it in the xy-plane (the plane with z=0).
- reverse() - Method in interface org.djutils.draw.line.LineSegment
-
Construct a new LineSegment with the points of this LineSegment in reverse order.
- reverse() - Method in class org.djutils.draw.line.LineSegment2d
- reverse() - Method in class org.djutils.draw.line.LineSegment3d
- reverse() - Method in class org.djutils.draw.line.Polygon2d
- reverse() - Method in class org.djutils.draw.line.Polygon3d
- reverse() - Method in interface org.djutils.draw.line.PolyLine
-
Construct a new PolyLine with all points of this PolyLine in reverse order.
- rotate(double) - Method in class org.djutils.draw.point.DirectedPoint2d
-
Return a new DirectedPoint2d with an in-place rotation around the z-axis by the provided rotateZ.
- rotate(double) - Method in class org.djutils.draw.point.DirectedPoint3d
-
Return a new DirectedPoint3d with an in-place rotation around the z-axis by the provided rotateZ.
- rotate(double) - Method in class org.djutils.draw.point.OrientedPoint3d
-
Return a new OrientedPoint3d with an in-place rotation around the z-axis by the provided rotateZ.
- rotate(double, double) - Method in class org.djutils.draw.point.DirectedPoint3d
-
Return a new DirectedPoint3d point with an in-place rotation by the provided rotateY, and rotateZ.
- rotate(double, double, double) - Method in class org.djutils.draw.point.OrientedPoint3d
-
Return a new OrientedPoint3d point with an in-place rotation by the provided rotateX, rotateY, and rotateZ.
- rotation(double) - Method in class org.djutils.draw.Transform2d
-
The rotation around the origin with an angle in radians.
- rotX(double) - Method in class org.djutils.draw.Transform3d
-
The Euler rotation around the x-axis with an angle in radians.
- rotY(double) - Method in class org.djutils.draw.Transform3d
-
The Euler rotation around the y-axis with an angle in radians.
- rotZ(double) - Method in class org.djutils.draw.Transform3d
-
The Euler rotation around the z-axis with an angle in radians.
S
- s() - Method in record class org.djutils.draw.function.ContinuousPiecewiseLinearFunction.TupleSt
-
Returns the value of the
s
record component. - scale(double) - Method in class org.djutils.draw.point.DirectedPoint2d
- scale(double) - Method in class org.djutils.draw.point.DirectedPoint3d
- scale(double) - Method in class org.djutils.draw.point.OrientedPoint3d
- scale(double) - Method in interface org.djutils.draw.point.Point
-
Return a new Point with the coordinates of this point scaled by the provided factor.
- scale(double) - Method in class org.djutils.draw.point.Point2d
- scale(double) - Method in class org.djutils.draw.point.Point3d
- scale(double, double) - Method in class org.djutils.draw.Transform2d
-
Scale all coordinates with a factor for x, and y.
- scale(double, double, double) - Method in class org.djutils.draw.Transform3d
-
Scale all coordinates with a factor for x, y, and z.
- shear(double, double) - Method in class org.djutils.draw.Transform2d
-
The 2d shear leaves the xy-coordinate plane for z=0 untouched.
- shearXY(double, double) - Method in class org.djutils.draw.Transform3d
-
The xy-shear leaves the xy-coordinate plane for z=0 untouched.
- shearXZ(double, double) - Method in class org.djutils.draw.Transform3d
-
The xz-shear leaves the xz-coordinate plain for y=0 untouched.
- shearYZ(double, double) - Method in class org.djutils.draw.Transform3d
-
The yz-shear leaves the yz-coordinate plain for x=0 untouched.
- size() - Method in class org.djutils.draw.bounds.Bounds2d
- size() - Method in class org.djutils.draw.bounds.Bounds3d
- size() - Method in class org.djutils.draw.curve.Bezier2d
-
Return the number of points (or x-y pairs) that this Bézier curve is based on.
- size() - Method in class org.djutils.draw.curve.Bezier3d
-
Return the number of points (or x-y pairs) that this Bézier curve is based on.
- size() - Method in interface org.djutils.draw.Drawable
-
Retrieve the number of points that make up the object.
- size() - Method in class org.djutils.draw.function.ContinuousPiecewiseLinearFunction
-
Returns the number of data points.
- size() - Method in class org.djutils.draw.line.LineSegment2d
- size() - Method in class org.djutils.draw.line.LineSegment3d
- size() - Method in class org.djutils.draw.line.PolyLine2d
- size() - Method in class org.djutils.draw.line.PolyLine3d
- size() - Method in class org.djutils.draw.line.Ray2d
- size() - Method in class org.djutils.draw.line.Ray3d
- size() - Method in class org.djutils.draw.point.Point2d
- size() - Method in class org.djutils.draw.point.Point3d
- size() - Method in class org.djutils.draw.surface.Surface3d
- split(double) - Method in class org.djutils.draw.curve.BezierCubic2d
-
Splits the Bézier in two Bézier curves of the same order.
- startX - Variable in class org.djutils.draw.line.LineSegment2d
-
The start x-coordinate.
- startX - Variable in class org.djutils.draw.line.LineSegment3d
-
The start x-coordinate.
- startY - Variable in class org.djutils.draw.line.LineSegment2d
-
The start y-coordinate.
- startY - Variable in class org.djutils.draw.line.LineSegment3d
-
The start y-coordinate.
- startZ - Variable in class org.djutils.draw.line.LineSegment3d
-
The start z-coordinate.
- Straight2d - Class in org.djutils.draw.curve
-
Continuous curve implementation of a straight in 2d.
- Straight2d(DirectedPoint2d, double) - Constructor for class org.djutils.draw.curve.Straight2d
-
Constructor.
- surface() - Method in class org.djutils.draw.line.Polygon2d
-
Compute the surface of this Polygon2d.
- Surface3d - Class in org.djutils.draw.surface
-
Triangulated surface in 3D space.
- Surface3d(Point3d[][]) - Constructor for class org.djutils.draw.surface.Surface3d
-
Construct a new Surface3d.
T
- t() - Method in record class org.djutils.draw.function.ContinuousPiecewiseLinearFunction.TupleSt
-
Returns the value of the
t
record component. - T - Static variable in class org.djutils.draw.curve.Bezier
-
T values of numerical approach of Legendre-Gauss to determine Bézier length.
- toPath2D() - Method in class org.djutils.draw.line.Polygon2d
-
Construct a Path2D from this PolyLine2d.
- toPath2D() - Method in class org.djutils.draw.line.PolyLine2d
-
Construct a Path2D from this PolyLine2d.
- toPlot(LineSegment2d) - Static method in class org.djutils.draw.Export
-
Convert a LineSegment2d to Peter's plot format.
- toPlot(Polygon2d) - Static method in class org.djutils.draw.Export
-
Convert a Polygon2d into Peter's plot format.
- toPlot(PolyLine2d) - Static method in class org.djutils.draw.Export
-
Convert a PolyLine2d to Peter's plot format.
- toPoint2D() - Method in class org.djutils.draw.point.Point2d
-
Return the coordinates as a java.awt.geom.Point2D.Double object.
- toPolyLine(F) - Method in interface org.djutils.draw.curve.Curve
-
Flatten a Curve into a PolyLine.
- toPolyLine(Flattener2d) - Method in class org.djutils.draw.curve.Arc2d
- toPolyLine(Flattener2d) - Method in class org.djutils.draw.curve.Bezier2d
- toPolyLine(Flattener2d) - Method in class org.djutils.draw.curve.BezierCubic2d
- toPolyLine(Flattener2d) - Method in class org.djutils.draw.curve.Clothoid2d
- toPolyLine(Flattener2d) - Method in class org.djutils.draw.curve.Straight2d
- toPolyLine(Flattener3d) - Method in class org.djutils.draw.curve.Bezier3d
- toPolyLine(OffsetFlattener2d, ContinuousPiecewiseLinearFunction) - Method in class org.djutils.draw.curve.Arc2d
- toPolyLine(OffsetFlattener2d, ContinuousPiecewiseLinearFunction) - Method in class org.djutils.draw.curve.BezierCubic2d
- toPolyLine(OffsetFlattener2d, ContinuousPiecewiseLinearFunction) - Method in class org.djutils.draw.curve.Clothoid2d
- toPolyLine(OffsetFlattener2d, ContinuousPiecewiseLinearFunction) - Method in interface org.djutils.draw.curve.OffsetCurve2d
-
Flatten a Curve2d while offsetting with the provided continuous offset into a PolyLine2d.
- toPolyLine(OffsetFlattener2d, ContinuousPiecewiseLinearFunction) - Method in class org.djutils.draw.curve.Straight2d
- toRectangle2D() - Method in class org.djutils.draw.bounds.Bounds2d
-
Return an AWT Rectangle2D that covers the same area as this Bounds2d.
- toString() - Method in class org.djutils.draw.bounds.Bounds2d
- toString() - Method in class org.djutils.draw.bounds.Bounds3d
- toString() - Method in class org.djutils.draw.curve.Arc2d
- toString() - Method in class org.djutils.draw.curve.Bezier2d
- toString() - Method in class org.djutils.draw.curve.Bezier3d
- toString() - Method in class org.djutils.draw.curve.BezierCubic2d
- toString() - Method in class org.djutils.draw.curve.Clothoid2d
- toString() - Method in class org.djutils.draw.curve.Straight2d
- toString() - Method in class org.djutils.draw.Direction3d
- toString() - Method in interface org.djutils.draw.Drawable
-
Produce a string describing the Drawable using default conversion for the (double) coordinate values.
- toString() - Method in record class org.djutils.draw.function.ContinuousPiecewiseLinearFunction.TupleSt
-
Returns a string representation of this record class.
- toString() - Method in class org.djutils.draw.line.LineSegment2d
- toString() - Method in class org.djutils.draw.line.LineSegment3d
- toString() - Method in class org.djutils.draw.line.Polygon2d
- toString() - Method in class org.djutils.draw.line.Polygon3d
- toString() - Method in class org.djutils.draw.line.PolyLine2d
- toString() - Method in class org.djutils.draw.line.PolyLine3d
- toString() - Method in class org.djutils.draw.line.Ray2d
- toString() - Method in class org.djutils.draw.line.Ray3d
- toString() - Method in class org.djutils.draw.point.DirectedPoint2d
- toString() - Method in class org.djutils.draw.point.DirectedPoint3d
- toString() - Method in class org.djutils.draw.point.OrientedPoint3d
- toString() - Method in class org.djutils.draw.point.Point2d
- toString() - Method in class org.djutils.draw.point.Point3d
- toString() - Method in class org.djutils.draw.surface.Surface3d
- toString() - Method in class org.djutils.draw.Transform2d
- toString() - Method in class org.djutils.draw.Transform3d
- toString(boolean) - Method in interface org.djutils.draw.Drawable
-
Produce a String describing the Drawable.
- toString(String) - Method in interface org.djutils.draw.Drawable
-
Produce a String describing the Drawable.
- toString(String, boolean) - Method in class org.djutils.draw.bounds.Bounds2d
- toString(String, boolean) - Method in class org.djutils.draw.bounds.Bounds3d
- toString(String, boolean) - Method in interface org.djutils.draw.Drawable
-
Produce a String describing the Drawable.
- toString(String, boolean) - Method in class org.djutils.draw.line.LineSegment2d
- toString(String, boolean) - Method in class org.djutils.draw.line.LineSegment3d
- toString(String, boolean) - Method in class org.djutils.draw.line.Polygon2d
- toString(String, boolean) - Method in class org.djutils.draw.line.Polygon3d
- toString(String, boolean) - Method in class org.djutils.draw.line.PolyLine2d
- toString(String, boolean) - Method in class org.djutils.draw.line.PolyLine3d
- toString(String, boolean) - Method in class org.djutils.draw.line.Ray2d
- toString(String, boolean) - Method in class org.djutils.draw.line.Ray3d
- toString(String, boolean) - Method in class org.djutils.draw.point.DirectedPoint2d
- toString(String, boolean) - Method in class org.djutils.draw.point.DirectedPoint3d
- toString(String, boolean) - Method in class org.djutils.draw.point.OrientedPoint3d
- toString(String, boolean) - Method in class org.djutils.draw.point.Point2d
- toString(String, boolean) - Method in class org.djutils.draw.point.Point3d
- toString(String, boolean) - Method in class org.djutils.draw.surface.Surface3d
- toTsv(LineSegment2d) - Static method in class org.djutils.draw.Export
-
Convert a LineSegment2d into something that a TSV parser can handle.
- toTsv(LineSegment3d) - Static method in class org.djutils.draw.Export
-
Convert a LineSegment3d into something that a TSV parser can handle.
- toTsv(Polygon2d) - Static method in class org.djutils.draw.Export
-
Convert a Polygon2d into something that a TSV parser can handle.
- toTsv(Polygon3d) - Static method in class org.djutils.draw.Export
-
Convert a Polygon3d into something that a TSV parser can handle.
- toTsv(PolyLine2d) - Static method in class org.djutils.draw.Export
-
Convert a PolyLine2d into something that a TSV parser can handle.
- toTsv(PolyLine3d) - Static method in class org.djutils.draw.Export
-
Convert a PolyLine3d into something that a TSV parser can handle.
- transform(double[]) - Method in class org.djutils.draw.Transform2d
-
Apply the stored transform on the xy-vector and return the transformed vector.
- transform(double[]) - Method in class org.djutils.draw.Transform3d
-
Apply the stored transform on the xyz-vector and return the transformed vector.
- transform(Iterator<Point2d>) - Method in class org.djutils.draw.Transform2d
-
Apply the stored transform on the points generated by the provided pointIterator.
- transform(Iterator<Point3d>) - Method in class org.djutils.draw.Transform3d
-
Apply the stored transform on the points generated by the provided pointIterator.
- transform(Bounds2d) - Method in class org.djutils.draw.Transform2d
-
Apply the stored transform on the provided Bounds2d and return a new Bounds2d with the bounds of the transformed coordinates.
- transform(Bounds3d) - Method in class org.djutils.draw.Transform3d
-
Apply the stored transform on the provided Bounds3d and return a new Bounds3d with the bounds of the transformed coordinates.
- transform(Point2d) - Method in class org.djutils.draw.Transform2d
-
Apply the stored transform on the provided point and return a point with the transformed coordinate.
- transform(Point3d) - Method in class org.djutils.draw.Transform3d
-
Apply the stored transform on the provided point and return a point with the transformed coordinate.
- Transform2d - Class in org.djutils.draw
-
Transform2d contains a MUTABLE transformation object that can transform points (x,y) based on e.g, rotation and translation.
- Transform2d() - Constructor for class org.djutils.draw.Transform2d
- Transform3d - Class in org.djutils.draw
-
Transform3d contains a MUTABLE transformation object that can transform points (x,y,z) based on e.g, rotation and translation.
- Transform3d() - Constructor for class org.djutils.draw.Transform3d
- transitionLine(L, PolyLine.TransitionFunction) - Method in interface org.djutils.draw.line.PolyLine
-
Make a transition line from this PolyLine to another PolyLine using a user specified function.
- transitionLine(PolyLine2d, PolyLine.TransitionFunction) - Method in class org.djutils.draw.line.PolyLine2d
- transitionLine(PolyLine3d, PolyLine.TransitionFunction) - Method in class org.djutils.draw.line.PolyLine3d
- translate(double, double) - Method in class org.djutils.draw.point.DirectedPoint2d
- translate(double, double) - Method in class org.djutils.draw.point.DirectedPoint3d
- translate(double, double) - Method in class org.djutils.draw.point.OrientedPoint3d
- translate(double, double) - Method in class org.djutils.draw.point.Point2d
-
Return a new Point2d with a translation by the provided dx and dy.
- translate(double, double) - Method in class org.djutils.draw.point.Point3d
-
Return a new Point3d with a translation by the provided dX and dY and preserved z value.
- translate(double, double) - Method in class org.djutils.draw.Transform2d
-
Transform coordinates by a vector (tx, ty).
- translate(double, double, double) - Method in class org.djutils.draw.point.DirectedPoint2d
- translate(double, double, double) - Method in class org.djutils.draw.point.DirectedPoint3d
- translate(double, double, double) - Method in class org.djutils.draw.point.OrientedPoint3d
- translate(double, double, double) - Method in class org.djutils.draw.point.Point2d
-
Return a new Point3d with a translation by the provided dx, dy and dz.
- translate(double, double, double) - Method in class org.djutils.draw.point.Point3d
-
Return a new Point3d with a translation by the provided dx, dy and dz.
- translate(double, double, double) - Method in class org.djutils.draw.Transform3d
-
Transform coordinates by a vector (tx, ty, tz).
- translate(Point2d) - Method in class org.djutils.draw.Transform2d
-
Translate coordinates by a the x and y values contained in a Point2d.
- translate(Point3d) - Method in class org.djutils.draw.Transform3d
-
Translate coordinates by a the x, y, and z values contained in a Point.
- truncate(double) - Method in interface org.djutils.draw.line.PolyLine
-
Truncate this PolyLine at the given length (less than the length of the line, and larger than zero) and return a new line.
- truncate(double) - Method in class org.djutils.draw.line.PolyLine2d
- truncate(double) - Method in class org.djutils.draw.line.PolyLine3d
- TupleSt(double, double) - Constructor for record class org.djutils.draw.function.ContinuousPiecewiseLinearFunction.TupleSt
-
Creates an instance of a
TupleSt
record class.
V
- verticalDirection(Point3d) - Method in class org.djutils.draw.point.Point3d
-
Return the direction with respect to the Z axis to another point, in radians.
- Volume3d - Class in org.djutils.draw.volume
-
Volume3d.java.
- Volume3d() - Constructor for class org.djutils.draw.volume.Volume3d
W
- withLength(DirectedPoint2d, double, double, double) - Static method in class org.djutils.draw.curve.Clothoid2d
-
Create clothoid from one point based on curvature and length.
X
- x - Variable in class org.djutils.draw.curve.Bezier2d
-
The x-coordinates of the points of this Bézier.
- x - Variable in class org.djutils.draw.point.Point2d
-
The x-coordinate.
- x - Variable in class org.djutils.draw.point.Point3d
-
The x-coordinate.
Y
- y - Variable in class org.djutils.draw.curve.Bezier2d
-
The y-coordinates of the points of this Bézier.
- y - Variable in class org.djutils.draw.point.Point2d
-
The y-coordinate.
- y - Variable in class org.djutils.draw.point.Point3d
-
The y-coordinate.
Z
A B C D E F G H I L M N O P R S T V W X Y ZAll Classes and Interfaces|All Packages|Constant Field Values|Serialized Form