net.ivoa.xml.stc.stc_v1_30
Class BoxType

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.BoxType

public class BoxType
extends ShapeType

Box shape: a rectangle defined by its center and size on both dimensions; since it is a polygon, it is redundant, but simple rectangles with great circle sides are awkward to define in spherical coordinates

Java class for boxType complex type.

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

 <complexType name="boxType">
   <complexContent>
     <extension base="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}shapeType">
       <sequence>
         <element name="Center" type="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}double2Type"/>
         <element name="Size" type="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}double2Type"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  Double2Type center
           
protected  Double2Type size
           
 
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
BoxType()
           
 
Method Summary
 Double2Type getCenter()
          Gets the value of the center property.
 Double2Type getSize()
          Gets the value of the size property.
 void setCenter(Double2Type value)
          Sets the value of the center property.
 void setSize(Double2Type value)
          Sets the value of the size 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

center

protected Double2Type center

size

protected Double2Type size
Constructor Detail

BoxType

public BoxType()
Method Detail

getCenter

public Double2Type getCenter()
Gets the value of the center property.

Returns:
possible object is Double2Type

setCenter

public void setCenter(Double2Type value)
Sets the value of the center property.

Parameters:
value - allowed object is Double2Type

getSize

public Double2Type getSize()
Gets the value of the size property.

Returns:
possible object is Double2Type

setSize

public void setSize(Double2Type value)
Sets the value of the size property.

Parameters:
value - allowed object is Double2Type


Copyright © 2011 VAMDC. All Rights Reserved.