Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Barycentric Coordinates

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Barycentric Coordinates


Chronological Thread 
  • From: Daniel Duque <>
  • To: cgal-discuss <>
  • Subject: Re: [cgal-discuss] Barycentric Coordinates
  • Date: Mon, 6 Mar 2017 18:01:40 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:9d0O6hRyu+qKsBUS83A7SRE6Rtpsv+yvbD5Q0YIujvd0So/mwa64ZRON2/xhgRfzUJnB7Loc0qyN4v2mBTRLsM3J8ChbNscTB1ld0YRetjdjKfDGIHWzFOTtYS0+EZYKf35e1Fb/D3JoHt3jbUbZuHy44G1aMBz+MQ1oOra9QdaK3Izkn9y1rpbcagENiDumaq5pN13ipgrYsowagJBpN70q4hrPuHpBPepMkzBSKEqXjir7s8u5+p9u92Jcpus8+uZdSaC8cr9rY6ZfCWEKOmY06cmjmQTaUAbHsncVVGQbllxEHhHY4TnnRpK3vzCs5bk14zWTIcCjFeN8Yj+l9ao+EBI=

Hi Julia,

I have implemented those myself. In my case, I had function values defined on the nodes on a Delaunay triangulation. I compute a
linear interpolation for any point through a locate() procedure, to get the face. Then, it's quite simple to compute the barycentric
coordinates for the three vertices and build an approximation. It's here, but my code is very specific, and quite hard to understand:

https://github.com/ddcampayo/polyFEM/blob/master/onto_from_mesh.cpp

Best,

Daniel



On 5 March 2017 at 22:49, Julia Fischer <> wrote:
Hi

does CGAL supportĀ  barycenter coordinates to locate points on a surface?




Archive powered by MHonArc 2.6.18.

Top of Page