verse.utils.utils.point_in_rotated_rectangle
- verse.utils.utils.point_in_rotated_rectangle(point: ndarray, center: ndarray, length: float, width: float, angle: float) bool
Check if a point is inside a rotated rectangle
- Parameters:
point – a point
center – rectangle center
length – rectangle length
width – rectangle width
angle – rectangle angle [rad]
- Returns:
is the point inside the rectangle