net.ivoa.xml.stc.stc_v1_30
Class Curve3Type

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

public class Curve3Type
extends StcBaseType

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

Java class for curve3Type complex type.

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

 <complexType name="curve3Type">
   <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}double3Type"/>
         <element name="P2" type="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}double3Type"/>
       </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  Double3Type p1
           
protected  Double3Type p2
           
 
Fields inherited from class net.ivoa.xml.stc.stc_v1_30.StcBaseType
href, id, idref, idrefType, idType, type, ucd
 
Constructor Summary
Curve3Type()
           
 
Method Summary
 java.lang.String getCurveShape()
          Gets the value of the curveShape property.
 Double3Type getP1()
          Gets the value of the p1 property.
 Double3Type getP2()
          Gets the value of the p2 property.
 void setCurveShape(java.lang.String value)
          Sets the value of the curveShape property.
 void setP1(Double3Type value)
          Sets the value of the p1 property.
 void setP2(Double3Type 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 Double3Type p1

p2

protected Double3Type p2

curveShape

protected java.lang.String curveShape
Constructor Detail

Curve3Type

public Curve3Type()
Method Detail

getP1

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

Returns:
possible object is Double3Type

setP1

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

Parameters:
value - allowed object is Double3Type

getP2

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

Returns:
possible object is Double3Type

setP2

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

Parameters:
value - allowed object is Double3Type

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.