public static class NodePoint2D.STR extends NodePoint2D<String>
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
All rights reserved.
BSD-style license. See OpenTrafficSim License.
NodePoint2D.INT, NodePoint2D.STR
Constructor and Description |
---|
NodePoint2D.STR(String id,
Point2D point) |
NodePoint2D.STR(String id,
Point2D point,
DoubleScalar.Abs<AnglePlaneUnit> direction,
DoubleScalar.Abs<AngleSlopeUnit> slope) |
getX, getY, getZ
addLinkIn, addLinkOut, equals, getBounds, getDirection, getId, getLinksIn, getLinksOut, getLocation, getPoint, getSlope, hashCode, toString
public NodePoint2D.STR(String id, Point2D point)
id
- String id.point
- the location of the Node.public NodePoint2D.STR(String id, Point2D point, DoubleScalar.Abs<AnglePlaneUnit> direction, DoubleScalar.Abs<AngleSlopeUnit> slope)
id
- the String Id of the new Nodepoint
- the location of the Nodedirection
- the 3D direction. "East" is 0 degrees. "North" is 90 degrees (1/2 pi radians).slope
- the slope as an angle.Copyright © 2014–2015 Delft University of Technology. All rights reserved.