Features
Support
Community
Downloads
Buy
About
Forum
Home
Search
Login
Register
Agisoft Metashape
»
Agisoft Metashape
»
Python and Java API
»
Select points within a polygon using script
« previous
next »
Print
Pages: [
1
]
Author
Topic: Select points within a polygon using script (Read 1858 times)
aaltukhov
Newbie
Posts: 6
Select points within a polygon using script
«
on:
February 19, 2020, 11:22:31 PM »
I wonder if there is a functionality to select points within a polygon?
Thank you!
Logged
Alexey Pasumansky
Agisoft Technical Support
Hero Member
Posts: 14853
Re: Select points within a polygon using script
«
Reply #1 on:
February 22, 2020, 02:16:05 PM »
Hello aaltukhov,
Do you mean points of the dense cloud or sparse cloud?
Logged
Best regards,
Alexey Pasumansky,
Agisoft LLC
aaltukhov
Newbie
Posts: 6
Re: Select points within a polygon using script
«
Reply #2 on:
February 25, 2020, 12:31:15 AM »
I mean any points in general.
For example shape points or camera locations.
I can possibly use 'shapely' for that, but maybe there is a ready to use solution?
Logged
Alexey Pasumansky
Agisoft Technical Support
Hero Member
Posts: 14853
Re: Select points within a polygon using script
«
Reply #3 on:
February 26, 2020, 08:53:11 PM »
Hello aaltukhov,
Then you can use any custom method (own function or some external modules) that allow to check if the given 3D point (or 2D point) is inside some polygon, defined as a sequence of 3D or 2D points.
Logged
Best regards,
Alexey Pasumansky,
Agisoft LLC
Print
Pages: [
1
]
« previous
next »
Agisoft Metashape
»
Agisoft Metashape
»
Python and Java API
»
Select points within a polygon using script
Features
Support
Community
Downloads
Buy
About
Features
Support
Community
Downloads
Buy
About
Metashape presentation
(PDF, 5 Mb)