public final class LineString extends AbstractCurve
Modifier and Type | Field and Description |
---|---|
private PositionList |
posList |
private static long |
serialVersionUID |
Constructor and Description |
---|
LineString() |
LineString(PositionList posList)
Construct object from a position list
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Make a deep copy of the geometric object
|
boolean |
equals(java.lang.Object obj) |
PositionList |
getPositionList()
Get the position list
|
void |
setPositionList(PositionList posList)
Set the position list
|
private static final long serialVersionUID
private PositionList posList
public LineString()
public LineString(PositionList posList)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
AbstractGeometry
clone
in class AbstractGeometry
java.lang.CloneNotSupportedException
public boolean equals(java.lang.Object obj)
equals
in class AbstractGeometry
public PositionList getPositionList()
public void setPositionList(PositionList posList)
posList
- the new position list