org.geotools.geometry.jts.spatialschema.geometry.geometry
Class PositionImpl

java.lang.Object
  extended by org.geotools.geometry.jts.spatialschema.geometry.geometry.PositionImpl
All Implemented Interfaces:
org.opengis.geometry.coordinate.Position

public class PositionImpl
extends java.lang.Object
implements org.opengis.geometry.coordinate.Position

A union type consisting of either a direct position or of a reference to a point from which a direct position shall be obtained. The use of this data type allows the identification of a position either directly as a coordinate (variant direct) or indirectly as a reference to a point (variant indirect).

Version:
2.0
Author:
ISO/DIS 19107, OpenGIS® consortium

Constructor Summary
PositionImpl(org.opengis.geometry.DirectPosition position)
           
 
Method Summary
 org.opengis.geometry.DirectPosition getDirectPosition()
           
 org.opengis.geometry.DirectPosition getPosition()
          Deprecated. 
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PositionImpl

public PositionImpl(org.opengis.geometry.DirectPosition position)
Method Detail

getPosition

@Deprecated
public org.opengis.geometry.DirectPosition getPosition()
Deprecated. 

Specified by:
getPosition in interface org.opengis.geometry.coordinate.Position
See Also:
Position.getPosition()

getDirectPosition

public org.opengis.geometry.DirectPosition getDirectPosition()
Specified by:
getDirectPosition in interface org.opengis.geometry.coordinate.Position
See Also:
Position.getDirectPosition()


Copyright © 1996-2010 Geotools. All Rights Reserved.