Class PointType


  • public class PointType
    extends AbstractGeometricPrimitiveType
    A Point is defined by a single coordinate tuple.

    Java class for PointType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="PointType">
       <complexContent>
         <extension base="{http://www.opengis.net/gml}AbstractGeometricPrimitiveType">
           <sequence>
             <choice>
               <element ref="{http://www.opengis.net/gml}pos"/>
               <element ref="{http://www.opengis.net/gml}coordinates"/>
               <element ref="{http://www.opengis.net/gml}coord"/>
             </choice>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    • Method Detail

      • getPos

        public Pos getPos()
        Gets the value of the pos property.
        Returns:
        possible object is Pos
      • setPos

        public void setPos​(Pos value)
        Sets the value of the pos property.
        Parameters:
        value - allowed object is Pos
      • getCoordinates

        public Coordinates getCoordinates()
        Deprecated with GML version 3.1.0 for coordinates with ordinate values that are numbers. Use "pos" instead. The "coordinates" element shall only be used for coordinates with ordinates that require a string representation, e.g. DMS representations.
        Returns:
        possible object is Coordinates
      • setCoordinates

        public void setCoordinates​(Coordinates value)
        Sets the value of the coordinates property.
        Parameters:
        value - allowed object is Coordinates
      • getCoord

        public Coord getCoord()
        Deprecated with GML version 3.0. Use "pos" instead. The "coord" element is included for backwards compatibility with GML 2.
        Returns:
        possible object is Coord
      • setCoord

        public void setCoord​(Coord value)
        Sets the value of the coord property.
        Parameters:
        value - allowed object is Coord