Container for angle range definitions. More...
Public Member Functions | |
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.
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.
We use cookies to improve your experience. By using this documentation, you agree to our use of cookies.