|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.geometry.iso.coordinate.PositionImpl
public class PositionImpl
Constructor Summary | |
---|---|
PositionImpl(org.opengis.geometry.DirectPosition directPosition)
Creates a new Position instance. |
|
PositionImpl(PointImpl pointRef)
Creates a new Position instance. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
int |
getCoordinateDimension()
Returns the coordinate dimension of the position |
org.opengis.geometry.DirectPosition |
getDirectPosition()
|
PointImpl |
getPoint()
Returns a Point or null |
org.opengis.geometry.DirectPosition |
getPosition()
Deprecated. |
int |
hashCode()
|
boolean |
hasPoint()
Returns true, if the Position is representated as a PointReference. |
void |
setDirectPosition(DirectPositionImpl position)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PositionImpl(org.opengis.geometry.DirectPosition directPosition)
Position
instance.
directPosition
- an DirectPosition2D
valuepublic PositionImpl(PointImpl pointRef)
Position
instance.
pointRef
- an PointRef
valueMethod Detail |
---|
@Deprecated public org.opengis.geometry.DirectPosition getPosition()
getPosition
in interface org.opengis.geometry.coordinate.Position
public org.opengis.geometry.DirectPosition getDirectPosition()
getDirectPosition
in interface org.opengis.geometry.coordinate.Position
public boolean hasPoint()
public PointImpl getPoint()
public void setDirectPosition(DirectPositionImpl position)
position
- The position to set.public int getCoordinateDimension()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |