Container for angle range definitions. More...
Public Member Functions | |
| None | AngleRange (self, cvb.Angle min, cvb.Angle max) |
| Creates a angle range. | |
| bool | contains (self, cvb.Angle angle) |
| Checks if the angle is within the range. | |
| bool | intersects_with (self, cvb.AngleRange other) |
| Checks if the angle range intersects with another angle range. | |
Properties | |
| max = property | |
| cvb.Angle: Gets or sets the maximum angle. | |
| min = property | |
| cvb.Angle: Gets or sets the minimum angle. | |
Container for angle range definitions.
| None AngleRange | ( | self, | |
| cvb.Angle | min, | ||
| cvb.Angle | max ) |
| bool contains | ( | self, | |
| cvb.Angle | angle ) |
| bool intersects_with | ( | self, | |
| cvb.AngleRange | other ) |
Checks if the angle range intersects with another angle range.
other : cvb.AngleRange Range for intersection test.
bool True if this range and the other range have at least one angle in common, False otherwise.