scene_service.geometry¶
Geometry helpers shared by Scene room rendering and navigation.
Functions
|
Require a circular robot footprint, not just its centre, inside a room. |
|
Return whether a point lies inside a polygon using even-odd crossings. |
|
Return the area-weighted centroid of a non-self-intersecting polygon. |
- scene_service.geometry.disc_inside_polygon(x: float, y: float, radius: float, points: Sequence[tuple[float, float]], samples: int = 16) bool[source]¶
Require a circular robot footprint, not just its centre, inside a room.