Container for angle range definitions. More...
Inherits object.
Public Member Functions | |
| bool | contains (self, cvb.Angle angle) |
| Checks if the angle is within the range. More... | |
| bool | intersects_with (self, cvb.AngleRange other) |
| Checks if the angle range intersects with another angle range. More... | |
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.
Creates a angle range.
min : cvb.Angle Minimum value.
max : cvb.Angle Maximum value.
| 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.