A B C D E F G H I L M N O P R S T V X Y Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abs() - Method in class org.djutils.draw.point.OrientedPoint2d
-
Return a new Point with absolute coordinate values.
- abs() - Method in class org.djutils.draw.point.OrientedPoint3d
-
Return a new Point with absolute coordinate values.
- 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
-
Return a new Point with absolute coordinate values.
- abs() - Method in class org.djutils.draw.point.Point3d
-
Return a new Point with absolute coordinate values.
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,S>,S extends Space> - 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<Point2d>) - Constructor for class org.djutils.draw.bounds.Bounds2d
-
Construct a Bounds2d from a collection of Point2d, finding the lowest and highest x and y coordinates.
- 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(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<Point3d>) - Constructor for class org.djutils.draw.bounds.Bounds3d
-
Construct a Bounds3d from a collection of Point3d, finding the lowest and highest x and y coordinates.
- 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(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
- 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(Ray2d) - Method in class org.djutils.draw.point.Point2d
-
Closest point on a ray.
- closestPointOnLine(Ray3d) - Method in class org.djutils.draw.point.Point3d
-
Closest point on a ray.
- closestPointOnLine(Point2d, Point2d) - Method in class org.djutils.draw.point.Point2d
-
Project a point on a line.
- closestPointOnLine(Point3d, Point3d) - Method in class org.djutils.draw.point.Point3d
-
Project a point on a line.
- closestPointOnLine(P, P) - Method in interface org.djutils.draw.point.Point
-
Project a point on a line.
- closestPointOnRay(Point2d) - Method in class org.djutils.draw.line.Ray2d
-
Project a Point on a Segment.
- closestPointOnRay(Point3d) - Method in class org.djutils.draw.line.Ray3d
-
Project a Point on a Segment.
- closestPointOnRay(P) - Method in interface org.djutils.draw.line.Ray
-
Project a Point on a Segment.
- closestPointOnSegment(Point2d) - Method in class org.djutils.draw.line.LineSegment2d
-
Project a Point on this LineSegment.
- closestPointOnSegment(Point2d, Point2d) - Method in class org.djutils.draw.point.Point2d
-
Project a point on a line segment.
- closestPointOnSegment(Point3d) - Method in class org.djutils.draw.line.LineSegment3d
-
Project a Point on this LineSegment.
- closestPointOnSegment(Point3d, Point3d) - Method in class org.djutils.draw.point.Point3d
-
Project a point on a line segment.
- 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.
- concatenate(double, PolyLine2d...) - Static method in class org.djutils.draw.line.PolyLine2d
-
Concatenate several Line2d instances.
- concatenate(double, PolyLine2d, PolyLine2d) - Static method in class org.djutils.draw.line.PolyLine2d
-
Concatenate two Line2d instances.
- concatenate(double, PolyLine3d...) - Static method in class org.djutils.draw.line.PolyLine3d
-
Concatenate several Line3d instances.
- concatenate(double, PolyLine3d, PolyLine3d) - Static method in class org.djutils.draw.line.PolyLine3d
-
Concatenate two Line3d instances.
- concatenate(PolyLine2d...) - Static method in class org.djutils.draw.line.PolyLine2d
-
Concatenate several Line2d instances.
- concatenate(PolyLine3d...) - Static method in class org.djutils.draw.line.PolyLine3d
-
Concatenate several Line3d instances.
- contains(double, double) - Method in class org.djutils.draw.bounds.Bounds2d
-
Check if this Bounds2d contains a point.
- contains(double, double, double) - Method in class org.djutils.draw.bounds.Bounds3d
-
Check if this Bounds3d contains a point.
- contains(Drawable2d) - Method in class org.djutils.draw.bounds.Bounds2d
-
Check if this Bounds2d completely contains a Drawable2d.
- contains(Drawable3d) - Method in class org.djutils.draw.bounds.Bounds3d
-
Check if the Bounds3d contains another Bounds3d.
- contains(Point2d) - Method in class org.djutils.draw.bounds.Bounds2d
-
Check if this Bounds2d contains a given point.
- contains(Point2d) - Method in class org.djutils.draw.surface.Polygon2d
-
Determine if a point is inside this Polygon.
- contains(Point3d) - Method in class org.djutils.draw.bounds.Bounds3d
-
Check if the Bounds3d contains a point.
- covers(double, double) - Method in class org.djutils.draw.bounds.Bounds2d
-
Check if this Bounds2d contains 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 this Bounds contains another Bounds.
- covers(Bounds2d) - Method in class org.djutils.draw.bounds.Bounds2d
-
Check if this Bounds contains another Bounds.
- covers(Bounds3d) - Method in class org.djutils.draw.bounds.Bounds3d
-
Check if this Bounds contains another Bounds.
- covers(Point2d) - Method in class org.djutils.draw.bounds.Bounds2d
-
Check if this Bounds2d contains a point.
- covers(Point3d) - Method in class org.djutils.draw.bounds.Bounds3d
-
Check if this Bounds3d contains a point.
- createAndCleanLine3d(List<Point3d>) - Static method in class org.djutils.draw.line.PolyLine3d
-
Create an Line3d, while filtering out repeating successive points.
- createAndCleanLine3d(Point3d...) - Static method in class org.djutils.draw.line.PolyLine3d
-
Create a new Line3d, filtering out repeating successive points.
- createAndCleanPolyLine2d(List<Point2d>) - Static method in class org.djutils.draw.line.PolyLine2d
-
Create an Line2d, while filtering out repeating successive points.
- createAndCleanPolyLine2d(Point2d...) - Static method in class org.djutils.draw.line.PolyLine2d
-
Create a new Line2d, filtering out repeating successive points.
- 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 class org.djutils.draw.line.PolyLine2d
-
Default precision of approximation of arcs in the offsetLine method.
- DEFAULT_OFFSET_FILTER_RATIO - Static variable in class org.djutils.draw.line.PolyLine2d
-
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 class org.djutils.draw.line.PolyLine2d
-
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 class org.djutils.draw.line.PolyLine2d
-
By default, noise in the reference line of the offsetLine method less than this value is always filtered.
- DEFAULT_OFFSET_PRECISION - Static variable in class org.djutils.draw.line.PolyLine2d
-
By default, the offsetLineMethod uses this offset precision.
- difference(Polygon2d) - Method in class org.djutils.draw.surface.Polygon2d
-
Subtract the overlap with another Polygon2d from this Polygon2d and return the result as a new Polygon2d.
- 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).
- directionTo(Point2d) - Method in class org.djutils.draw.point.Point2d
-
Return the direction to another Point2d.
- disjoint(B) - Method in interface org.djutils.draw.bounds.Bounds
-
Return whether this Bounds is disjoint from another Bounds.
- disjoint(Bounds2d) - Method in class org.djutils.draw.bounds.Bounds2d
-
Return whether this Bounds is disjoint from another Bounds.
- disjoint(Bounds3d) - Method in class org.djutils.draw.bounds.Bounds3d
-
Return whether this Bounds is disjoint from another Bounds.
- distance(Point2d) - Method in class org.djutils.draw.point.Point2d
-
Return the distance to another point.
- distance(Point3d) - Method in class org.djutils.draw.point.Point3d
-
Return the distance to another point.
- 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
-
Return the squared distance between this point and the provided point.
- distanceSquared(Point3d) - Method in class org.djutils.draw.point.Point3d
-
Return the squared distance between this point and the provided point.
- 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,S>,S extends Space> - 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.
- DrawException - Exception in org.djutils.draw
-
DrawException is the root exception for drawing exceptions.
- DrawException() - Constructor for exception org.djutils.draw.DrawException
-
Create an empty drawing exception.
- DrawException(String) - Constructor for exception org.djutils.draw.DrawException
-
Create a drawing exception with a custom message.
- DrawException(String, Throwable) - Constructor for exception org.djutils.draw.DrawException
-
Create a drawing exception with a custom message and an underlying cause.
- DrawException(Throwable) - Constructor for exception org.djutils.draw.DrawException
-
Create a drawing exception with an underlying cause.
- DrawRuntimeException - Exception in org.djutils.draw
-
DrawException 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.
- 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(Ray2d, double, double) - Method in class org.djutils.draw.line.Ray2d
-
Compare this Directed with another Directed with specified tolerances in the coordinates and the angles.
- epsilonEquals(Ray3d, double, double) - Method in class org.djutils.draw.line.Ray3d
-
Compare this Directed with another Directed with specified tolerances in the coordinates and the angles.
- epsilonEquals(OrientedPoint2d, double, double) - Method in class org.djutils.draw.point.OrientedPoint2d
-
Compare this Oriented with another Oriented with specified tolerances in the coordinates and the angles.
- epsilonEquals(OrientedPoint3d, double, double) - Method in class org.djutils.draw.point.OrientedPoint3d
-
Compare this Oriented with another Oriented with specified tolerances in the coordinates and the angles.
- epsilonEquals(Point2d, double) - Method in class org.djutils.draw.point.Point2d
-
A comparison with another point that returns true of each of the coordinates is less than epsilon apart.
- epsilonEquals(Point3d, double) - Method in class org.djutils.draw.point.Point3d
-
A comparison with another point that returns true of each of the coordinates is less than epsilon apart.
- 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.OrientedPoint2d
- 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.Transform2d
- equals(Object) - Method in class org.djutils.draw.Transform3d
- extract(double, double) - Method in interface org.djutils.draw.line.PolyLine
-
Create a new L that covers a sub-section of this L.
- extract(double, double) - Method in class org.djutils.draw.line.PolyLine2d
-
Create a new L that covers a sub-section of this L.
- extract(double, double) - Method in class org.djutils.draw.line.PolyLine3d
-
Create a new L that covers a sub-section of this L.
- extractFractional(double, double) - Method in interface org.djutils.draw.line.PolyLine
-
Construct a new L covering the indicated fraction of this L.
F
- find(double) - Method in interface org.djutils.draw.line.PolyLine
-
Binary search for a position on the line.
G
- 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
-
Return one of the points of this line.
- get(int) - Method in class org.djutils.draw.line.PolyLine3d
-
Return one of the points of this line.
- getArea() - Method in class org.djutils.draw.bounds.Bounds2d
-
Return the area of this Bounds2d.
- getBounds() - Method in class org.djutils.draw.bounds.Bounds2d
-
Retrieve the bounding rectangle of the object.
- getBounds() - Method in class org.djutils.draw.bounds.Bounds3d
-
Retrieve the bounding box of the object.
- 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
-
Retrieve the bounding rectangle of the object.
- getBounds() - Method in class org.djutils.draw.line.LineSegment3d
-
Retrieve the bounding box of the object.
- getBounds() - Method in class org.djutils.draw.line.PolyLine2d
-
Retrieve the bounding rectangle of the object.
- getBounds() - Method in class org.djutils.draw.line.PolyLine3d
-
Retrieve the bounding box of the object.
- getBounds() - Method in class org.djutils.draw.line.Ray2d
-
Retrieve the bounding rectangle of the object.
- getBounds() - Method in class org.djutils.draw.line.Ray3d
-
Retrieve the bounding box of the object.
- getBounds() - Method in class org.djutils.draw.point.Point2d
-
Retrieve the bounding rectangle of the object.
- getBounds() - Method in class org.djutils.draw.point.Point3d
-
Retrieve the bounding box of the object.
- 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.Space
-
Return the number of dimensions.
- getDimensions() - Method in class org.djutils.draw.Space2d
-
Return the number of dimensions.
- getDimensions() - Method in class org.djutils.draw.Space3d
-
Return the number of dimensions.
- 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
-
Return the rotation around the x-axis in radians.
- 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.OrientedPoint3d
-
Return the rotation around the y-axis in radians.
- 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.OrientedPoint2d
-
Return the rotation around the z-axis in radians.
- getDirZ() - Method in class org.djutils.draw.point.OrientedPoint3d
-
Return the rotation around the z-axis in radians.
- 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
-
Get the end point of this LineSegment.
- getEndPoint() - Method in class org.djutils.draw.line.LineSegment3d
-
Get the end point of this LineSegment.
- 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
-
Get the finite end point of this Ray.
- getEndPoint() - Method in class org.djutils.draw.line.Ray3d
-
Get the finite end point of this Ray.
- getFirst() - Method in interface org.djutils.draw.line.PolyLine
-
Return the first point of this line.
- getLast() - Method in interface org.djutils.draw.line.PolyLine
-
Return the last point of this line.
- 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
-
Get the length (distance from start point to end point) of this LineSegment.
- getLength() - Method in class org.djutils.draw.line.LineSegment3d
-
Get the length (distance from start point to end point) of this LineSegment.
- getLength() - Method in interface org.djutils.draw.line.PolyLine
-
Return the length of this line.
- getLength() - Method in class org.djutils.draw.line.PolyLine2d
-
Return the length of this line.
- getLength() - Method in class org.djutils.draw.line.PolyLine3d
-
Return the length of this line.
- getLocation(double) - Method in interface org.djutils.draw.line.LineSegment
-
Create a Ray on a specified point on 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
-
Get the location at a position on the line, with its direction.
- getLocation(double) - Method in class org.djutils.draw.line.PolyLine3d
-
Get the location at a position on the line, with its direction.
- 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 Ray on a specified point on this LineSegment.
- getLocationExtended(double) - Method in class org.djutils.draw.line.LineSegment2d
-
Create a Ray on a specified point on this LineSegment.
- getLocationExtended(double) - Method in class org.djutils.draw.line.LineSegment3d
-
Create a Ray on a specified point on this LineSegment.
- 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
-
Get the location at a position on the line, with its direction.
- getLocationExtended(double) - Method in class org.djutils.draw.line.PolyLine3d
-
Get the location at a position on the line, with its direction.
- 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
-
Get the location at a position on the line, with its direction.
- getLocationExtended(double) - Method in class org.djutils.draw.line.Ray3d
-
Get the location at a position on the line, with its direction.
- 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 upper bound for x.
- getMaxX() - Method in class org.djutils.draw.bounds.Bounds2d
-
Return the upper bound for x.
- getMaxX() - Method in class org.djutils.draw.bounds.Bounds3d
-
Return the upper bound for x.
- getMaxY() - Method in interface org.djutils.draw.bounds.Bounds
-
Return the upper bound for y.
- getMaxY() - Method in class org.djutils.draw.bounds.Bounds2d
-
Return the upper bound for y.
- getMaxY() - Method in class org.djutils.draw.bounds.Bounds3d
-
Return the upper bound for y.
- 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 lower bound for x.
- getMinX() - Method in class org.djutils.draw.bounds.Bounds2d
-
Return the lower bound for x.
- getMinX() - Method in class org.djutils.draw.bounds.Bounds3d
-
Return the lower bound for x.
- getMinY() - Method in interface org.djutils.draw.bounds.Bounds
-
Return the lower bound for y.
- getMinY() - Method in class org.djutils.draw.bounds.Bounds2d
-
Return the lower bound for y.
- getMinY() - Method in class org.djutils.draw.bounds.Bounds3d
-
Return the lower bound for y.
- getMinZ() - Method in class org.djutils.draw.bounds.Bounds3d
-
Return the lower bound for z.
- getPhi() - Method in interface org.djutils.draw.line.Ray
-
Retrieve the angle from the positive X axis direction in radians.
- getPhi() - Method in class org.djutils.draw.line.Ray2d
-
Retrieve the angle from the positive X axis direction in radians.
- getPhi() - Method in class org.djutils.draw.line.Ray3d
-
Retrieve the angle from the positive X axis direction in radians.
- getPoints() - Method in class org.djutils.draw.bounds.Bounds2d
-
Retrieve, or generate all points that make up the object.
- getPoints() - Method in class org.djutils.draw.bounds.Bounds3d
-
Retrieve, or generate all points that make up the object.
- 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
-
Retrieve, or generate all points that make up the object.
- getPoints() - Method in class org.djutils.draw.line.LineSegment3d
-
Retrieve, or generate all points that make up the object.
- getPoints() - Method in class org.djutils.draw.line.PolyLine2d
-
Retrieve, or generate all points that make up the object.
- getPoints() - Method in class org.djutils.draw.line.PolyLine3d
-
Retrieve, or generate all points that make up the object.
- getPoints() - Method in class org.djutils.draw.point.OrientedPoint2d
-
Retrieve, or generate all points that make up the object.
- getPoints() - Method in class org.djutils.draw.point.OrientedPoint3d
-
Retrieve, or generate all points that make up the object.
- getPoints() - Method in class org.djutils.draw.point.Point2d
-
Retrieve, or generate all points that make up the object.
- getPoints() - Method in class org.djutils.draw.point.Point3d
-
Retrieve, or generate all points that make up the object.
- 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
-
Get the start point of this LineSegment.
- getStartPoint() - Method in class org.djutils.draw.line.LineSegment3d
-
Get the start point of this LineSegment.
- getTheta() - Method in class org.djutils.draw.line.Ray3d
-
Retrieve the angle from the positive Z axis direction in radians.
- 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
-
Return the x-coordinate.
- getX() - Method in class org.djutils.draw.point.Point3d
-
Return the x-coordinate.
- getY() - Method in interface org.djutils.draw.point.Point
-
Return the y-coordinate.
- getY() - Method in class org.djutils.draw.point.Point2d
-
Return the y-coordinate.
- getY() - Method in class org.djutils.draw.point.Point3d
-
Return the y-coordinate.
- getZ() - Method in class org.djutils.draw.point.Point3d
-
Return the z-coordinate.
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.OrientedPoint2d
- 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.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
-
Constructor that can be accessed as a method (used to implement default methods in this interface).
- instantiate(List<Point3d>) - Method in class org.djutils.draw.line.PolyLine3d
-
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(OrientedPoint2d, double) - Method in class org.djutils.draw.point.OrientedPoint2d
-
Interpolate towards another Point with a fraction.
- interpolate(OrientedPoint3d, double) - Method in class org.djutils.draw.point.OrientedPoint3d
-
Interpolate towards another Point with a fraction.
- interpolate(Point2d, double) - Method in class org.djutils.draw.point.Point2d
-
Interpolate towards another Point with a fraction.
- interpolate(Point3d, double) - Method in class org.djutils.draw.point.Point3d
-
Interpolate towards another Point with a fraction.
- 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
-
Return the intersecting Bounds of this Bounds and another Bounds.
- intersection(Bounds3d) - Method in class org.djutils.draw.bounds.Bounds3d
-
Return the intersecting Bounds of this Bounds and another Bounds.
- intersectionOfLines(Point2d, Point2d, Point2d, Point2d) - Static method in class org.djutils.draw.point.Point2d
-
Compute the 2D intersection of two lines.
- 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
-
Return whether this Bounds intersects another Bounds.
- intersects(Bounds3d) - Method in class org.djutils.draw.bounds.Bounds3d
-
Return whether this Bounds intersects another Bounds.
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
-
Access the internal lengthIndexedLine.
- lengthAtIndex(int) - Method in class org.djutils.draw.line.PolyLine3d
-
Access the internal lengthIndexedLine.
- LineSegment<P extends Point<P,S>,R extends Ray<R,P,S>,S extends Space> - 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 start four coordinates.
- LineSegment2d(double, double, Point2d) - Constructor for class org.djutils.draw.line.LineSegment2d
-
Construct a new LineSegment2d start two coordinates and a Point2d.
- LineSegment2d(Point2d, double, double) - Constructor for class org.djutils.draw.line.LineSegment2d
-
Construct a new LineSegment2d start a Point2d and two coordinates.
- LineSegment2d(Point2d, Point2d) - Constructor for class org.djutils.draw.line.LineSegment2d
-
Construct a new LineSegment2d start 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 start six coordinates.
- LineSegment3d(double, double, double, Point3d) - Constructor for class org.djutils.draw.line.LineSegment3d
-
Construct a new LineSegment3d start three coordinates and a Point3d.
- LineSegment3d(Point3d, double, double, double) - Constructor for class org.djutils.draw.line.LineSegment3d
-
Construct a new LineSegment3d start a Point3d and three coordinates.
- LineSegment3d(Point3d, Point3d) - Constructor for class org.djutils.draw.line.LineSegment3d
-
Construct a new LineSegment3d start two Point3d objects.
M
- midPoint() - Method in class org.djutils.draw.bounds.Bounds2d
-
Return the mid point of this Bounds2d.
- midPoint() - Method in class org.djutils.draw.bounds.Bounds3d
-
Return the mid point of this 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
-
Return a new Point with negated coordinate values.
- neg() - Method in class org.djutils.draw.line.Ray3d
-
Return a new Point with negated coordinate values.
- neg() - Method in interface org.djutils.draw.Oriented
-
Return a new Oriented with negated coordinate values.
- neg() - Method in class org.djutils.draw.point.OrientedPoint2d
-
Return a new Point with negated coordinate values.
- neg() - Method in class org.djutils.draw.point.OrientedPoint3d
-
Return a new Point with negated coordinate values.
- 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
-
Return a new Point with negated coordinate values.
- neg() - Method in class org.djutils.draw.point.Point3d
-
Return a new Point with negated coordinate values.
- noiseFilteredLine(double) - Method in class org.djutils.draw.line.PolyLine2d
-
Construct a new Line2d that is equal to this line except for segments that are shorter than the noiseLevel.
- noiseFilteredLine(double) - Method in class org.djutils.draw.line.PolyLine3d
-
Construct a new Line3d that is equal to this line except for segments that are shorter than the noiseLevel.
- normalize() - Method in class org.djutils.draw.point.OrientedPoint2d
-
Return a new Point with a distance of 1 to the origin.
- normalize() - Method in class org.djutils.draw.point.OrientedPoint3d
-
Return a new Point with a distance of 1 to the origin.
- 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
-
Return a new Point with a distance of 1 to the origin.
- normalize() - Method in class org.djutils.draw.point.Point3d
-
Return a new Point with a distance of 1 to the origin.
O
- offsetLine(double) - Method in class org.djutils.draw.line.PolyLine2d
-
Construct an offset line.
- offsetLine(double, double, double, double, double, double) - Method in class org.djutils.draw.line.PolyLine2d
-
Construct an offset line.
- 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.
- OrientedPoint2d - Class in org.djutils.draw.point
-
The OrientedPoint2d is a point in a 2-dimensional space with an orientation vector, which is specified in terms of its counter-clockwise rotation around the point in radians.
- OrientedPoint2d(double[], double) - Constructor for class org.djutils.draw.point.OrientedPoint2d
-
Construct an immutable directed point with an x and y coordinate, and a direction, stored with double precision.
- OrientedPoint2d(double, double) - Constructor for class org.djutils.draw.point.OrientedPoint2d
-
Construct an immutable directed point with an x and y coordinate, and a direction, stored with double precision.
- OrientedPoint2d(double, double, double) - Constructor for class org.djutils.draw.point.OrientedPoint2d
-
Construct an immutable directed point with an x and y coordinate, and a direction, stored with double precision.
- OrientedPoint2d(Point2D, double) - Constructor for class org.djutils.draw.point.OrientedPoint2d
-
Construct an immutable directed point from an AWT Point2D, and a direction, stored with double precision.
- OrientedPoint2d(Point2d, double) - Constructor for class org.djutils.draw.point.OrientedPoint2d
-
Construct an immutable directed point with a direction from another Point, stored with double precision.
- OrientedPoint3d - Class in org.djutils.draw.point
-
A OrientedPoint3d is an immutable directed point with an x, y, and z coordinate, stored with double precision.
- OrientedPoint3d(double[]) - Constructor for class org.djutils.draw.point.OrientedPoint3d
-
Create an immutable directed point with x, y, and z coordinates, stored with double precision, and direction 0,0,0.
- OrientedPoint3d(double[], double[]) - Constructor for class org.djutils.draw.point.OrientedPoint3d
-
Create an immutable point with x, y, and z coordinates, stored with double precision, and direction.
- OrientedPoint3d(double[], double, double, double) - Constructor for class org.djutils.draw.point.OrientedPoint3d
-
Create an immutable directed point with x, y, and z coordinates, stored with double precision, and direction 0,0,0.
- OrientedPoint3d(double, double, double) - Constructor for class org.djutils.draw.point.OrientedPoint3d
-
Create an immutable directed point with x, y, and z coordinates, stored with double precision, and direction 0,0,0.
- OrientedPoint3d(double, double, double, double[]) - Constructor for class org.djutils.draw.point.OrientedPoint3d
-
Create an immutable point with x, y, and z coordinates, stored with double precision, and direction.
- OrientedPoint3d(double, double, double, double, double, double) - Constructor for class org.djutils.draw.point.OrientedPoint3d
-
Create an immutable directed point with x, y, and z coordinates, stored with double precision and direction.
- OrientedPoint3d(Point3d, double, double, double) - Constructor for class org.djutils.draw.point.OrientedPoint3d
-
Create an immutable directed point from another point, stored with double precision and specified direction.
P
- phi - Variable in class org.djutils.draw.line.Ray2d
-
Phi; the angle from the positive X axis direction in radians.
- phi - Variable in class org.djutils.draw.line.Ray3d
-
Phi; the angle from the positive X axis direction in radians.
- Point<P extends Point<P,S>,S extends Space> - 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 Point with just an x and y coordinate, stored with double precision.
- Point2d(double, double) - Constructor for class org.djutils.draw.point.Point2d
-
Create a new Point with just an x and y coordinate, stored with double precision.
- Point2d(Point2D) - Constructor for class org.djutils.draw.point.Point2d
-
Create an immutable point with just two values, x and y, stored with double precision from an AWT 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 Point with just an x, y and z coordinate, stored with double precision.
- Point3d(double, double, double) - Constructor for class org.djutils.draw.point.Point3d
-
Create a new Point with just an x, y and z coordinate, stored with double precision.
- Point3d(Point2D, double) - Constructor for class org.djutils.draw.point.Point3d
-
Create an immutable point with just three values, x, y and z, stored with double precision from an AWT Point2D and z.
- Point3d(Point2d, double) - Constructor for class org.djutils.draw.point.Point3d
-
Create an immutable point with just three values, x, y and z, stored with double precision from a Point2d and z.
- Polygon2d - Class in org.djutils.draw.surface
-
Polygon2d.java.
- Polygon2d(Point2d, Point2d, Point2d[]) - Constructor for class org.djutils.draw.surface.Polygon2d
-
Construct a new Polygon2d.
- PolyLine<L extends PolyLine<L,P,S,R>,P extends Point<P,S>,S extends Space,R> - Interface in org.djutils.draw.line
-
PolyLine is the interface for PolyLine2d and PolyLine3d implementations.
- PolyLine2d - Class in org.djutils.draw.line
-
Implementation of Line for 2D space.
- PolyLine2d(Path2D) - Constructor for class org.djutils.draw.line.PolyLine2d
-
Construct a new Line2d (closed shape) from a Path2D.
- PolyLine2d(Iterator<Point2d>) - Constructor for class org.djutils.draw.line.PolyLine2d
-
Construct a new Line2d and initialize its length indexed line, bounds, centroid and length.
- PolyLine2d(List<Point2d>) - Constructor for class org.djutils.draw.line.PolyLine2d
-
Construct a new Line2d from a List<Point2d>.
- PolyLine2d(Point2d[]) - Constructor for class org.djutils.draw.line.PolyLine2d
-
Construct a new PolyLine2d from an array of Point2d.
- PolyLine2d(Point2d, Point2d, Point2d...) - Constructor for class org.djutils.draw.line.PolyLine2d
-
Construct a new PolyLine2d from an array of Point2d.
- PolyLine3d - Class in org.djutils.draw.line
-
Implementation of Line for 3D space.
- PolyLine3d(Iterator<Point3d>) - Constructor for class org.djutils.draw.line.PolyLine3d
-
Construct a new Line3d and initialize its length indexed line, bounds, centroid and length.
- PolyLine3d(List<Point3d>) - Constructor for class org.djutils.draw.line.PolyLine3d
-
Construct a new Line3d from a List<Point3d>.
- PolyLine3d(Point3d[]) - Constructor for class org.djutils.draw.line.PolyLine3d
-
Construct a new PolyLine3d from an array of Point3d.
- PolyLine3d(Point3d, Point3d, Point3d...) - Constructor for class org.djutils.draw.line.PolyLine3d
-
Construct a new PolyLine3d from an array of Point3d.
- project() - Method in class org.djutils.draw.bounds.Bounds3d
-
Project the object onto the z=0 plane.
- 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 the object onto the z=0 plane.
- project() - Method in class org.djutils.draw.line.PolyLine3d
-
Project the object onto the z=0 plane.
- project() - Method in class org.djutils.draw.point.Point3d
-
Project the object onto the z=0 plane.
- projectOrthogonal(double, double) - Method in class org.djutils.draw.line.PolyLine2d
-
Returns the fractional position along this line of the orthogonal projection of point (x, y) on this line.
- projectOrthogonal(Point2d) - Method in class org.djutils.draw.line.PolyLine2d
-
Returns the fractional position along this line of the orthogonal projection of a point on this line.
- projectRay(Ray2d) - Method in class org.djutils.draw.line.PolyLine2d
-
Find a location on this PolyLine2d that is a reasonable projection of a DirectedPoint on this line.
R
- Ray<R extends Ray<R,P,S>,P extends Point<P,S>,S extends Space> - 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 non-infinite coordinates; the other end point is infinitely far away.
- 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.
- 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, 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(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.PolyLine
-
Construct a new Line with all points of this Line in reverse order.
- rotate(double) - Method in class org.djutils.draw.point.OrientedPoint2d
-
Return a new OrientedPoint with an in-place rotation around the z-axis by the provided delta.
- rotate(double) - Method in class org.djutils.draw.point.OrientedPoint3d
-
Return a new OrientedPoint with an in-place rotation around the z-axis by the provided delta.
- 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.OrientedPoint2d
-
Return a new Point with the coordinates of this point scaled by the provided factor.
- scale(double) - Method in class org.djutils.draw.point.OrientedPoint3d
-
Return a new Point with the coordinates of this point scaled by the provided factor.
- 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
-
Return a new Point with the coordinates of this point scaled by the provided factor.
- scale(double) - Method in class org.djutils.draw.point.Point3d
-
Return a new Point with the coordinates of this point scaled by the provided factor.
- 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
-
Retrieve the number of points that make up the object.
- size() - Method in class org.djutils.draw.bounds.Bounds3d
-
Retrieve the number of points that make up the object.
- 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
-
Retrieve the number of points that make up the object.
- size() - Method in class org.djutils.draw.line.LineSegment3d
-
Retrieve the number of points that make up the object.
- size() - Method in class org.djutils.draw.line.PolyLine2d
-
Retrieve the number of points that make up the object.
- size() - Method in class org.djutils.draw.line.PolyLine3d
-
Retrieve the number of points that make up the object.
- size() - Method in class org.djutils.draw.point.Point2d
-
Retrieve the number of points that make up the object.
- size() - Method in class org.djutils.draw.point.Point3d
-
Retrieve the number of points that make up the object.
- Space - Interface in org.djutils.draw
-
Dimension interface to show the number of dimensions for the drawable objects.
- Space2d - Class in org.djutils.draw
-
Space2d interface to show that the number of dimensions for the drawable objects is 2.
- Space2d() - Constructor for class org.djutils.draw.Space2d
- Space3d - Class in org.djutils.draw
-
Space3d interface to show that the number of dimensions for the drawable objects is 3.
- Space3d() - Constructor for class org.djutils.draw.Space3d
- 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.
T
- theta - Variable in class org.djutils.draw.line.Ray3d
-
Theta; the angle from the positive Z axis direction in radians.
- toExcel() - Method in class org.djutils.draw.line.PolyLine2d
-
Convert this PolyLine2d to something that MS-Excel can plot.
- toPlot() - Method in class org.djutils.draw.line.PolyLine2d
-
Convert this PolyLine3D to Peter's plot format.
- toPoint2D() - Method in class org.djutils.draw.point.Point2d
-
Return the coordinates as an AWT 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 class org.djutils.draw.line.LineSegment2d
- toString() - Method in class org.djutils.draw.line.LineSegment3d
- 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
-
Return a string representation of the point.
- toString() - Method in class org.djutils.draw.line.Ray3d
-
Return a string representation of the point.
- toString() - Method in class org.djutils.draw.point.OrientedPoint2d
-
Return a string representation of the point.
- toString() - Method in class org.djutils.draw.point.OrientedPoint3d
-
Return a string representation of the point.
- toString() - Method in interface org.djutils.draw.point.Point
-
Return a string representation of the point.
- toString() - Method in class org.djutils.draw.point.Point2d
-
Return a string representation of the point.
- toString() - Method in class org.djutils.draw.point.Point3d
-
Return a string representation of the point.
- toString() - Method in class org.djutils.draw.Transform2d
- toString() - Method in class org.djutils.draw.Transform3d
- toString(int) - Method in class org.djutils.draw.point.OrientedPoint2d
-
Return a string representation of the point with a certain number of fraction digits for the coordinates.
- toString(int) - Method in class org.djutils.draw.point.OrientedPoint3d
-
Return a string representation of the point with a certain number of fraction digits for the coordinates.
- toString(int) - Method in interface org.djutils.draw.point.Point
-
Return a string representation of the point with a certain number of fraction digits for the coordinates.
- toString(int) - Method in class org.djutils.draw.point.Point2d
-
Return a string representation of the point with a certain number of fraction digits for the coordinates.
- toString(int) - Method in class org.djutils.draw.point.Point3d
-
Return a string representation of the point with a certain number of fraction digits for the coordinates.
- 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 provided point and return a point with the transformed coordinate.
- transform(Iterator<Point3d>) - Method in class org.djutils.draw.Transform3d
-
Apply the stored transform on the provided point and return a point with the transformed coordinate.
- 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
- translate(double, double) - Method in class org.djutils.draw.point.OrientedPoint2d
-
Return a new Point with a translation by the provided dx and dy.
- translate(double, double) - Method in class org.djutils.draw.point.OrientedPoint3d
-
Return a new Point with a translation by the provided dx and dy.
- translate(double, double) - Method in class org.djutils.draw.point.Point2d
-
Return a new Point with a translation by the provided dx and dy.
- translate(double, double) - Method in class org.djutils.draw.point.Point3d
-
Return a new Point 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.OrientedPoint2d
-
Return a new Point3d with a translation by the provided delta-x, delta-y and deltaZ.
- translate(double, double, double) - Method in class org.djutils.draw.point.OrientedPoint3d
-
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.Point2d
-
Return a new Point3d with a translation by the provided delta-x, delta-y and deltaZ.
- 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 Line 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 this Line 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.PolyLine3d
-
Truncate this Line at the given length (less than the length of the line, and larger than zero) and return a new line.
V
- 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 All Packages