Phoenix Logo

phoenix_title 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 Class Hierarchy

Inheritance diagram for class RectBBox:


method_summary Methods Summary

__init__ assume edgepoints are ordered such you can walk along all edges with left rotation sense
ac_leftOf_ab  
PointInside  

api Class API



class RectBBox(BBox)

subclass of a BBox that can be used for a rotated Rectangle

contributed by MArco Oster (marco.oster@bioquant.uni-heidelberg.de)


Methods



__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)