Uses of Class
org.djutils.draw.point.Point3d
Packages that use 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.
Continuous lines are (mathematically) defined curves that:
have no gaps
have a start point
have an end point
have a defined direction at the start point
have a defined direction at the end point
may have knots along the way.
have no gaps
have a start point
have an end point
have a defined direction at the start point
have a defined direction at the end point
may have knots along the way.
The line package provides an interface and different implementations for lines.
The djutils-draw point package provides a set of interfaces and implementations of Points.
The djutils-draw surface package provides an interface and different implementations for Areas.
-
Uses of Point3d in org.djutils.draw
Methods in org.djutils.draw that return Point3dModifier and TypeMethodDescriptionApply 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 Point3dModifier and TypeMethodDescriptionApply the stored transform on the points generated by the provided pointIterator.Methods in org.djutils.draw with parameters of type Point3dModifier 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.Method parameters in org.djutils.draw with type arguments of type Point3d -
Uses of Point3d in org.djutils.draw.bounds
Methods in org.djutils.draw.bounds that return Point3dMethods in org.djutils.draw.bounds that return types with arguments of type Point3dModifier and TypeMethodDescriptionBounds3d.iterator()
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.Methods in org.djutils.draw.bounds with parameters of type Point3dModifier and TypeMethodDescriptionboolean
boolean
Constructors in org.djutils.draw.bounds with parameters of type Point3dModifierConstructorDescriptionConstruct 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 -
Uses of Point3d in org.djutils.draw.curve
Methods in org.djutils.draw.curve that return Point3dMethods in org.djutils.draw.curve with parameters of type Point3dModifier and TypeMethodDescriptiondefault boolean
Flattener3d.checkInflectionPoint
(Flattener.FlattableCurve<Point3d, Direction3d> curve, double prevT, double medianT, double nextT, Point3d prevPoint, Point3d nextPoint) Method parameters in org.djutils.draw.curve with type arguments of type Point3dModifier and TypeMethodDescriptiondefault boolean
Flattener3d.checkInflectionPoint
(Flattener.FlattableCurve<Point3d, Direction3d> curve, double prevT, double medianT, double nextT, Point3d prevPoint, Point3d nextPoint) Constructors in org.djutils.draw.curve with parameters of type Point3dModifierConstructorDescriptionCreate a Bézier curve of any order.BezierCubic3d
(Point3d[] points) Create a cubic Bézier curve.BezierCubic3d
(Point3d start, Point3d control1, Point3d control2, Point3d end) Create a cubic Bézier curve. -
Uses of Point3d in org.djutils.draw.line
Subclasses of Point3d in org.djutils.draw.lineModifier and TypeClassDescriptionclass
Ray3d is a half-line in 3d; 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 Point3dModifier 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) Methods in org.djutils.draw.line that return types with arguments of type Point3dModifier and TypeMethodDescriptionLineSegment3d.iterator()
PolyLine3d.iterator()
Ray3d.iterator()
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 Point3dModifier and TypeMethodDescriptionPolyLine3d.closestPointOnPolyLine
(Point3d point) Ray3d.closestPointOnRay
(Point3d point) LineSegment3d.closestPointOnSegment
(Point3d point) 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) Method parameters in org.djutils.draw.line with type arguments of type Point3dModifier and TypeMethodDescriptionPolyLine3d.instantiate
(double epsilon, 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.Constructors in org.djutils.draw.line with parameters of type Point3dModifierConstructorDescriptionLineSegment3d
(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.Construct a new Polygon3d.Construct a new Polygon3d.Construct a new Polygon3d.Construct a new Polygon3d.PolyLine3d
(double epsilon, Point3d[] points) Construct a new PolyLine3d from an array of Point3d.PolyLine3d
(double epsilon, Point3d point1, Point3d point2, Point3d... otherPoints) Construct a new PolyLine3d from two or more Point3d arguments.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.Ray3d
(Point3d point, Direction3d dir) Construct a new Ray3d.Construct a new Ray3d.Constructor parameters in org.djutils.draw.line with type arguments of type Point3dModifierConstructorDescriptionConstruct a new Polygon3d from an iterator that yields Point3d.Construct a new Polygon3d from a list of Point3d objects.Construct a new Polygon3d from an iterator that yields Point3d.Construct a new Polygon3d from a list of Point3d objects.PolyLine3d
(double epsilon, Iterator<Point3d> iterator) Construct a new PolyLine3d from an iterator that yields Point3d objects.PolyLine3d
(double epsilon, List<Point3d> pointList) Construct a new PolyLine3d from a List<Point3d>.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.pointModifier and TypeClassDescriptionclass
A DirectedPoint3d is a point in 3d space that additionally carries a direction in 3d i.c. dirY (similar to tilt; measured as an angle from the positive z-direction) and dirZ (similar to pan; measured as an angle from the positive x-direction).class
A OrientedPoint3d is a point with an x, y, and z coordinate, plus a 3d orientation.Methods in org.djutils.draw.point that return Point3dModifier 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 and preserved z value.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 Point3dModifier and TypeMethodDescriptionDirectedPoint3d.iterator()
OrientedPoint3d.iterator()
Point3d.iterator()
Methods in org.djutils.draw.point with parameters of type Point3dModifier and TypeMethodDescriptionfinal Point3d
Point3d.closestPointOnLine
(Point3d linePoint1, Point3d linePoint2) final Point3d
Point3d.closestPointOnSegment
(Point3d segmentPoint1, Point3d segmentPoint2) Point3d.directionTo
(Point3d otherPoint) Return the direction to another Point3d.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.Constructors in org.djutils.draw.point with parameters of type Point3dModifierConstructorDescriptionDirectedPoint3d
(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, Direction3d direction) Create a new DirectedPoint3d from another Point3d and a Direction3d.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
Methods in org.djutils.draw.surface that return types with arguments of type Point3dConstructors in org.djutils.draw.surface with parameters of type Point3d