net.ivoa.xml.stc.stc_v1_30
Class Curve2Type

java.lang.Object
  extended by net.ivoa.xml.stc.stc_v1_30.StcBaseType
      extended by net.ivoa.xml.stc.stc_v1_30.Curve2Type

public class Curve2Type
extends StcBaseType

A curve in 2-D space, defined by its end points and a shape attribute (default: line or great circle)

Java class for curve2Type complex type.

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

 <complexType name="curve2Type">
   <complexContent>
     <extension base="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}stcBaseType">
       <sequence>
         <element name="P1" type="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}double2Type"/>
         <element name="P2" type="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}double2Type"/>
       </sequence>
       <attribute name="curve_shape" type="{http://www.w3.org/2001/XMLSchema}string" default="line" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String curveShape
           
protected  Double2Type p1
           
protected  Double2Type p2
           
 
Fields inherited from class net.ivoa.xml.stc.stc_v1_30.StcBaseType
href, id, idref, idrefType, idType, type, ucd
 
Constructor Summary
Curve2Type()
           
 
Method Summary
 java.lang.String getCurveShape()
          Gets the value of the curveShape property.
 Double2Type getP1()
          Gets the value of the p1 property.
 Double2Type getP2()
          Gets the value of the p2 property.
 void setCurveShape(java.lang.String value)
          Sets the value of the curveShape property.
 void setP1(Double2Type value)
          Sets the value of the p1 property.
 void setP2(Double2Type value)
          Sets the value of the p2 property.
 
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

p1

protected Double2Type p1

p2

protected Double2Type p2

curveShape

protected java.lang.String curveShape
Constructor Detail

Curve2Type

public Curve2Type()
Method Detail

getP1

public Double2Type getP1()
Gets the value of the p1 property.

Returns:
possible object is Double2Type

setP1

public void setP1(Double2Type value)
Sets the value of the p1 property.

Parameters:
value - allowed object is Double2Type

getP2

public Double2Type getP2()
Gets the value of the p2 property.

Returns:
possible object is Double2Type

setP2

public void setP2(Double2Type value)
Sets the value of the p2 property.

Parameters:
value - allowed object is Double2Type

getCurveShape

public java.lang.String getCurveShape()
Gets the value of the curveShape property.

Returns:
possible object is String

setCurveShape

public void setCurveShape(java.lang.String value)
Sets the value of the curveShape property.

Parameters:
value - allowed object is String


Copyright © 2011 VAMDC. All Rights Reserved.