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

Class BoundingRegion

source code


Abstract bounding region class, for any portion of a 2D plane.

Only subclasses can be instantiated directly.

Instance Methods [hide private]
 
contains(self, x, y) source code
 
scale(self, xs, ys) source code
 
translate(self, xoff, yoff) source code
 
rotate(self, theta) source code
 
aarect(self) source code
 
centroid(self)
Return the coordinates of the center of this BoundingBox
source code
 
set(self, points) source code
 
__getstate__(self) source code
 
__setstate__(self, state) source code

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

Class Variables [hide private]
  __abstract = True
bool(x) -> bool
Properties [hide private]
  _aarect

Inherited from object: __class__

Class Variable Details [hide private]

__abstract

bool(x) -> bool

Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.

Value:
True