
wx.lib.floatcanvas.Utilities.BBox.RectBBox¶subclass of a BBox that can be used for a rotated Rectangle
contributed by MArco Oster (marco.oster@bioquant.uni-heidelberg.de)
Class Hierarchy¶
Inheritance diagram for class RectBBox:

Known Superclasses¶wx.lib.floatcanvas.Utilities.BBox.BBox
Methods Summary¶assume edgepoints are ordered such you can walk along all edges with left rotation sense |
|
Inside(BB) |
Class API¶RectBBox(BBox)¶subclass of a BBox that can be used for a rotated Rectangle
contributed by MArco Oster (marco.oster@bioquant.uni-heidelberg.de)
__init__(self, data, edges=None)¶assume edgepoints are ordered such you can walk along all edges with left rotation sense This may be: left-top left-bottom right-bottom right-top
or any rotation.
ac_leftOf_ab(self, a, b, c)¶PointInside(self, point)¶Inside(BB):
Tests if the given Point is entirely inside this one.
Returns True if it is entirely inside, or touching the
border.
Returns False otherwise
Point is any length-2 sequence (tuple, list, array) or two numbers