public class CompoundCurve extends Curve
| Constructor and Description |
|---|
CompoundCurve()
Constructor
|
CompoundCurve(boolean hasZ,
boolean hasM)
Constructor
|
CompoundCurve(CompoundCurve compoundCurve)
Copy Constructor
|
CompoundCurve(LineString lineString)
Constructor
|
CompoundCurve(List<LineString> lineStrings)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLineString(LineString lineString)
Add a line string
|
void |
addLineStrings(List<LineString> lineStrings)
Add line strings
|
Geometry |
copy()
Copy the geometry
|
Point |
endPoint()
Get the end Point of this Curve
|
boolean |
equals(Object obj) |
LineString |
getLineString(int n)
Returns the Nth line string
|
List<LineString> |
getLineStrings()
Get the line strings
|
int |
hashCode() |
boolean |
isEmpty()
Is the Geometry empty
|
boolean |
isSimple()
Determine if this Geometry has no anomalous geometric points, such as
self intersection or self tangency
|
int |
numLineStrings()
Get the number of line strings
|
void |
setLineStrings(List<LineString> lineStrings)
Set the line strings
|
Point |
startPoint()
Get the start Point of this Curve
|
getCentroid, getDimension, getEnvelope, getGeometryType, hasM, hasZ, is3D, isMeasured, setHasM, setHasZ, updateZMpublic CompoundCurve()
public CompoundCurve(boolean hasZ,
boolean hasM)
hasZ - has zhasM - has mpublic CompoundCurve(List<LineString> lineStrings)
lineStrings - list of line stringspublic CompoundCurve(LineString lineString)
lineString - line stringpublic CompoundCurve(CompoundCurve compoundCurve)
compoundCurve - compound Curve to copypublic List<LineString> getLineStrings()
public void setLineStrings(List<LineString> lineStrings)
lineStrings - line stringspublic void addLineString(LineString lineString)
lineString - line stringpublic void addLineStrings(List<LineString> lineStrings)
lineStrings - line stringspublic int numLineStrings()
public LineString getLineString(int n)
n - nth line string to returnpublic Point startPoint()
startPoint in class Curvepublic Point endPoint()
public boolean isSimple()
public Geometry copy()
public boolean isEmpty()
Copyright © 2021 National Geospatial-Intelligence Agency. All rights reserved.