public class OTSPolygon3D extends OTSLine3D
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
OTSPolygon3D(com.vividsolutions.jts.geom.Coordinate[] coordinates) |
OTSPolygon3D(com.vividsolutions.jts.geom.Geometry geometry) |
OTSPolygon3D(com.vividsolutions.jts.geom.LineString lineString) |
OTSPolygon3D(OTSPoint3D[] points) |
createAndCleanOTSLine3D, equals, get, getBounds, getCoordinates, getLength, getLengthSI, getLineString, getLocation, getLocation, getLocationExtended, getLocationExtendedSI, getLocationFraction, getLocationSI, getPoints, hashCode, size, toStringpublic OTSPolygon3D(OTSPoint3D[] points) throws NetworkException
points - the array of points to construct this OTSLine3D from.NetworkException - when the points has fewer than 2 entries or two successive points coincidepublic OTSPolygon3D(com.vividsolutions.jts.geom.LineString lineString)
throws NetworkException
lineString - the lineString to construct this OTSLine3D from.NetworkException - when the lineString has fewer than 2 entries or two successive points coincidepublic OTSPolygon3D(com.vividsolutions.jts.geom.Coordinate[] coordinates)
throws NetworkException
coordinates - the array of coordinates to construct this OTSLine3D from.NetworkException - when coordinates has fewer than 2 entries or two successive coordinates coincidepublic OTSPolygon3D(com.vividsolutions.jts.geom.Geometry geometry)
throws NetworkException
geometry - the geometry to construct this OTSLine3D from.NetworkException - when geometry has fewer than 2 points or two successive points coincideCopyright © 2014–2015 Delft University of Technology. All rights reserved.