net.ivoa.xml.stc.stc_v1_30
Class BoxType
java.lang.Object
net.ivoa.xml.stc.stc_v1_30.StcBaseType
net.ivoa.xml.stc.stc_v1_30.CoordIntervalType
net.ivoa.xml.stc.stc_v1_30.SpatialIntervalType
net.ivoa.xml.stc.stc_v1_30.RegionType
net.ivoa.xml.stc.stc_v1_30.ShapeType
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>
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 |
center
protected Double2Type center
size
protected Double2Type size
BoxType
public BoxType()
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.