Package topo :: Package base :: Module boundingregion :: Class BoundingCircle
[hide private]
[frames] | no frames]

Class BoundingCircle

source code


A circular BoundingRegion.

Takes parameters center (a single 2D point (x,y)) and radius (a scalar radius).

Instance Methods [hide private]
 
__init__(self, center=(0.0, 0.0), radius=0.5, **args)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
contains(self, x, y) source code
 
aarect(self) source code

Inherited from BoundingRegion: __getstate__, __setstate__, centroid, rotate, scale, set, translate

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

Properties [hide private]
  center
  radius

Inherited from BoundingRegion (private): _aarect

Inherited from object: __class__

Method Details [hide private]

__init__(self, center=(0.0, 0.0), radius=0.5, **args)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

contains(self, x, y)

source code 
Overrides: BoundingRegion.contains

aarect(self)

source code 
Overrides: BoundingRegion.aarect