Uses of Class
org.djutils.draw.point.Point3d
-
Packages that use Point3d Package Description org.djutils.draw The draw package contains the generic classes for device-independent drawing.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 The d1 package provides an interface and different implementations for Lines.org.djutils.draw.point The d0 package provides a set of interfaces and implementations of Points. -
-
Uses of Point3d in org.djutils.draw
Methods in org.djutils.draw that return Point3d Modifier and Type Method Description Point3d
Transform3d. transform(Point3d point)
Apply the stored transform on the provided point and return a point with the transformed coordinate.Methods in org.djutils.draw that return types with arguments of type Point3d Modifier and Type Method Description Iterator<Point3d>
Transform3d. transform(Iterator<Point3d> pointIterator)
Apply the stored transform on the provided point and return a point with the transformed coordinate.Methods in org.djutils.draw with parameters of type Point3d Modifier and Type Method Description Point3d
Transform3d. transform(Point3d point)
Apply the stored transform on the provided point and return a point with the transformed coordinate.Transform3d
Transform3d. translate(Point3d point)
Translate coordinates by a the x, y, and z values contained in a Point.Method parameters in org.djutils.draw with type arguments of type Point3d Modifier and Type Method Description Iterator<Point3d>
Transform3d. transform(Iterator<Point3d> pointIterator)
Apply the stored transform on the provided point and return a point with the transformed coordinate. -
Uses of Point3d in org.djutils.draw.bounds
Methods in org.djutils.draw.bounds that return Point3d Modifier and Type Method Description Point3d
Bounds3d. midPoint()
Return the mid point of this Bounds3d.Methods in org.djutils.draw.bounds that return types with arguments of type Point3d Modifier and Type Method Description Iterator<Point3d>
Bounds3d. getPoints()
Retrieve, or generate all points that make up the object.Methods in org.djutils.draw.bounds with parameters of type Point3d Modifier and Type Method Description boolean
Bounds3d. contains(Point3d point)
Check if the Bounds3d contains a point.boolean
Bounds3d. covers(Point3d point)
Check if this Bounds3d contains a point.Constructors in org.djutils.draw.bounds with parameters of type Point3d Constructor Description Bounds3d(Point3d[] points)
Construct a Bounds3d from an array of Point3d, finding the lowest and highest x, y and z coordinates.Constructor parameters in org.djutils.draw.bounds with type arguments of type Point3d Constructor Description Bounds3d(Collection<Point3d> points)
Construct a Bounds3d from a collection of Point3d, finding the lowest and highest x and y coordinates.Bounds3d(Iterator<? extends Point3d> points)
Construct a Bounds3d from some collection of points, finding the lowest and highest x and y coordinates. -
Uses of Point3d in org.djutils.draw.line
Subclasses of Point3d in org.djutils.draw.line Modifier and Type Class Description class
Ray3d
Ray3d is a half-line; it has one end point with non-infinite coordinates; the other end point is infinitely far away.Methods in org.djutils.draw.line that return Point3d Modifier and Type Method Description Point3d
Ray3d. closestPointOnRay(Point3d point)
Project a Point on a Segment.Point3d
LineSegment3d. closestPointOnSegment(Point3d point)
Project a Point on this LineSegment.Point3d
PolyLine3d. get(int i)
Return one of the points of this line.Point3d
LineSegment3d. getEndPoint()
Get the end point of this LineSegment.Point3d
Ray3d. getEndPoint()
Get the finite end point of this Ray.Point3d
LineSegment3d. getStartPoint()
Get the start point of this LineSegment.Methods in org.djutils.draw.line that return types with arguments of type Point3d Modifier and Type Method Description Iterator<? extends Point3d>
LineSegment3d. getPoints()
Retrieve, or generate all points that make up the object.Iterator<Point3d>
PolyLine3d. getPoints()
Retrieve, or generate all points that make up the object.Methods in org.djutils.draw.line with parameters of type Point3d Modifier and Type Method Description static PolyLine3d
Bezier. bezier(double epsilon, Point3d... points)
Approximate a Bézier curve of degree n with a specified precision.static PolyLine3d
Bezier. bezier(int size, Point3d... points)
Construct a Bézier curve of degree n.static PolyLine3d
Bezier. bezier(Point3d... points)
Approximate a Bézier curve of degree n usingDEFAULT_BEZIER_SIZE
points.Point3d
Ray3d. closestPointOnRay(Point3d point)
Project a Point on a Segment.Point3d
LineSegment3d. closestPointOnSegment(Point3d point)
Project a Point on this LineSegment.static PolyLine3d
PolyLine3d. createAndCleanLine3d(Point3d... points)
Create a new Line3d, filtering out repeating successive points.static PolyLine3d
Bezier. cubic(double epsilon, Point3d start, Point3d control1, Point3d control2, Point3d end)
Approximate a cubic Bézier curve from start to end with two control points with a specified precision.static PolyLine3d
Bezier. cubic(int size, Point3d start, Point3d control1, Point3d control2, Point3d end)
Approximate a cubic Bézier curve from start to end with two control points.Method parameters in org.djutils.draw.line with type arguments of type Point3d Modifier and Type Method Description static PolyLine3d
PolyLine3d. createAndCleanLine3d(List<Point3d> pointList)
Create an Line3d, while filtering out repeating successive points.PolyLine3d
PolyLine3d. instantiate(List<Point3d> pointList)
Constructor that can be accessed as a method (used to implement default methods in this interface).Constructors in org.djutils.draw.line with parameters of type Point3d Constructor Description LineSegment3d(double startX, double startY, double startZ, Point3d end)
Construct a new LineSegment3d start three coordinates and a Point3d.LineSegment3d(Point3d start, double endX, double endY, double endZ)
Construct a new LineSegment3d start a Point3d and three coordinates.LineSegment3d(Point3d start, Point3d end)
Construct a new LineSegment3d start two Point3d objects.PolyLine3d(Point3d[] points)
Construct a new PolyLine3d from an array of Point3d.PolyLine3d(Point3d point1, Point3d point2, Point3d... otherPoints)
Construct a new PolyLine3d from an array of Point3d.Ray3d(double x, double y, double z, Point3d throughPoint)
Construct a new Ray3d.Ray3d(Point3d point, double phi, double theta)
Construct a new Ray3d.Ray3d(Point3d point, double throughX, double throughY, double throughZ)
Construct a new Ray3d.Ray3d(Point3d point, Point3d throughPoint)
Construct a new Ray3d.Constructor parameters in org.djutils.draw.line with type arguments of type Point3d Constructor Description PolyLine3d(Iterator<Point3d> iterator)
Construct a new Line3d and initialize its length indexed line, bounds, centroid and length.PolyLine3d(List<Point3d> pointList)
Construct a new Line3d from a List<Point3d>. -
Uses of Point3d in org.djutils.draw.point
Subclasses of Point3d in org.djutils.draw.point Modifier and Type Class Description class
OrientedPoint3d
A OrientedPoint3d is an immutable directed point with an x, y, and z coordinate, stored with double precision.Methods in org.djutils.draw.point that return Point3d Modifier and Type Method Description Point3d
Point3d. abs()
Return a new Point with absolute coordinate values.Point3d
Point3d. closestPointOnLine(Ray3d ray)
Closest point on a ray.Point3d
Point3d. closestPointOnLine(Point3d linePoint1, Point3d linePoint2)
Project a point on a line.Point3d
Point3d. closestPointOnSegment(Point3d segmentPoint1, Point3d segmentPoint2)
Project a point on a line segment.Point3d
Point3d. interpolate(Point3d point, double fraction)
Interpolate towards another Point with a fraction.Point3d
Point3d. neg()
Return a new Point with negated coordinate values.Point3d
Point3d. normalize()
Return a new Point with a distance of 1 to the origin.Point3d
Point3d. scale(double factor)
Return a new Point with the coordinates of this point scaled by the provided factor.Point3d
Point2d. translate(double dx, double dy, double dz)
Return a new Point3d with a translation by the provided delta-x, delta-y and deltaZ.Point3d
Point3d. translate(double dx, double dy)
Return a new Point with a translation by the provided dx and dy.Point3d
Point3d. translate(double dx, double dy, double dz)
Return a new Point3d with a translation by the provided dx, dy and dz.Methods in org.djutils.draw.point that return types with arguments of type Point3d Modifier and Type Method Description Iterator<? extends Point3d>
Point3d. getPoints()
Retrieve, or generate all points that make up the object.Methods in org.djutils.draw.point with parameters of type Point3d Modifier and Type Method Description Point3d
Point3d. closestPointOnLine(Point3d linePoint1, Point3d linePoint2)
Project a point on a line.Point3d
Point3d. closestPointOnSegment(Point3d segmentPoint1, Point3d segmentPoint2)
Project a point on a line segment.double
Point3d. distance(Point3d otherPoint)
Return the distance to another point.double
Point3d. distanceSquared(Point3d otherPoint)
Return the squared distance between this point and the provided point.boolean
Point3d. epsilonEquals(Point3d other, double epsilon)
A comparison with another point that returns true of each of the coordinates is less than epsilon apart.(package private) double
Point3d. horizontalDirection(Point3d point)
Return the direction to another point, in radians, ignoring the z-coordinate.(package private) double
Point3d. horizontalDistance(Point3d point)
Return the Euclidean distance between this point and the provided point, ignoring the z-coordinate.(package private) double
Point3d. horizontalDistanceSquared(Point3d point)
Return the squared distance between the coordinates of this point and the provided point, ignoring the z-coordinate.Point3d
Point3d. interpolate(Point3d point, double fraction)
Interpolate towards another Point with a fraction.Constructors in org.djutils.draw.point with parameters of type Point3d Constructor Description OrientedPoint3d(Point3d point, double dirX, double dirY, double dirZ)
Create an immutable directed point from another point, stored with double precision and specified direction.
-