Public Member Functions | |
def | __init__ (self, width, height, center=Point2D(0.0, 0.0)) |
def | ll (self) |
def | relative (self, point2d) |
def | inside (self, point2d) |
def | toedge (self, point, direction) |
Public Attributes | |
width | |
height | |
center | |
def wirecell.util.geo.shapes.Rectangle2D.__init__ | ( | self, | |
width, | |||
height, | |||
center = Point2D(0.0, 0.0) |
|||
) |
Definition at line 129 of file shapes.py.
def wirecell.util.geo.shapes.Rectangle2D.inside | ( | self, | |
point2d | |||
) |
def wirecell.util.geo.shapes.Rectangle2D.ll | ( | self | ) |
Definition at line 135 of file shapes.py.
def wirecell.util.geo.shapes.Rectangle2D.relative | ( | self, | |
point2d | |||
) |
def wirecell.util.geo.shapes.Rectangle2D.toedge | ( | self, | |
point, | |||
direction | |||
) |
Return a vector that takes point along direction to the nearest edge.
Definition at line 146 of file shapes.py.