Uses of Class
org.opentrafficsim.core.geometry.OTSPoint3D
-
Packages that use OTSPoint3D Package Description org.opentrafficsim.core.geometry Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.org.opentrafficsim.core.network Classes that build a network with nodes, links, and cross-sections.org.opentrafficsim.core.network.factory.xml.units Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.org.opentrafficsim.core.perception The perception package takes care of registering perceivable objects that are used in an OTS study. -
-
Uses of OTSPoint3D in org.opentrafficsim.core.geometry
Methods in org.opentrafficsim.core.geometry that return OTSPoint3D Modifier and Type Method Description OTSPoint3D
OTSPoint3D. closestPointOnLine(OTSLine3D line)
Return the closest point on an OTSLine3D.OTSPoint3D
OTSPoint3D. closestPointOnLine2D(OTSLine3D line)
Return the closest point on an OTSLine3D.OTSPoint3D
OTSPoint3D. closestPointOnSegment(OTSPoint3D segmentPoint1, OTSPoint3D segmentPoint2)
Project a point on a line segment (2D - Z-component is ignored).static OTSPoint3D
OTSBufferingJTS. closestPointOnSegmentToPoint(OTSPoint3D lineP1, OTSPoint3D lineP2, OTSPoint3D point)
Project a point on a line (2D).OTSPoint3D
OTSLine3D. get(int i)
Return one point of this OTSLine3D.OTSPoint3D
OTSLine3D. getCentroid()
Retrieve the centroid of this OTSLine3D.OTSPoint3D
OTSLine3D. getFirst()
Return the first point of this OTSLine3D.OTSPoint3D
OTSLine3D. getLast()
Return the last point of this OTSLine3D.OTSPoint3D[]
OTSLine3D. getPoints()
Return an array of OTSPoint3D that represents this OTSLine3D.static OTSPoint3D
OTSPoint3D. interpolate(double ratio, OTSPoint3D zeroValue, OTSPoint3D oneValue)
Interpolate (or extrapolate) between (outside) two given points.static OTSPoint3D
OTSPoint3D. intersectionOfLines(OTSPoint3D line1P1, OTSPoint3D line1P2, OTSPoint3D line2P1, OTSPoint3D line2P2)
Compute the 2D intersection of two infinite lines.static OTSPoint3D
OTSPoint3D. intersectionOfLinesDumb(OTSPoint3D line1P1, OTSPoint3D line1P2, OTSPoint3D line2P1, OTSPoint3D line2P2)
Deprecated.static OTSPoint3D
OTSPoint3D. intersectionOfLineSegments(OTSPoint3D line1P1, OTSPoint3D line1P2, OTSPoint3D line2P1, OTSPoint3D line2P2)
Compute the 2D intersection of two line segments.static OTSPoint3D
OTSPoint3D. intersectionOfLineSegmentsDumb(OTSPoint3D line1P1, OTSPoint3D line1P2, OTSPoint3D line2P1, OTSPoint3D line2P2)
Deprecated.OTSPoint3D
OTSPoint3D. normalize()
Return the point with a length of 1 to the origin.OTSPoint3D
OTSPoint3D. translate(double factor)
Return this point translated by a factor from the origin.Methods in org.opentrafficsim.core.geometry that return types with arguments of type OTSPoint3D Modifier and Type Method Description static List<OTSPoint3D>
OTSPoint3D. circleCenter(OTSPoint3D point1, OTSPoint3D point2, double radius)
Return the possible center points of a circle (sphere), given two points and a radius.static List<OTSPoint3D>
OTSPoint3D. circleIntersections(OTSPoint3D center1, double radius1, OTSPoint3D center2, double radius2)
Return the possible intersections between two circles.Methods in org.opentrafficsim.core.geometry with parameters of type OTSPoint3D Modifier and Type Method Description static OTSLine3D
Bezier. bezier(int numPoints, OTSPoint3D... points)
Construct a Bézier curve of degree n.static OTSLine3D
Bezier. bezier(OTSPoint3D... points)
Construct a Bézier curve of degree n.static List<OTSPoint3D>
OTSPoint3D. circleCenter(OTSPoint3D point1, OTSPoint3D point2, double radius)
Return the possible center points of a circle (sphere), given two points and a radius.static List<OTSPoint3D>
OTSPoint3D. circleIntersections(OTSPoint3D center1, double radius1, OTSPoint3D center2, double radius2)
Return the possible intersections between two circles.OTSPoint3D
OTSPoint3D. closestPointOnSegment(OTSPoint3D segmentPoint1, OTSPoint3D segmentPoint2)
Project a point on a line segment (2D - Z-component is ignored).static OTSPoint3D
OTSBufferingJTS. closestPointOnSegmentToPoint(OTSPoint3D lineP1, OTSPoint3D lineP2, OTSPoint3D point)
Project a point on a line (2D).static OTSLine3D
Clothoid. clothoid(OTSPoint3D start, Direction startDirection, double startCurvature, double endCurvature, Length length, Length endElevation, int numSegments)
Approximate a clothoid.static OTSLine3D
Clothoid. clothoid(OTSPoint3D start, Direction startDirection, double endCurvature, Length length, Length endElevation, int numSegments)
Approximate a clothoid with curvature 0 at start.static OTSLine3D
Clothoid. clothoid(OTSPoint3D start, Direction startDirection, LinearDensity endCurvature, Length length, Length endElevation, int numSegments)
Approximate a clothoid with curvature 0 at start.static OTSLine3D
Clothoid. clothoid(OTSPoint3D start, Direction startDirection, LinearDensity startCurvature, LinearDensity endCurvature, Length length, Length endElevation, int numSegments)
Approximate a clothoid.boolean
OTSShape. contains(OTSPoint3D point)
static OTSLine3D
OTSLine3D. createAndCleanOTSLine3D(OTSPoint3D... points)
Create an OTSLine3D, while cleaning repeating successive points.static OTSShape
OTSShape. createAndCleanOTSShape(OTSPoint3D[] points)
Create an OTSLine3D, while cleaning repeating successive points.static OTSLine3D
Bezier. cubic(int numPoints, OTSPoint3D start, OTSPoint3D control1, OTSPoint3D control2, OTSPoint3D end)
Construct a cubic Bézier curve from start to end with two control points.Length
OTSPoint3D. distance(OTSPoint3D point)
Compute the distance to another point.static double
OTSBufferingJTS. distanceLineSegmentToPoint(OTSPoint3D lineP1, OTSPoint3D lineP2, OTSPoint3D point)
Compute the distance of a line segment to a point.double
OTSPoint3D. distanceSI(OTSPoint3D point)
Direction
OTSPoint3D. horizontalDirection(OTSPoint3D point)
Compute the horizontal direction to another point.double
OTSPoint3D. horizontalDirectionSI(OTSPoint3D point)
Compute the horizontal direction to another point.Length
OTSPoint3D. horizontalDistance(OTSPoint3D point)
double
OTSPoint3D. horizontalDistanceSI(OTSPoint3D point)
static OTSPoint3D
OTSPoint3D. interpolate(double ratio, OTSPoint3D zeroValue, OTSPoint3D oneValue)
Interpolate (or extrapolate) between (outside) two given points.static OTSPoint3D
OTSPoint3D. intersectionOfLines(OTSPoint3D line1P1, OTSPoint3D line1P2, OTSPoint3D line2P1, OTSPoint3D line2P2)
Compute the 2D intersection of two infinite lines.static OTSPoint3D
OTSPoint3D. intersectionOfLinesDumb(OTSPoint3D line1P1, OTSPoint3D line1P2, OTSPoint3D line2P1, OTSPoint3D line2P2)
Deprecated.static OTSPoint3D
OTSPoint3D. intersectionOfLineSegments(OTSPoint3D line1P1, OTSPoint3D line1P2, OTSPoint3D line2P1, OTSPoint3D line2P2)
Compute the 2D intersection of two line segments.static OTSPoint3D
OTSPoint3D. intersectionOfLineSegmentsDumb(OTSPoint3D line1P1, OTSPoint3D line1P2, OTSPoint3D line2P1, OTSPoint3D line2P2)
Deprecated.static String
OTSGeometryUtil. printCoordinate(String prefix, OTSPoint3D point)
Print one OTSPoint3D on the console.static String
OTSGeometryUtil. printCoordinates(String prefix, OTSPoint3D[] points, int fromIndex, int toIndex, String separator)
Built a string description from part of an array of coordinates.static String
OTSGeometryUtil. printCoordinates(String prefix, OTSPoint3D[] coordinates, String separator)
Build a string description from an array of coordinates.Method parameters in org.opentrafficsim.core.geometry with type arguments of type OTSPoint3D Modifier and Type Method Description static OTSLine3D
OTSLine3D. createAndCleanOTSLine3D(List<OTSPoint3D> pointList)
Create an OTSLine3D, while cleaning repeating successive points.static OTSShape
OTSShape. createAndCleanOTSShape(List<OTSPoint3D> pointList)
Create an OTSLine3D, while cleaning repeating successive points.Constructors in org.opentrafficsim.core.geometry with parameters of type OTSPoint3D Constructor Description OTSLine3D(OTSPoint3D... points)
Construct a new OTSLine3D.OTSPoint3D(OTSPoint3D point)
OTSShape(OTSPoint3D... points)
Construct a new OTSShape (closed shape).Constructor parameters in org.opentrafficsim.core.geometry with type arguments of type OTSPoint3D Constructor Description OTSLine3D(List<OTSPoint3D> pointList)
Construct a new OTSLine3D from a List<OTSPoint3D>.OTSShape(List<OTSPoint3D> pointList)
Construct a new OTSShape (closed shape) from a List<OTSPoint3D>. -
Uses of OTSPoint3D in org.opentrafficsim.core.network
Methods in org.opentrafficsim.core.network that return OTSPoint3D Modifier and Type Method Description OTSPoint3D
Node. getPoint()
OTSPoint3D
OTSNode. getPoint()
Constructors in org.opentrafficsim.core.network with parameters of type OTSPoint3D Constructor Description OTSNode(Network network, String id, OTSPoint3D point)
Construction of a Node.OTSNode(Network network, String id, OTSPoint3D point, double heading)
Construction of a Node. -
Uses of OTSPoint3D in org.opentrafficsim.core.network.factory.xml.units
Methods in org.opentrafficsim.core.network.factory.xml.units that return OTSPoint3D Modifier and Type Method Description static OTSPoint3D
Coordinates. parseCoordinate(String cs)
Parse a coordinate with (x,y) or (x,y,z).static OTSPoint3D[]
Coordinates. parseCoordinates(String cs)
Parse a group of coordinates with (x,y) or (x,y,z). -
Uses of OTSPoint3D in org.opentrafficsim.core.perception
Methods in org.opentrafficsim.core.perception that return OTSPoint3D Modifier and Type Method Description OTSPoint3D
PerceivedObject2D. getPerceivedLocation()
Get the perceived location of the object.OTSPoint3D
PerceivedObject3D. getPerceivedLocation()
Get the perceived location of the object.
-