verse.utils.utils.point_in_ellipse
- verse.utils.utils.point_in_ellipse(point: ndarray | Sequence[float], center: ndarray | Sequence[float], angle: float, length: float, width: float) bool
Check if a point is inside an ellipse
- Parameters:
point – a point
center – ellipse center
angle – ellipse main axis angle
length – ellipse big axis
width – ellipse small axis
- Returns:
is the point inside the ellipse