Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Discussion options

You must be logged in to vote

Just get the parts that intersect using vectorised API.

parts = shapely.get_parts(lidar_lines)
clean_lidar_lines = parts[shapely.intersects(parts, robot_polygon)]

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@sea-bass
Comment options

Answer selected by sea-bass
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #2266 on March 22, 2025 15:23.