Package org.opentrafficsim.core.geometry
Class DirectedPoint
java.lang.Object
org.djutils.draw.point.Point3d
org.djutils.draw.point.OrientedPoint3d
org.opentrafficsim.core.geometry.DirectedPoint
- All Implemented Interfaces:
Serializable
,Drawable<Point3d>
,Drawable3d
,Oriented<OrientedPoint3d>
,Oriented3d<OrientedPoint3d>
,Point<Point3d>
DirectedPoint.java.
Copyright (c) 2020-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
- See Also:
-
Field Summary
Fields inherited from class org.djutils.draw.point.OrientedPoint3d
dirX, dirY, dirZ
-
Constructor Summary
ConstructorsConstructorDescriptionDirectedPoint
(double[] xyz) DirectedPoint
(double[] xyz, double[] orientation) DirectedPoint
(double[] xyz, double dirX, double dirY, double dirZ) DirectedPoint
(double x, double y, double z) DirectedPoint
(double x, double y, double z, double[] orientation) DirectedPoint
(double x, double y, double z, double dirX, double dirY, double dirZ) DirectedPoint
(Point3d point, double dirX, double dirY, double dirZ) -
Method Summary
Methods inherited from class org.djutils.draw.point.OrientedPoint3d
abs, epsilonEquals, equals, getDirX, getDirY, getDirZ, getPoints, hashCode, interpolate, neg, normalize, rotate, rotate, scale, toString, toString, translate, translate
Methods inherited from class org.djutils.draw.point.Point3d
closestPointOnLine, closestPointOnLine, closestPointOnLine, closestPointOnSegment, closestPointOnSegment, distance, distanceSquared, epsilonEquals, fractionalPositionOnLine, getBounds, getX, getY, getZ, interpolate, project, size
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.djutils.draw.Drawable
getPointList, toString, toString
Methods inherited from interface org.djutils.draw.Drawable3d
getDimensions
-
Constructor Details
-
DirectedPoint
public DirectedPoint(double x, double y, double z, double dirX, double dirY, double dirZ) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
DirectedPoint
public DirectedPoint(double x, double y, double z, double[] orientation) throws NullPointerException, IllegalArgumentException -
DirectedPoint
- Throws:
IllegalArgumentException
-
DirectedPoint
public DirectedPoint(double[] xyz, double dirX, double dirY, double dirZ) throws NullPointerException, IllegalArgumentException -
DirectedPoint
public DirectedPoint(double[] xyz, double[] orientation) throws NullPointerException, IllegalArgumentException -
DirectedPoint
-
DirectedPoint
public DirectedPoint(Point3d point, double dirX, double dirY, double dirZ) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
-
Method Details
-
getRotX
public double getRotX() -
getRotY
public double getRotY() -
getRotZ
public double getRotZ()
-