Uses of Class
org.djutils.draw.Direction3d
Packages that use Direction3d
Package
Description
The draw package contains the generic classes for device-independent drawing.
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.
-
Uses of Direction3d in org.djutils.draw
Methods in org.djutils.draw that return Direction3dModifier and TypeMethodDescriptiondefault Direction3d
Directed3d.getDir()
Retrieve the Direction3d.Methods in org.djutils.draw with parameters of type Direction3dModifier and TypeMethodDescriptiondouble
Direction3d.directionDifference
(Direction3d otherDirection) Determine the angle between this Direction3d and another Direction3d. -
Uses of Direction3d in org.djutils.draw.curve
Methods in org.djutils.draw.curve that return Direction3dModifier and TypeMethodDescriptiondefault Direction3d
Curve3d.getDirection
(double fraction) default Direction3d
Curve3d.getEndDirection()
default Direction3d
Curve3d.getStartDirection()
Methods in org.djutils.draw.curve with parameters of type Direction3dModifier and TypeMethodDescriptiondefault boolean
Flattener3d.checkDirectionError
(Direction3d segmentDirection, Direction3d curveDirectionAtStart, Direction3d curveDirectionAtEnd, double maxDirectionDeviation) default boolean
Flattener3d.checkLoopBack
(Direction3d prevDirection, Direction3d nextDirection) Method parameters in org.djutils.draw.curve with type arguments of type Direction3dModifier and TypeMethodDescriptiondefault boolean
Flattener3d.checkInflectionPoint
(Flattener.FlattableCurve<Point3d, Direction3d> curve, double prevT, double medianT, double nextT, Point3d prevPoint, Point3d nextPoint) -
Uses of Direction3d in org.djutils.draw.line
Constructors in org.djutils.draw.line with parameters of type Direction3dModifierConstructorDescriptionRay3d
(double[] xyz, Direction3d dir) Create a new Rayt3d from x, y, and z coordinates packed in a double array of three elements and a direction specified using a double array of two elements.Ray3d
(double x, double y, double z, Direction3d dir) Construct a new Ray3d.Ray3d
(Point3d point, Direction3d dir) Construct a new Ray3d. -
Uses of Direction3d in org.djutils.draw.point
Methods in org.djutils.draw.point that return Direction3dModifier and TypeMethodDescriptionPoint3d.directionTo
(Point3d otherPoint) Return the direction to another Point3d.Constructors in org.djutils.draw.point with parameters of type Direction3dModifierConstructorDescriptionDirectedPoint3d
(double[] xyz, Direction3d dir) Create a new DirectedPoint3d with x, y, and z coordinates in a double[] and a Direction3d.DirectedPoint3d
(double x, double y, double z, Direction3d dir) Create a new DirectedPoint3d with x, y, and z coordinates and Direction3d.DirectedPoint3d
(Point3d point, Direction3d direction) Create a new DirectedPoint3d from another Point3d and a Direction3d.