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.
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
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 provided point and return a point with the transformed coordinate.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 Point3dModifier and TypeMethodDescriptionBounds3d.midPoint()
Return the mid point of this Bounds object.Methods in org.djutils.draw.bounds that return types with arguments of type Point3dModifier and TypeMethodDescriptionBounds3d.getPoints()
Retrieve, or generate all points that make up the object.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
Check if a point is contained in this Bounds.boolean
Check if this Bounds covers or touches a point.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.line
Subclasses of Point3d in org.djutils.draw.lineModifier and TypeClassDescriptionclass
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 Point3dModifier and TypeMethodDescriptionPolyLine3d.closestPointOnPolyLine
(Point3d point) Project a Point on this PolyLine.Ray3d.closestPointOnRay
(Point3d point) Project a Point on a Ray.LineSegment3d.closestPointOnSegment
(Point3d point) Project a Point on this LineSegment.final Point3d
PolyLine3d.get
(int i) Return one of the points of this line.LineSegment3d.getEndPoint()
Get the end point of this LineSegment.Ray3d.getEndPoint()
Get the finite end point of this Ray.LineSegment3d.getStartPoint()
Get the start point of this LineSegment.LineSegment3d.projectOrthogonal
(Point3d point) Project a point onto this object.PolyLine3d.projectOrthogonal
(Point3d point) Project a point onto this object.Ray3d.projectOrthogonal
(Point3d point) Project a point onto this object.LineSegment3d.projectOrthogonalExtended
(Point3d point) Project a point onto this object.PolyLine3d.projectOrthogonalExtended
(Point3d point) Project a point onto this object.Ray3d.projectOrthogonalExtended
(Point3d point) Project a point onto this object.Methods in org.djutils.draw.line that return types with arguments of type Point3dModifier and TypeMethodDescriptionPolyLine3d.cleanPoints
(boolean filter, Iterator<Point3d> iterator) Return an iterator that optionally skips identical successive points.LineSegment3d.getPoints()
Retrieve, or generate all points that make up the object.PolyLine3d.getPoints()
Retrieve, or generate all points that make up the object.Ray3d.getPoints()
Retrieve, or generate all points that make up the object.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 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) Project a Point on this PolyLine.Ray3d.closestPointOnRay
(Point3d point) Project a Point on a Ray.LineSegment3d.closestPointOnSegment
(Point3d point) Project a Point on this LineSegment.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) Project a point onto this object.PolyLine3d.projectOrthogonal
(Point3d point) Project a point onto this object.Ray3d.projectOrthogonal
(Point3d point) Project a point onto this object.LineSegment3d.projectOrthogonalExtended
(Point3d point) Project a point onto this object.PolyLine3d.projectOrthogonalExtended
(Point3d point) Project a point onto this object.Ray3d.projectOrthogonalExtended
(Point3d point) Project a point onto this object.double
LineSegment3d.projectOrthogonalFractional
(Point3d point) Project a point onto this object.final 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 Point3dModifier and TypeMethodDescriptionPolyLine3d.cleanPoints
(boolean filter, Iterator<Point3d> iterator) Return an iterator that optionally skips identical successive points.PolyLine3d.instantiate
(List<Point3d> pointList) Constructor that can be accessed as a method (used to implement default methods in this interface).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 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.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 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.Construct a new Ray3d.Construct a new Ray3d.Construct a new Ray3d.Construct a new Ray3d.Constructor parameters in org.djutils.draw.line with type arguments of type Point3dModifierConstructorDescriptionCreate 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
Subclasses of Point3d in org.djutils.draw.pointModifier and TypeClassDescriptionclass
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 Point3dModifier and TypeMethodDescriptionPoint3d.abs()
Return a new Point with absolute coordinate values.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) Project a point on a line.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) Project a point on a line segment.Point3d.interpolate
(Point3d point, double fraction) Interpolate towards another Point with a fraction.Point3d.neg()
Return a new Point with negated coordinate values.Point3d.normalize()
Return a new Point with a distance of 1 to the origin.Point3d.scale
(double factor) Return a new Point with the coordinates of this point scaled by the provided factor.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.translate
(double dx, double dy) Return a new Point 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.Methods in org.djutils.draw.point that return types with arguments of type Point3dModifier and TypeMethodDescriptionPoint3d.getPoints()
Retrieve, or generate all points that make up the object.Methods in org.djutils.draw.point with parameters of type Point3dModifier and TypeMethodDescriptionfinal Point3d
Point3d.closestPointOnLine
(Point3d linePoint1, Point3d linePoint2) Project a point on a line.final Point3d
Point3d.closestPointOnSegment
(Point3d segmentPoint1, Point3d segmentPoint2) Project a point on a line segment.double
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) final double
Point3d.horizontalDirection
(Point3d point) Return the direction to another point, in radians, ignoring the z-coordinate.(package private) final double
Point3d.horizontalDistance
(Point3d point) Return the Euclidean distance between this point and the provided point, ignoring the z-coordinate.(package private) final double
Point3d.horizontalDistanceSquared
(Point3d point) Return the squared distance between the coordinates of this point and the provided point, ignoring the z-coordinate.Point3d.interpolate
(Point3d point, double fraction) Interpolate towards another Point with a fraction.(package private) final 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 Point3dModifierConstructorDescriptionOrientedPoint3d
(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 Point3dModifier and TypeMethodDescriptionSurface3d.getPoints()
Retrieve, or generate all points that make up the object.Constructors in org.djutils.draw.surface with parameters of type Point3d