net.ivoa.xml.stc.stc_v1_30
Class PolygonType

java.lang.Object
  extended by net.ivoa.xml.stc.stc_v1_30.StcBaseType
      extended by net.ivoa.xml.stc.stc_v1_30.CoordIntervalType
          extended by net.ivoa.xml.stc.stc_v1_30.SpatialIntervalType
              extended by net.ivoa.xml.stc.stc_v1_30.RegionType
                  extended by net.ivoa.xml.stc.stc_v1_30.ShapeType
                      extended by net.ivoa.xml.stc.stc_v1_30.PolygonType

public class PolygonType
extends ShapeType

Polygon: one or more vertices; counter-clockwise (as seen from "inside" or from "top") encircled area is enclosed; sides should span less than 180 deg in each coordinate if spherical; a polygon may not intersect itself

Java class for polygonType complex type.

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

 <complexType name="polygonType">
   <complexContent>
     <extension base="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}shapeType">
       <sequence>
         <element name="Vertex" type="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}vertexType" maxOccurs="unbounded"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<VertexType> vertex
           
 
Fields inherited from class net.ivoa.xml.stc.stc_v1_30.RegionType
area, coordSystemId, note
 
Fields inherited from class net.ivoa.xml.stc.stc_v1_30.SpatialIntervalType
epoch, unit
 
Fields inherited from class net.ivoa.xml.stc.stc_v1_30.CoordIntervalType
fillFactor, frameId, hiInclude, loInclude
 
Fields inherited from class net.ivoa.xml.stc.stc_v1_30.StcBaseType
href, id, idref, idrefType, idType, type, ucd
 
Constructor Summary
PolygonType()
           
 
Method Summary
 java.util.List<VertexType> getVertex()
          Gets the value of the vertex property.
 
Methods inherited from class net.ivoa.xml.stc.stc_v1_30.RegionType
getArea, getCoordSystemId, getNote, setArea, setCoordSystemId, setNote
 
Methods inherited from class net.ivoa.xml.stc.stc_v1_30.SpatialIntervalType
getEpoch, getUnit, setEpoch, setUnit
 
Methods inherited from class net.ivoa.xml.stc.stc_v1_30.CoordIntervalType
getFillFactor, getFrameId, getHiInclude, getLoInclude, setFillFactor, setFrameId, setHiInclude, setLoInclude
 
Methods inherited from class net.ivoa.xml.stc.stc_v1_30.StcBaseType
getHref, getId, getIdref, getIDREFType, getIDType, getType, getUcd, setHref, setId, setIdref, setIDREFType, setIDType, setType, setUcd
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vertex

protected java.util.List<VertexType> vertex
Constructor Detail

PolygonType

public PolygonType()
Method Detail

getVertex

public java.util.List<VertexType> getVertex()
Gets the value of the vertex property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the vertex property.

For example, to add a new item, do as follows:

    getVertex().add(newItem);
 

Objects of the following type(s) are allowed in the list VertexType



Copyright © 2011 VAMDC. All Rights Reserved.