com.sun.syndication.feed.module.georss.geometries
Class LineString

java.lang.Object
  extended by com.sun.syndication.feed.module.georss.geometries.AbstractGeometry
      extended by com.sun.syndication.feed.module.georss.geometries.AbstractGeometricPrimitive
          extended by com.sun.syndication.feed.module.georss.geometries.AbstractCurve
              extended by com.sun.syndication.feed.module.georss.geometries.LineString
All Implemented Interfaces:
java.lang.Cloneable

public final class LineString
extends AbstractCurve

Linear object constructed by linear interpolation between points

Author:
runaas

Constructor Summary
LineString()
          Creates a new instance of LineString
LineString(PositionList posList)
          Construct object from a position list
 
Method Summary
 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
 
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 java.lang.Object clone()
                       throws java.lang.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:
java.lang.CloneNotSupportedException

equals

public boolean equals(java.lang.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