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>
public class DirectedPoint extends OrientedPoint3d
DirectedPoint.java.Copyright (c) 2020-2022 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DirectedPoint(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getRotX()
double
getRotY()
double
getRotZ()
-
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.Drawable3d
getDimensions
-
-
-
-
Constructor Detail
-
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
public DirectedPoint(double x, double y, double z) throws IllegalArgumentException
- 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
public DirectedPoint(double[] xyz) throws NullPointerException, IllegalArgumentException
-
DirectedPoint
public DirectedPoint(Point3d point, double dirX, double dirY, double dirZ) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
-