Class LineString
- java.lang.Object
-
- com.rometools.modules.georss.geometries.AbstractGeometry
-
- com.rometools.modules.georss.geometries.AbstractGeometricPrimitive
-
- com.rometools.modules.georss.geometries.AbstractCurve
-
- com.rometools.modules.georss.geometries.LineString
-
- All Implemented Interfaces:
Serializable,Cloneable
public final class LineString extends AbstractCurve
Linear object constructed by linear interpolation between points- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LineString()LineString(PositionList posList)Construct object from a position list
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()Make a deep copy of the geometric objectbooleanequals(Object obj)PositionListgetPositionList()Get the position listvoidsetPositionList(PositionList posList)Set the position list
-
-
-
Constructor Detail
-
LineString
public LineString()
-
LineString
public LineString(PositionList posList)
Construct object from a position list
-
-
Method Detail
-
clone
public Object clone() throws CloneNotSupportedException
Description copied from class:AbstractGeometryMake a deep copy of the geometric object- Overrides:
clonein classAbstractGeometry- Returns:
- A copy of the object
- Throws:
CloneNotSupportedException
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classAbstractGeometry
-
getPositionList
public PositionList getPositionList()
Get the position list- Returns:
- the positionlist
-
setPositionList
public void setPositionList(PositionList posList)
Set the position list- Parameters:
posList- the new position list
-
-