Package Bio :: Package Phylo :: Module PhyloXML :: Class Polygon
[hide private]
[frames] | no frames]

Class Polygon

source code

          object --+        
                   |        
BaseTree.TreeElement --+    
                       |    
            PhyloElement --+
                           |
                          Polygon

A polygon defined by a list of 'Points' (used by element 'Distribution').
Instance Methods [hide private]
 
__init__(self, points=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__str__(self)
Show this object's constructor with its primitive arguments.
source code

Inherited from BaseTree.TreeElement: __repr__

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, points=None)
(Constructor)

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

Parameters:
  • points - list of 3 or more points representing vertices.
Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 
Show this object's constructor with its primitive arguments.
Overrides: object.__str__
(inherited documentation)