Package mil.nga.sf
Class CircularString
- java.lang.Object
-
- mil.nga.sf.Geometry
-
- mil.nga.sf.Curve
-
- mil.nga.sf.LineString
-
- mil.nga.sf.CircularString
-
- All Implemented Interfaces:
Serializable
public class CircularString extends LineString
Circular String, Curve sub type- Author:
- osbornb
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CircularString()
ConstructorCircularString(boolean hasZ, boolean hasM)
ConstructorCircularString(List<Point> points)
ConstructorCircularString(CircularString circularString)
Copy Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Geometry
copy()
Copy the geometry-
Methods inherited from class mil.nga.sf.LineString
addPoint, addPoints, endPoint, equals, getPoint, getPoints, hashCode, isEmpty, isSimple, numPoints, setPoints, startPoint
-
Methods inherited from class mil.nga.sf.Geometry
expandEnvelope, getCentroid, getDegreesCentroid, getDimension, getEnvelope, getGeometryType, hasM, hasZ, is3D, isMeasured, setHasM, setHasZ, updateZM
-
-
-
-
Constructor Detail
-
CircularString
public CircularString()
Constructor
-
CircularString
public CircularString(boolean hasZ, boolean hasM)
Constructor- Parameters:
hasZ
- has zhasM
- has m
-
CircularString
public CircularString(List<Point> points)
Constructor- Parameters:
points
- list of points
-
CircularString
public CircularString(CircularString circularString)
Copy Constructor- Parameters:
circularString
- circular string to copy
-
-
Method Detail
-
copy
public Geometry copy()
Copy the geometry- Overrides:
copy
in classLineString
- Returns:
- geometry copy
-
-