Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Finding the a face in a mesh that is coplanar to a given point
Chronological Thread
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Finding the a face in a mesh that is coplanar to a given point
- Date: Mon, 28 Oct 2019 09:43:39 +0100
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:X+o4eR9o7vEk4P9uRHKM819IXTAuvvDOBiVQ1KB20e0cTK2v8tzYMVDF4r011RmVBN6duqIP0rCN+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxhGiTanZb5/Lxq6oRjPusQYnIBvNrs/xhzVr3VSZu9Y33loJVWdnxb94se/4ptu+DlOtvwi6sBNT7z0c7w3QrJEAjsmNXs15NDwuhnYUQSP/HocXX4InRdOHgPI8Qv1Xpb1siv9q+p9xCyXNtD4QLwoRTiv6bpgRRn1gykFKjE56nnahNFugqJVoByvpBJxzIDbb46XKPVwcbjQfc8ZSGdbQspdSyJMD4G6YoASD+QBJ+FYr4zlqlcAsBWxGxKjC/n0yj9Uh3/5w6s62PknHwHBxgwgHtUOsGjJp9nxNakdT+e1zKzWwjXfdfNX2Tfz55LUfRA9pvGMR7Jxfc/fxUIyEA7FlVGQqYv/PzOU0eQNr3KX7+9kVe+0hG4nrht+ojmrxss2lobJgYcVx0nC+C5kzog1Iti4R1R6Yd6iCJZQsTuVOJBtTcMmXW5kojo1yroDuZKjYCcKx44oxxrFZ/yAaYiI7RTuX/uSLzdgnH9pZq6zihKo/UWjyuDwTNe43EhXoiZfndTBsmgB2wLJ5cSbV/dw+1mu1DiA2g3W9O5EL0E5mrbeJpI8zbM/jYYfvEHYESLygkr5kKqbelg59uWr9ejqZ7frqoOAO4JwjwzzPaAjldKlDuk+LwMARXKU+f6m273m5UD5QKtFjvkxkqTBtZDVP8UbpqqgDw5byIYv9g+zDzmp3dkch3UHI1VFeBWIj4jtJV7COuz3DfC6g1i0kTdrwe7JPqH5D5nTMnTOlK3tcLV95kJG1gY/081T64hbB7wFOP7zX1X+tN3cDh83KQy0xOPnBc1m1oMaXmKPGK6ZMKTOsVOS4+IvJ/KBZIAQuDnnKvgl4+TigmM+mV8YZaWpx4cYaGikHvR6JEWUeWbjgtgbHmcOpwYxUe3qiEaeXj5OfHayRLkx5io7CYKjFYfMXJqhgL2H3CehH51ZfHpKCl6WESSgS4LRUPgFbGeeI9RqjycffbmnUY4okx+05yHgzL8yZNHZ8CQDqZPu0pBR4PfSkg16tRN5CMGQz3ucYWh/gmQSVn58lPRkpUtny1Cfl618q/NdHN1XofhOV1FpZtbn0+VmBoWqCUr6ddCTRQP+G4n0MXQKVts0huQ2TQNlAdz710LM2iOrB/kekLnZXMVpoJKZ5GD4IoNG81iD1KQliAN7EM5GNGnjmbQmsgaPVsjGlEKWk6vsfqMZjnaUpTWziFGWtUQdazZeFKDMXHQRfEzT9I2r6UbLTrvoArMiYFJM
Because it is stated in the problem definition that the query point is
known to be on a face so the closest face for that point is
the face containing it.
At least that's what I understood when I read "This given point is
guaranteed to be coplanar to the mesh *somewhere*"
Sebastien.
On 10/25/19 4:36 PM, Andreas Fabri wrote:
I do not see where that helps. A point coplanar to a face f
can be far away from f and be close to a non-coplanar face.
************
* *
p f1 ***f2**
* *
******************
p is coplanar with f2 but f1 is closer
On 10/25/2019 4:27 PM, Sebastien Loriot (GeometryFactory) wrote:
You can use AABB_tree::closest_point_and_primitive()--
https://doc.cgal.org/latest/AABB_tree/classCGAL_1_1AABB__tree.html#a1b3ac9521fd7257f760deafff3743437
Sebastien.
On 10/24/19 6:05 PM, aseverino wrote:
Hello,
I'm trying to find the face index that has its points coplanar to another
given point. This given point is guaranteed to be coplanar to the mesh
*somewhere*.
Is there a more optimized method to find that face without having to iterate
over all of them (in the worst case)?
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project
phone: +33.492.954.912 skype: andreas.fabri
- [cgal-discuss] Finding the a face in a mesh that is coplanar to a given point, aseverino, 10/24/2019
- Re: [cgal-discuss] Finding the a face in a mesh that is coplanar to a given point, Sebastien Loriot (GeometryFactory), 10/25/2019
- Re: [cgal-discuss] Finding the a face in a mesh that is coplanar to a given point, Andreas Fabri, 10/25/2019
- Re: [cgal-discuss] Finding the a face in a mesh that is coplanar to a given point, Marc Eder, 10/25/2019
- Re: [cgal-discuss] Finding the a face in a mesh that is coplanar to a given point, Marc Eder, 10/25/2019
- Re: [cgal-discuss] Finding the a face in a mesh that is coplanar to a given point, Sebastien Loriot (GeometryFactory), 10/28/2019
- Re: [cgal-discuss] Finding the a face in a mesh that is coplanar to a given point, Marc Eder, 10/25/2019
- Re: [cgal-discuss] Finding the a face in a mesh that is coplanar to a given point, Andreas Fabri, 10/25/2019
- Re: [cgal-discuss] Finding the a face in a mesh that is coplanar to a given point, Sebastien Loriot (GeometryFactory), 10/25/2019
Archive powered by MHonArc 2.6.18.