Package gavo :: Package adql :: Module nodes :: Class Circle
[frames] | no frames]

Class Circle

source code

                     object --+        
                              |        
                    CoosysMixin --+    
                                  |    
             object --+           |    
                      |           |    
utils.autonode.AutoNode --+       |    
                          |       |    
                   ADQLNode --+   |    
                              |   |    
                FieldInfoedNode --+    
                                  |    
                       GeometryNode --+
                                      |
                                     Circle

A circle parsed from ADQL.

There are two ways a circle is specified: either with (x, y, radius) or as (center, radius). In the second case, center is an spoint-valued column reference. Cases with a point-valued literal are turned into the first variant during parsing.

Nested Classes

Inherited from utils.autonode.AutoNode: __metaclass__

Instance Methods
 
__init__(self, center=None, cooSys=None, origArgs=None, radius=None, x=None, y=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code

Inherited from GeometryNode: addFieldInfo, flatten

Inherited from FieldInfoedNode: change

Inherited from ADQLNode: __repr__, asTree, getFlattenedChildren, iterTree

Inherited from utils.autonode.AutoNode: iterAttributes, iterChildren, iterNodeChildren, iterNodes

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods

Inherited from ADQLNode: fromParseResult

Inherited from utils.autonode.AutoNode: cloneFrom

Class Variables
  type = 'circle'
hash(x)
  stcArgs = ('x', 'y', 'center', 'radius')
  xtype = 'circle'
hash(x)
  sqlType = 'scircle'
hash(x)

Inherited from FieldInfoedNode: fieldInfo

Properties

Inherited from object: __class__

Method Details

__init__(self, center=None, cooSys=None, origArgs=None, radius=None, x=None, y=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)