Public Member Functions | |
| def | __init__ (self, coords) |
| def | __str__ (self) |
| def | __repr__ (self) |
| def | __len__ (self) |
| def | __getitem__ (self, key) |
| def | __setitem__ (self, key, val) |
| def | __iter__ (self) |
| def | __abs__ (self) |
| def | __sub__ (self, other) |
| def | __add__ (self, other) |
| def | __mul__ (self, other) |
| def | __div__ (self, other) |
| def | dot (self, other) |
| def | magnitude (self) |
| def | unit (self) |
Private Attributes | |
| _coords | |
A N-D Cartesian point. It tries to acts as a collection and a number.
| def wirecell.util.geo.shapes.Point.__init__ | ( | self, | |
| coords | |||
| ) |
| def wirecell.util.geo.shapes.Point.__abs__ | ( | self | ) |
Definition at line 35 of file shapes.py.
| def wirecell.util.geo.shapes.Point.__add__ | ( | self, | |
| other | |||
| ) |
Definition at line 44 of file shapes.py.
| def wirecell.util.geo.shapes.Point.__div__ | ( | self, | |
| other | |||
| ) |
Definition at line 56 of file shapes.py.
| def wirecell.util.geo.shapes.Point.__getitem__ | ( | self, | |
| key | |||
| ) |
| def wirecell.util.geo.shapes.Point.__mul__ | ( | self, | |
| other | |||
| ) |
Definition at line 50 of file shapes.py.
| def wirecell.util.geo.shapes.Point.__setitem__ | ( | self, | |
| key, | |||
| val | |||
| ) |
| def wirecell.util.geo.shapes.Point.__sub__ | ( | self, | |
| other | |||
| ) |
Definition at line 38 of file shapes.py.
1.8.11