Features
Support
Community
Downloads
Buy
About
Forum
Home
Search
Login
Register
Agisoft Metashape
»
Agisoft Metashape
»
Python and Java API
»
Query Z value on mesh
« previous
next »
Print
Pages: [
1
]
Author
Topic: Query Z value on mesh (Read 2862 times)
SamT
Newbie
Posts: 38
Query Z value on mesh
«
on:
December 14, 2015, 08:39:41 AM »
Hi Everyone!
Is there a way to query the z value on the mesh at a given x,y with python?
Sam
Logged
grommit
Newbie
Posts: 32
Re: Query Z value on mesh
«
Reply #1 on:
December 14, 2015, 10:28:07 PM »
Is your query view dependant? Otherwise I'd suggest using the depth maps to obtain the z.
Logged
SamT
Newbie
Posts: 38
Re: Query Z value on mesh
«
Reply #2 on:
December 14, 2015, 11:03:59 PM »
Hey grommit,
No it isn't. I'll have another read through the depth maps stuff and see what I can find out.
Thanks Mate
Logged
Alexey Pasumansky
Agisoft Technical Support
Hero Member
Posts: 14813
Re: Query Z value on mesh
«
Reply #3 on:
December 15, 2015, 11:46:15 AM »
Hello Sam,
You probably need to intersect the vertical vector going through the XY point and mesh. So it can be split into two tasks, finding polygon containing XY point and finding the intersection of this polygon with the vertical vector.
Logged
Best regards,
Alexey Pasumansky,
Agisoft LLC
Print
Pages: [
1
]
« previous
next »
Agisoft Metashape
»
Agisoft Metashape
»
Python and Java API
»
Query Z value on mesh
Features
Support
Community
Downloads
Buy
About
Features
Support
Community
Downloads
Buy
About
Metashape presentation
(PDF, 5 Mb)