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.org.djutils.draw.surface The d1 package provides an interface and different implementations for Areas. -
-
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 Bounds object.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.static Iterator<Point3d>
Bounds3d. pointsOf(Collection<Drawable3d> drawableCollection)
Return an iterator that will return all points of one or more Drawable3d objects.static Iterator<Point3d>
Bounds3d. pointsOf(Drawable3d... drawable3d)
Return an iterator that will return all points of one or more Drawable objects.Methods in org.djutils.draw.bounds with parameters of type Point3d Modifier and Type Method Description boolean
Bounds3d. contains(Point3d point)
Check if a point is contained in this Bounds.boolean
Bounds3d. covers(Point3d point)
Check if this Bounds covers or touches 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(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
PolyLine3d. closestPointOnPolyLine(Point3d point)
Project a Point on this PolyLine.Point3d
Ray3d. closestPointOnRay(Point3d point)
Project a Point on a Ray.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.Point3d
LineSegment3d. projectOrthogonal(Point3d point)
Project a point onto this object.Point3d
PolyLine3d. projectOrthogonal(Point3d point)
Project a point onto this object.Point3d
Ray3d. projectOrthogonal(Point3d point)
Project a point onto this object.Point3d
LineSegment3d. projectOrthogonalExtended(Point3d point)
Project a point onto this object.Point3d
PolyLine3d. projectOrthogonalExtended(Point3d point)
Project a point onto this object.Point3d
Ray3d. projectOrthogonalExtended(Point3d point)
Project a point onto this object.Methods in org.djutils.draw.line that return types with arguments of type Point3d Modifier and Type Method Description (package private) static Iterator<Point3d>
PolyLine3d. cleanPoints(boolean filter, Iterator<Point3d> iterator)
Return an iterator that optionally skips identical successive points.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.Iterator<Point3d>
Ray3d. getPoints()
Retrieve, or generate all points that make up the object.(package private) static List<Point3d>
PolyLine3d. iteratorToList(Iterator<Point3d> iterator)
Build a list from the Point3d objects that an iterator provides.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
PolyLine3d. closestPointOnPolyLine(Point3d point)
Project a Point on this PolyLine.Point3d
Ray3d. closestPointOnRay(Point3d point)
Project a Point on a Ray.Point3d
LineSegment3d. closestPointOnSegment(Point3d point)
Project a Point on this LineSegment.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.protected static double[]
PolyLine3d. makeArray(Point3d[] points, Function<Point3d,Double> getter)
Make an array of double an fill it with the appropriate coordinate of points.Point3d
LineSegment3d. projectOrthogonal(Point3d point)
Project a point onto this object.Point3d
PolyLine3d. projectOrthogonal(Point3d point)
Project a point onto this object.Point3d
Ray3d. projectOrthogonal(Point3d point)
Project a point onto this object.Point3d
LineSegment3d. projectOrthogonalExtended(Point3d point)
Project a point onto this object.Point3d
PolyLine3d. projectOrthogonalExtended(Point3d point)
Project a point onto this object.Point3d
Ray3d. projectOrthogonalExtended(Point3d point)
Project a point onto this object.double
LineSegment3d. projectOrthogonalFractional(Point3d point)
Project a point onto this object.double
PolyLine3d. projectOrthogonalFractional(Point3d point)
Project a point onto this object.double
Ray3d. projectOrthogonalFractional(Point3d point)
Project a point onto this object.double
LineSegment3d. projectOrthogonalFractionalExtended(Point3d point)
Project a point onto this object.double
PolyLine3d. projectOrthogonalFractionalExtended(Point3d point)
Project a point onto this object.double
Ray3d. projectOrthogonalFractionalExtended(Point3d point)
Project a point onto this object.Method parameters in org.djutils.draw.line with type arguments of type Point3d Modifier and Type Method Description (package private) static Iterator<Point3d>
PolyLine3d. cleanPoints(boolean filter, Iterator<Point3d> iterator)
Return an iterator that optionally skips identical successive points.PolyLine3d
PolyLine3d. instantiate(List<Point3d> pointList)
Constructor that can be accessed as a method (used to implement default methods in this interface).(package private) static List<Point3d>
PolyLine3d. iteratorToList(Iterator<Point3d> iterator)
Build a list from the Point3d objects that an iterator provides.protected static double[]
PolyLine3d. makeArray(Point3d[] points, Function<Point3d,Double> getter)
Make an array of double an fill it with the appropriate coordinate of points.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.Polygon3d(boolean filterDuplicates, Point3d... points)
Create a new Polygon3d, optionally filtering out repeating successive points.Polygon3d(Point3d[] points)
Construct a new Polygon3d.Polygon3d(Point3d point1, Point3d point2, Point3d... otherPoints)
Construct a new Polygon3d.PolyLine3d(boolean filterDuplicates, Point3d... points)
Create a new PolyLine3d, optionally filtering out repeating successive points.PolyLine3d(Point3d[] points)
Construct a new PolyLine3d from an array of Point3d.PolyLine3d(Point3d p, double phi, double theta)
Construct a degenerate PolyLine3d (consisting of only one point).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 Polygon3d(boolean filterDuplicates, List<Point3d> pointList)
Create a new Polygon3d, optionally filtering out repeating successive points.Polygon3d(Iterator<Point3d> iterator)
Construct a new Polygon3d from an iterator that yields Point3d.Polygon3d(List<Point3d> points)
Construct a new Polygon3d from a list of Point3d objects.PolyLine3d(boolean filterDuplicates, List<Point3d> pointList)
Create a new PolyLine3d, optionally filtering out repeating successive points.PolyLine3d(Iterator<Point3d> iterator)
Construct a new PolyLine3d from an iterator that yields Point3d objects.PolyLine3d(List<Point3d> pointList)
Construct a new PolyLine3d 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 point with an x, y, and z coordinate, stored with double precision plus a 3d orientation.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(double p1X, double p1Y, double p1Z, double p2X, double p2Y, double p2Z)
Project a point on a line.Point3d
Point3d. closestPointOnLine(double p1X, double p1Y, double p1Z, double p2X, double p2Y, double p2Z, Boolean lowLimitHandling, Boolean highLimitHandling)
Compute the closest point on a line with optional limiting of the result on either end.Point3d
Point3d. closestPointOnLine(Point3d linePoint1, Point3d linePoint2)
Project a point on a line.Point3d
Point3d. closestPointOnSegment(double p1X, double p1Y, double p1Z, double p2X, double p2Y, double p2Z)
Project a point on a line segment.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 delta-z.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.(package private) double
Point3d. verticalDirection(Point3d point)
Return the direction with respect to the Z axis to another point, in radians.Constructors in org.djutils.draw.point with parameters of type Point3d Constructor Description OrientedPoint3d(Point3d point, double dirX, double dirY, double dirZ)
Create a new OrientedPoint3d from another point and specified orientation dirX,dirY,dirZ. -
Uses of Point3d in org.djutils.draw.surface
Methods in org.djutils.draw.surface that return types with arguments of type Point3d Modifier and Type Method Description Iterator<? extends Point3d>
Surface3d. getPoints()
Retrieve, or generate all points that make up the object.Constructors in org.djutils.draw.surface with parameters of type Point3d Constructor Description Surface3d(Point3d[][] points)
Construct a new Surface3d.
-