Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] an issue about the u/v parameter for vertex after mesh generation for surface‏

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] an issue about the u/v parameter for vertex after mesh generation for surface‏


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] an issue about the u/v parameter for vertex after mesh generation for surface‏
  • Date: Fri, 07 Nov 2014 09:52:27 +0100
  • Organization: GeometryFactory

A way to do it is to use the AABB-tree on the facets of the original model and call AABB_tree::closest_point_and_primitive using the point
of each vertex in the remeshed surface.

See http://doc.cgal.org/latest/AABB_tree/index.html

Sebastien.

On 11/05/2014 04:10 AM, hmzhangmin wrote:
Hi My friends,

When generate mesh for a 3D surface, we can get a triangle mesh which is
stored in "SurfaceMeshComplex_2InTriangulation_3" object, this is
implemented in function "make_surface_mesh".
Ok, now we know the coordinates of every vertex in the triangle mesh, but we
don't know the u/v
parameter of the vertex in the original surface. As we know, after mesh
generation, every vertex in the result triangle mesh lie on the original
surface.

So, my question is: how can we get the u/v parameter pair for vertex in
triangle mesh after mesh generation of a 3D surface?

Thanks you very much.
Min



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/an-issue-about-the-u-v-parameter-for-vertex-after-mesh-generation-for-surface-tp4660049.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.18.

Top of Page