Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- A_SERIE_SIZE - Static variable in class org.djutils.draw.line.Clothoid
-
???
- A_THRESOLD - Static variable in class org.djutils.draw.line.Clothoid
-
???
- 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
B
- bezier(double, Point2d...) - Static method in class org.djutils.draw.line.Bezier
-
Approximate a Bézier curve of degree n with a specified precision.
- bezier(double, Point3d...) - Static method in class org.djutils.draw.line.Bezier
-
Approximate a Bézier curve of degree n with a specified precision.
- bezier(int, Point2d...) - Static method in class org.djutils.draw.line.Bezier
-
Approximate a Bézier curve of degree n.
- bezier(int, Point3d...) - Static method in class org.djutils.draw.line.Bezier
-
Construct a Bézier curve of degree n.
- bezier(Point2d...) - Static method in class org.djutils.draw.line.Bezier
-
Approximate a Bézier curve of degree n using
DEFAULT_BEZIER_SIZE
points. - bezier(Point3d...) - Static method in class org.djutils.draw.line.Bezier
-
Approximate a Bézier curve of degree n using
DEFAULT_BEZIER_SIZE
points. - Bezier - Class in org.djutils.draw.line
-
Generation of Bézier curves.
- 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.
- buildClothoid(double, double, double, double, double, double) - Static method in class org.djutils.draw.line.Clothoid
-
Create a clothoid connecting (x0,y0) to (x1,y1) having direction theta0 at the start point and theta1 at the end point.
- buildClothoidMoreResults(double, double, double, double, double, double) - Static method in class org.djutils.draw.line.Clothoid
-
Create a clothoid connecting (x0,y0) to (x1,y1) having direction theta0 at the start point and theta1 at the end point.
C
- circleIntersections(Point2d, double, Point2d, double) - Static method in class org.djutils.draw.point.Point2d
-
Return the zero, one or two intersections between two circles.
- cleanPoints(boolean, Iterator<Point2d>) - Static method in class org.djutils.draw.line.PolyLine2d
-
Return an iterator that optionally skips identical successive points.
- cleanPoints(boolean, Iterator<Point3d>) - Static method in class org.djutils.draw.line.PolyLine3d
-
Return an iterator that optionally skips identical successive points.
- 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.
- Clothoid - Class in org.djutils.draw.line
-
Approximate a clothoid with a PolyLine3d.
- 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.
- 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.
- cubic(double, Ray2d, Ray2d) - Static method in class org.djutils.draw.line.Bezier
-
Approximate a cubic Bézier curve from start to end with two generated control points at half the distance between start and end with specified precision.
- cubic(double, Ray2d, Ray2d, double) - Static method in class org.djutils.draw.line.Bezier
-
Approximate a cubic Bézier curve from start to end with two generated control points at half the distance between start and end with specified precision.
- cubic(double, Ray2d, Ray2d, double, boolean) - Static method in class org.djutils.draw.line.Bezier
-
Approximate a cubic Bézier curve from start to end with two generated control points at half the distance between start and end with specified precision.
- cubic(double, Ray3d, Ray3d) - Static method in class org.djutils.draw.line.Bezier
-
Approximate a cubic Bézier curve from start to end with two generated control points at half the distance between start and end with specified precision.
- cubic(double, Ray3d, Ray3d, double) - Static method in class org.djutils.draw.line.Bezier
-
Approximate a cubic Bézier curve from start to end with two generated control points at half the distance between start and end with specified precision.
- cubic(double, Ray3d, Ray3d, double, boolean) - Static method in class org.djutils.draw.line.Bezier
-
Approximate a cubic Bézier curve from start to end with two generated control points at half the distance between start and end with specified precision.
- cubic(double, Point2d, Point2d, Point2d, Point2d) - Static method in class org.djutils.draw.line.Bezier
-
Approximate a cubic Bézier curve from start to end with two control points with a specified precision.
- cubic(double, Point3d, Point3d, Point3d, Point3d) - Static method in class org.djutils.draw.line.Bezier
-
Approximate a cubic Bézier curve from start to end with two control points with a specified precision.
- cubic(int, Ray2d, Ray2d) - Static method in class org.djutils.draw.line.Bezier
-
Approximate a cubic Bézier curve from start to end with two generated control points at half the distance between start and end.
- cubic(int, Ray2d, Ray2d, double) - Static method in class org.djutils.draw.line.Bezier
-
Approximate a cubic Bézier curve from start to end with two generated control points at half the distance between start and end.
- cubic(int, Ray2d, Ray2d, double, boolean) - Static method in class org.djutils.draw.line.Bezier
-
Approximate a cubic Bézier curve from start to end with two generated control points at half the distance between start and end.
- cubic(int, Ray3d, Ray3d) - Static method in class org.djutils.draw.line.Bezier
-
Approximate a cubic Bézier curve from start to end with two generated control points at half the distance between start and end.
- cubic(int, Ray3d, Ray3d, double) - Static method in class org.djutils.draw.line.Bezier
-
Approximate a cubic Bézier curve from start to end with two generated control points at half the distance between start and end.
- cubic(int, Ray3d, Ray3d, double, boolean) - Static method in class org.djutils.draw.line.Bezier
-
Approximate a cubic Bézier curve from start to end with two generated control points at half the distance between start and end.
- cubic(int, Point2d, Point2d, Point2d, Point2d) - Static method in class org.djutils.draw.line.Bezier
-
Approximate a cubic Bézier curve from start to end with two control points.
- cubic(int, Point3d, Point3d, Point3d, Point3d) - Static method in class org.djutils.draw.line.Bezier
-
Approximate a cubic Bézier curve from start to end with two control points.
- cubic(Ray2d, Ray2d) - Static method in class org.djutils.draw.line.Bezier
-
Approximate a cubic Bézier curve from start to end with two generated control points at half the distance between start and end.
- cubic(Ray3d, Ray3d) - Static method in class org.djutils.draw.line.Bezier
-
Construct a cubic Bézier curve from start to end with two generated control points at half the distance between start and end.
D
- DEFAULT_BEZIER_SIZE - Static variable in class org.djutils.draw.line.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 exceeds offsetMaximumFilterValue.
- 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.
- DegenerateLineException - Exception in org.djutils.draw
-
DegenerateLineException is a special type of DrawRuntimeException, that is thrown if a line or line segment is constructed or simplified to less than two points.
- DegenerateLineException() - Constructor for exception org.djutils.draw.DegenerateLineException
-
Create an empty runtime drawing exception.
- DegenerateLineException(String) - Constructor for exception org.djutils.draw.DegenerateLineException
-
Create a runtime drawing exception with a custom message.
- DegenerateLineException(String, Throwable) - Constructor for exception org.djutils.draw.DegenerateLineException
-
Create a runtime drawing exception with a custom message and an underlying cause.
- DegenerateLineException(Throwable) - Constructor for exception org.djutils.draw.DegenerateLineException
-
Create a runtime drawing exception with an underlying cause.
- Directed<D extends Directed<D>> - Interface in org.djutils.draw
-
Directed is the interface to specify a Direction (a vector pointing in a direction without a length).
- Directed2d<D extends Directed<D>> - Interface in org.djutils.draw
-
Directed2d.java.
- Directed3d<D extends Directed<D>> - Interface in org.djutils.draw
-
Directed3d.java.
- DirectedPoint2d - Class in org.djutils.draw.point
-
DirectedPoint2d.java.
- 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.
- DirectedPoint3d - Class in org.djutils.draw.point
-
DirectedPoint3d.java.
- 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, double, double, double[]) - Constructor for class org.djutils.draw.point.DirectedPoint3d
-
Create a new DirectedPoint3d with x, y and z coordinates and orientation 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 orientation dirX,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, 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, Point3d) - Constructor for class org.djutils.draw.point.DirectedPoint3d
-
Construct a new DirectedPoint3d.
- directionTo(Point2d) - Method in class org.djutils.draw.point.Point2d
-
Return the direction to another Point2d.
- dirX - Variable in class org.djutils.draw.point.OrientedPoint3d
-
The direction as rotation around the x-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.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.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.java.
- 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
- FD - Static variable in class org.djutils.draw.line.Clothoid
-
Fresnel coefficients FD.
- 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.
- fixClosingPointX(double[], double[], double[]) - Static method in class org.djutils.draw.line.Polygon3d
-
Ensure that the last point is not equal to the first.
- fixClosingPointY(double[], double[], double[]) - Static method in class org.djutils.draw.line.Polygon3d
-
Ensure that the last point is not equal to the first.
- fixClosingPointZ(double[], double[], double[]) - Static method in class org.djutils.draw.line.Polygon3d
-
Ensure that the last point is not equal to the first.
- 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
- FN - Static variable in class org.djutils.draw.line.Clothoid
-
Fresnel coefficients FN.
- 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.
- 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
- GD - Static variable in class org.djutils.draw.line.Clothoid
-
Fresnel coefficients GD.
- GeneralizedFresnelCS(int, double, double, double, double[], double[]) - Static method in class org.djutils.draw.line.Clothoid
-
???
- 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
- 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.
- 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
- 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.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 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
- 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
- getFirst() - Method in interface org.djutils.draw.line.PolyLine
-
Return the first point of this PolyLine.
- getLast() - Method in interface org.djutils.draw.line.PolyLine
-
Return the last point of this PolyLine.
- 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.
- getPointList() - Method in interface org.djutils.draw.Drawable
-
Create a list of all points that make up this Drawable.
- getPoints() - Method in class org.djutils.draw.bounds.Bounds2d
- getPoints() - Method in class org.djutils.draw.bounds.Bounds3d
- getPoints() - Method in interface org.djutils.draw.Drawable
-
Retrieve, or generate all points that make up the object.
- getPoints() - Method in class org.djutils.draw.line.LineSegment2d
- getPoints() - Method in class org.djutils.draw.line.LineSegment3d
- getPoints() - Method in class org.djutils.draw.line.PolyLine2d
- getPoints() - Method in class org.djutils.draw.line.PolyLine3d
- getPoints() - Method in class org.djutils.draw.line.Ray2d
- getPoints() - Method in class org.djutils.draw.line.Ray3d
- getPoints() - Method in class org.djutils.draw.point.DirectedPoint2d
- getPoints() - Method in class org.djutils.draw.point.DirectedPoint3d
- getPoints() - Method in class org.djutils.draw.point.OrientedPoint3d
- getPoints() - Method in class org.djutils.draw.point.Point2d
- getPoints() - Method in class org.djutils.draw.point.Point3d
- getPoints() - Method in class org.djutils.draw.surface.Surface3d
- 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
- 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
- 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 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 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.line.PolyLine3d
-
Return the z-coordinate of a point of this PolyLine.
- GN - Static variable in class org.djutils.draw.line.Clothoid
-
Fresnel coefficients GN.
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.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(List<Point2d>) - Method in class org.djutils.draw.line.PolyLine2d
- instantiate(List<Point3d>) - Method in class org.djutils.draw.line.PolyLine3d
- 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).
- InternalCalculationException - Exception in org.djutils.draw
-
InternalCalculationException is a special type of DrawRuntimeException, that is thrown if a method fails during the construction of a drawable object or during the calculation of a property of a drawable object.
- InternalCalculationException() - Constructor for exception org.djutils.draw.InternalCalculationException
-
Create an empty runtime drawing exception.
- InternalCalculationException(String) - Constructor for exception org.djutils.draw.InternalCalculationException
-
Create a runtime drawing exception with a custom message.
- InternalCalculationException(String, Throwable) - Constructor for exception org.djutils.draw.InternalCalculationException
-
Create a runtime drawing exception with a custom message and an underlying cause.
- InternalCalculationException(Throwable) - Constructor for exception org.djutils.draw.InternalCalculationException
-
Create a runtime drawing exception with an underlying cause.
- 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 Polygon intersects another Polygon.
- InvalidProjectionException - Exception in org.djutils.draw
-
InvalidProjectionException is a special type of DrawRuntimeException, that is thrown if a projection results in an invalid object, or if a projection cannot be carried out.
- InvalidProjectionException() - Constructor for exception org.djutils.draw.InvalidProjectionException
-
Create an empty runtime drawing exception.
- InvalidProjectionException(String) - Constructor for exception org.djutils.draw.InvalidProjectionException
-
Create a runtime drawing exception with a custom message.
- InvalidProjectionException(String, Throwable) - Constructor for exception org.djutils.draw.InvalidProjectionException
-
Create a runtime drawing exception with a custom message and an underlying cause.
- InvalidProjectionException(Throwable) - Constructor for exception org.djutils.draw.InvalidProjectionException
-
Create a runtime drawing exception with an underlying cause.
- isConvex() - Method in class org.djutils.draw.line.Polygon2d
-
Determine if this Polygon is convex.
- 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
- 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.
M
- m_1_pi - Static variable in class org.djutils.draw.line.Clothoid
-
One over Pi.
- m_1_sqrt_pi - Static variable in class org.djutils.draw.line.Clothoid
-
One over square root of Pi.
- m_2pi - Static variable in class org.djutils.draw.line.Clothoid
-
Two Pi.
- m_pi - Static variable in class org.djutils.draw.line.Clothoid
-
Pi.
- m_pi_2 - Static variable in class org.djutils.draw.line.Clothoid
-
Half Pi.
- 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.
- 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 O 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
- 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
O
- offsetLine(double) - Method in interface org.djutils.draw.line.PolyLine
-
Construct an offset PolyLine.
- 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.line - package org.djutils.draw.line
-
The d1 package provides an interface and different implementations for lines.
- org.djutils.draw.point - package org.djutils.draw.point
-
The d0 package provides a set of interfaces and implementations of Points.
- org.djutils.draw.surface - package org.djutils.draw.surface
-
The d1 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 an immutable point with an x, y, and z coordinate, stored with double precision 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
-
Polygon2d.java.
- Polygon2d(boolean, List<Point2d>) - Constructor for class org.djutils.draw.line.Polygon2d
-
Create a new Polygon2d, optionally filtering out repeating successive points.
- Polygon2d(boolean, Point2d...) - Constructor for class org.djutils.draw.line.Polygon2d
-
Create a new Polygon2d, optionally filtering out repeating successive points.
- Polygon2d(double[], double[]) - 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
-
Polygon3d.java.
- Polygon3d(boolean, List<Point3d>) - Constructor for class org.djutils.draw.line.Polygon3d
-
Create a new Polygon3d, optionally filtering out repeating successive points.
- Polygon3d(boolean, Point3d...) - Constructor for class org.djutils.draw.line.Polygon3d
-
Create a new Polygon3d, optionally filtering out repeating successive points.
- Polygon3d(double[], double[], double[]) - 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[]) - 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(boolean, List<Point2d>) - Constructor for class org.djutils.draw.line.PolyLine2d
-
Create a new PolyLine2d, optionally filtering out repeating successive points.
- PolyLine2d(boolean, Point2d...) - Constructor for class org.djutils.draw.line.PolyLine2d
-
Create a new PolyLine2d, optionally filtering out repeating successive points.
- 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 degenerate PolyLine2d (consisting of only one point).
- 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(boolean, List<Point3d>) - Constructor for class org.djutils.draw.line.PolyLine3d
-
Create a new PolyLine3d, optionally filtering out repeating successive points.
- PolyLine3d(boolean, Point3d...) - Constructor for class org.djutils.draw.line.PolyLine3d
-
Create a new PolyLine3d, optionally filtering out repeating successive points.
- 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, double) - Constructor for class org.djutils.draw.line.PolyLine3d
-
Construct a degenerate PolyLine3d (consisting of only one point).
- 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
-
Project.java.
- 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; 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; 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 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) - 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, 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, 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, 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 OrientedPoint3d 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
- 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 interface org.djutils.draw.Drawable
-
Retrieve the number of points that make up the object.
- 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
- 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.
- surface() - Method in class org.djutils.draw.line.Polygon2d
-
Compute the surface of this Polygon2d.
- Surface3d - Class in org.djutils.draw.surface
-
Surface3d.java.
- Surface3d(Point3d[][]) - Constructor for class org.djutils.draw.surface.Surface3d
-
Construct a new Surface3d.
T
- 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.
- 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 interface org.djutils.draw.Drawable
-
Produce a string describing the Drawable using default conversion for the (double) coordinate values.
- 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.
- 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
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
X
- 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.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 X Y ZAll Classes and Interfaces|All Packages|Constant Field Values|Serialized Form