org.rometools.feed.module.georss.geometries
Class LineString

java.lang.Object
  extended by org.rometools.feed.module.georss.geometries.AbstractGeometry
      extended by org.rometools.feed.module.georss.geometries.AbstractGeometricPrimitive
          extended by org.rometools.feed.module.georss.geometries.AbstractCurve
              extended by org.rometools.feed.module.georss.geometries.LineString
All Implemented Interfaces:
Serializable, Cloneable

public final class LineString
extends AbstractCurve

Linear object constructed by linear interpolation between points

Author:
runaas
See Also:
Serialized Form

Constructor Summary
LineString()
          Creates a new instance of LineString
LineString(PositionList posList)
          Construct object from a position list
 
Method Summary
 Object clone()
          Make a deep copy of the geometric object
 boolean equals(Object obj)
           
 PositionList getPositionList()
          Get the position list
 void setPositionList(PositionList posList)
          Set the position list
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineString

public LineString()
Creates a new instance of LineString


LineString

public LineString(PositionList posList)
Construct object from a position list

Method Detail

clone

public Object clone()
             throws CloneNotSupportedException
Description copied from class: AbstractGeometry
Make a deep copy of the geometric object

Overrides:
clone in class AbstractGeometry
Returns:
A copy of the object
Throws:
CloneNotSupportedException

equals

public boolean equals(Object obj)
Overrides:
equals in class AbstractGeometry

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


Copyright © 2013 ROME Project. All Rights Reserved.