Class Coordinates
- java.lang.Object
-
- org.opentrafficsim.core.network.factory.xml.units.Coordinates
-
public final class Coordinates extends Object
Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.$LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $, initial version Jul 23, 2015
- Author:
- Alexander Verbraeck
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OTSPoint3D
parseCoordinate(String cs)
Parse a coordinate with (x,y) or (x,y,z).static OTSPoint3D[]
parseCoordinates(String cs)
Parse a group of coordinates with (x,y) or (x,y,z).
-
-
-
Method Detail
-
parseCoordinates
public static OTSPoint3D[] parseCoordinates(String cs)
Parse a group of coordinates with (x,y) or (x,y,z).- Parameters:
cs
- String; the string containing the coordinates- Returns:
- OTSPoint3D[] containing the x,y or x,y,z values.
-
parseCoordinate
public static OTSPoint3D parseCoordinate(String cs)
Parse a coordinate with (x,y) or (x,y,z).- Parameters:
cs
- String; the string containing the coordinate- Returns:
- OTSPoint3D containing the x,y or x,y,z values
-
-