Uses of Class
org.djutils.draw.point.Point3d
Package
Description
The draw package contains the generic classes for device-independent drawing.
Methods for Bounds of an object to quickly determine whether an object needs to be drawn or not.
The d1 package provides an interface and different implementations for lines.
The d0 package provides a set of interfaces and implementations of Points.
The d1 package provides an interface and different implementations for Areas.
-
Uses of Point3d in org.djutils.draw
Modifier and TypeMethodDescriptionApply the stored transform on the provided point and return a point with the transformed coordinate.Modifier and TypeMethodDescriptionApply the stored transform on the points generated by the provided pointIterator.Modifier and TypeMethodDescriptionApply the stored transform on the provided point and return a point with the transformed coordinate.Translate coordinates by a the x, y, and z values contained in a Point. -
Uses of Point3d in org.djutils.draw.bounds
Modifier and TypeMethodDescriptionBounds3d.getPoints()
Bounds3d.pointsOf
(Collection<Drawable3d> drawableCollection) Return an iterator that will return all points of one or more Drawable3d objects.Bounds3d.pointsOf
(Drawable3d... drawable3d) Return an iterator that will return all points of one or more Drawable objects.Modifier and TypeMethodDescriptionboolean
boolean
ModifierConstructorDescriptionConstruct a Bounds3d from an array of Point3d, finding the lowest and highest x, y and z coordinates. -
Uses of Point3d in org.djutils.draw.line
Modifier and TypeClassDescriptionclass
Ray3d is a half-line; it has one end point with non-infinite coordinates; the other end point is infinitely far away.Modifier and TypeMethodDescriptionPolyLine3d.closestPointOnPolyLine
(Point3d point) Ray3d.closestPointOnRay
(Point3d point) LineSegment3d.closestPointOnSegment
(Point3d point) final Point3d
PolyLine3d.get
(int i) LineSegment3d.getEndPoint()
LineSegment3d.getStartPoint()
LineSegment3d.projectOrthogonal
(Point3d point) PolyLine3d.projectOrthogonal
(Point3d point) Ray3d.projectOrthogonal
(Point3d point) LineSegment3d.projectOrthogonalExtended
(Point3d point) PolyLine3d.projectOrthogonalExtended
(Point3d point) Ray3d.projectOrthogonalExtended
(Point3d point) Modifier and TypeMethodDescriptionPolyLine3d.cleanPoints
(boolean filter, Iterator<Point3d> iterator) Return an iterator that optionally skips identical successive points.LineSegment3d.getPoints()
PolyLine3d.getPoints()
PolyLine3d.iteratorToList
(Iterator<Point3d> iterator) Build a list from the Point3d objects that an iterator provides.Modifier and TypeMethodDescriptionstatic PolyLine3d
Approximate a Bézier curve of degree n with a specified precision.static PolyLine3d
Construct a Bézier curve of degree n.static PolyLine3d
Approximate a Bézier curve of degree n usingDEFAULT_BEZIER_SIZE
points.PolyLine3d.closestPointOnPolyLine
(Point3d point) Ray3d.closestPointOnRay
(Point3d point) LineSegment3d.closestPointOnSegment
(Point3d point) static PolyLine3d
Approximate a cubic Bézier curve from start to end with two control points with a specified precision.static PolyLine3d
Approximate a cubic Bézier curve from start to end with two control points.protected static double[]
Make an array of double an fill it with the appropriate coordinate of points.LineSegment3d.projectOrthogonal
(Point3d point) PolyLine3d.projectOrthogonal
(Point3d point) Ray3d.projectOrthogonal
(Point3d point) LineSegment3d.projectOrthogonalExtended
(Point3d point) PolyLine3d.projectOrthogonalExtended
(Point3d point) Ray3d.projectOrthogonalExtended
(Point3d point) double
LineSegment3d.projectOrthogonalFractional
(Point3d point) final double
PolyLine3d.projectOrthogonalFractional
(Point3d point) double
Ray3d.projectOrthogonalFractional
(Point3d point) double
LineSegment3d.projectOrthogonalFractionalExtended
(Point3d point) double
PolyLine3d.projectOrthogonalFractionalExtended
(Point3d point) double
Ray3d.projectOrthogonalFractionalExtended
(Point3d point) Modifier and TypeMethodDescriptionPolyLine3d.cleanPoints
(boolean filter, Iterator<Point3d> iterator) Return an iterator that optionally skips identical successive points.PolyLine3d.instantiate
(List<Point3d> pointList) PolyLine3d.iteratorToList
(Iterator<Point3d> iterator) Build a list from the Point3d objects that an iterator provides.protected static double[]
Make an array of double an fill it with the appropriate coordinate of points.ModifierConstructorDescriptionLineSegment3d
(double startX, double startY, double startZ, Point3d end) Construct a new LineSegment3d from three coordinates and a Point3d.LineSegment3d
(Point3d start, double endX, double endY, double endZ) Construct a new LineSegment3d from a Point3d and three coordinates.LineSegment3d
(Point3d start, Point3d end) Construct a new LineSegment3d from two Point3d objects.Create a new Polygon3d, optionally filtering out repeating successive points.Construct a new Polygon3d.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 dirY, double dirZ) Construct a degenerate PolyLine3d (consisting of only one point).PolyLine3d
(Point3d point1, Point3d point2, Point3d... otherPoints) Construct a new PolyLine3d from two or more Point3d arguments.Construct a new Ray3d.Construct a new Ray3d.Construct a new Ray3d.Construct a new Ray3d.ModifierConstructorDescriptionCreate a new Polygon3d, optionally filtering out repeating successive points.Construct a new Polygon3d from an iterator that yields Point3d.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
Modifier and TypeClassDescriptionclass
DirectedPoint3d.java.class
A OrientedPoint3d is an immutable point with an x, y, and z coordinate, stored with double precision plus a 3d orientation.Modifier and TypeMethodDescriptionPoint3d.abs()
final Point3d
Point3d.closestPointOnLine
(double p1X, double p1Y, double p1Z, double p2X, double p2Y, double p2Z) Project a point on a line.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.final Point3d
Point3d.closestPointOnLine
(Point3d linePoint1, Point3d linePoint2) final Point3d
Point3d.closestPointOnSegment
(double p1X, double p1Y, double p1Z, double p2X, double p2Y, double p2Z) Project a point on a line segment.final Point3d
Point3d.closestPointOnSegment
(Point3d segmentPoint1, Point3d segmentPoint2) Point3d.interpolate
(Point3d point, double fraction) Point3d.neg()
Point3d.normalize()
Point3d.scale
(double factor) Point2d.translate
(double dx, double dy, double dz) Return a new Point3d with a translation by the provided dx, dy and dz.Point3d.translate
(double dx, double dy) Return a new Point3d with a translation by the provided dx and dy.Point3d.translate
(double dx, double dy, double dz) Return a new Point3d with a translation by the provided dx, dy and dz.Modifier and TypeMethodDescriptionfinal Point3d
Point3d.closestPointOnLine
(Point3d linePoint1, Point3d linePoint2) final Point3d
Point3d.closestPointOnSegment
(Point3d segmentPoint1, Point3d segmentPoint2) double
double
Point3d.distanceSquared
(Point3d otherPoint) boolean
Point3d.epsilonEquals
(Point3d otherPoint, double epsilon) (package private) final double
Point3d.horizontalDirection
(Point3d otherPoint) Return the direction to another point, in radians, ignoring the z-coordinate.(package private) final double
Point3d.horizontalDistance
(Point3d otherPoint) Return the Euclidean distance between this point and the provided point, ignoring the z-coordinate.(package private) final double
Point3d.horizontalDistanceSquared
(Point3d otherPoint) Return the squared distance between the coordinates of this point and the provided point, ignoring the z-coordinate.Point3d.interpolate
(Point3d point, double fraction) (package private) final double
Point3d.verticalDirection
(Point3d otherPoint) Return the direction with respect to the Z axis to another point, in radians.ModifierConstructorDescriptionDirectedPoint3d
(double x, double y, double z, Point3d throughPoint) Construct a new DirectedPoint3d from x, y and z coordinates and a point that the direction goes through.DirectedPoint3d
(Point3d point, double dirY, double dirZ) Create a new DirectedPoint3d from another Point3d and and direction dirY,dirZ.DirectedPoint3d
(Point3d point, double throughX, double throughY, double throughZ) Construct a new DirectedPoint3d form a Point3d and the coordinates that the direction goes through.DirectedPoint3d
(Point3d point, Point3d throughPoint) Construct a new DirectedPoint3d.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