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

java.lang.Object
  extended by com.sun.syndication.feed.module.georss.geometries.AbstractRing
      extended by com.sun.syndication.feed.module.georss.geometries.LinearRing
All Implemented Interfaces:
java.lang.Cloneable

public final class LinearRing
extends AbstractRing

Linear boundary object constructed by linear interpolation between points. Start and end point should be identical.

Author:
runaas

Constructor Summary
LinearRing()
          Creates a new instance of LinearLing
LinearRing(PositionList posList)
           
 
Method Summary
 java.lang.Object clone()
           
 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

LinearRing

public LinearRing()
Creates a new instance of LinearLing


LinearRing

public LinearRing(PositionList posList)
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class AbstractRing
Throws:
java.lang.CloneNotSupportedException

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

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