Uses of Class
org.opentrafficsim.core.geometry.OTSPoint3D
| Package | Description |
|---|---|
| org.opentrafficsim.core.geometry |
Copyright (c) 2013-2020 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-2020 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 OTSPoint3DOTSPoint3D. closestPointOnLine(OTSLine3D line)Return the closest point on an OTSLine3D.OTSPoint3DOTSPoint3D. closestPointOnLine2D(OTSLine3D line)Return the closest point on an OTSLine3D.OTSPoint3DOTSPoint3D. closestPointOnSegment(OTSPoint3D segmentPoint1, OTSPoint3D segmentPoint2)Project a point on a line segment (2D - Z-component is ignored).static OTSPoint3DOTSBufferingJTS. closestPointOnSegmentToPoint(OTSPoint3D lineP1, OTSPoint3D lineP2, OTSPoint3D point)Project a point on a line (2D).OTSPoint3DOTSLine3D. get(int i)Return one point of this OTSLine3D.OTSPoint3DOTSLine3D. getCentroid()Retrieve the centroid of this OTSLine3D.OTSPoint3DOTSLine3D. getFirst()Return the first point of this OTSLine3D.OTSPoint3DOTSLine3D. getLast()Return the last point of this OTSLine3D.OTSPoint3D[]OTSLine3D. getPoints()Return an array of OTSPoint3D that represents this OTSLine3D.static OTSPoint3DOTSPoint3D. interpolate(double ratio, OTSPoint3D zeroValue, OTSPoint3D oneValue)Interpolate (or extrapolate) between (outside) two given points.static OTSPoint3DOTSPoint3D. intersectionOfLines(OTSPoint3D line1P1, OTSPoint3D line1P2, OTSPoint3D line2P1, OTSPoint3D line2P2)Compute the 2D intersection of two infinite lines.static OTSPoint3DOTSPoint3D. intersectionOfLinesDumb(OTSPoint3D line1P1, OTSPoint3D line1P2, OTSPoint3D line2P1, OTSPoint3D line2P2)Deprecated.static OTSPoint3DOTSPoint3D. intersectionOfLineSegments(OTSPoint3D line1P1, OTSPoint3D line1P2, OTSPoint3D line2P1, OTSPoint3D line2P2)Compute the 2D intersection of two line segments.static OTSPoint3DOTSPoint3D. intersectionOfLineSegmentsDumb(OTSPoint3D line1P1, OTSPoint3D line1P2, OTSPoint3D line2P1, OTSPoint3D line2P2)Deprecated.OTSPoint3DOTSPoint3D. normalize()Return the point with a length of 1 to the origin.OTSPoint3DOTSPoint3D. 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 OTSLine3DBezier. bezier(int numPoints, OTSPoint3D... points)Construct a Bézier curve of degree n.static OTSLine3DBezier. 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.OTSPoint3DOTSPoint3D. closestPointOnSegment(OTSPoint3D segmentPoint1, OTSPoint3D segmentPoint2)Project a point on a line segment (2D - Z-component is ignored).static OTSPoint3DOTSBufferingJTS. closestPointOnSegmentToPoint(OTSPoint3D lineP1, OTSPoint3D lineP2, OTSPoint3D point)Project a point on a line (2D).static OTSLine3DClothoid. clothoid(OTSPoint3D start, Direction startDirection, double startCurvature, double endCurvature, Length length, Length endElevation, int numSegments)Approximate a clothoid.static OTSLine3DClothoid. clothoid(OTSPoint3D start, Direction startDirection, double endCurvature, Length length, Length endElevation, int numSegments)Approximate a clothoid with curvature 0 at start.static OTSLine3DClothoid. clothoid(OTSPoint3D start, Direction startDirection, LinearDensity endCurvature, Length length, Length endElevation, int numSegments)Approximate a clothoid with curvature 0 at start.static OTSLine3DClothoid. clothoid(OTSPoint3D start, Direction startDirection, LinearDensity startCurvature, LinearDensity endCurvature, Length length, Length endElevation, int numSegments)Approximate a clothoid.booleanOTSShape. contains(OTSPoint3D point)static OTSLine3DOTSLine3D. createAndCleanOTSLine3D(OTSPoint3D... points)Create an OTSLine3D, while cleaning repeating successive points.static OTSShapeOTSShape. createAndCleanOTSShape(OTSPoint3D[] points)Create an OTSLine3D, while cleaning repeating successive points.static OTSLine3DBezier. 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.LengthOTSPoint3D. distance(OTSPoint3D point)Compute the distance to another point.static doubleOTSBufferingJTS. distanceLineSegmentToPoint(OTSPoint3D lineP1, OTSPoint3D lineP2, OTSPoint3D point)Compute the distance of a line segment to a point.doubleOTSPoint3D. distanceSI(OTSPoint3D point)DirectionOTSPoint3D. horizontalDirection(OTSPoint3D point)Compute the horizontal direction to another point.doubleOTSPoint3D. horizontalDirectionSI(OTSPoint3D point)Compute the horizontal direction to another point.LengthOTSPoint3D. horizontalDistance(OTSPoint3D point)doubleOTSPoint3D. horizontalDistanceSI(OTSPoint3D point)static OTSPoint3DOTSPoint3D. interpolate(double ratio, OTSPoint3D zeroValue, OTSPoint3D oneValue)Interpolate (or extrapolate) between (outside) two given points.static OTSPoint3DOTSPoint3D. intersectionOfLines(OTSPoint3D line1P1, OTSPoint3D line1P2, OTSPoint3D line2P1, OTSPoint3D line2P2)Compute the 2D intersection of two infinite lines.static OTSPoint3DOTSPoint3D. intersectionOfLinesDumb(OTSPoint3D line1P1, OTSPoint3D line1P2, OTSPoint3D line2P1, OTSPoint3D line2P2)Deprecated.static OTSPoint3DOTSPoint3D. intersectionOfLineSegments(OTSPoint3D line1P1, OTSPoint3D line1P2, OTSPoint3D line2P1, OTSPoint3D line2P2)Compute the 2D intersection of two line segments.static OTSPoint3DOTSPoint3D. intersectionOfLineSegmentsDumb(OTSPoint3D line1P1, OTSPoint3D line1P2, OTSPoint3D line2P1, OTSPoint3D line2P2)Deprecated.static StringOTSGeometryUtil. printCoordinate(String prefix, OTSPoint3D point)Print one OTSPoint3D on the console.static StringOTSGeometryUtil. printCoordinates(String prefix, OTSPoint3D[] points, int fromIndex, int toIndex, String separator)Built a string description from part of an array of coordinates.static StringOTSGeometryUtil. 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 OTSLine3DOTSLine3D. createAndCleanOTSLine3D(List<OTSPoint3D> pointList)Create an OTSLine3D, while cleaning repeating successive points.static OTSShapeOTSShape. 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 OTSPoint3DNode. getPoint()OTSPoint3DOTSNode. 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 OTSPoint3DCoordinates. 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 OTSPoint3DPerceivedObject2D. getPerceivedLocation()Get the perceived location of the object.OTSPoint3DPerceivedObject3D. getPerceivedLocation()Get the perceived location of the object.