Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] point location

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] point location


Chronological Thread 
  • From:
  • To:
  • Subject: Re: [cgal-discuss] point location
  • Date: Mon, 16 Nov 2009 23:22:22 +0200

Quoting "Catalin Suvei"
<>:

Hi,

I am a new user and consider using CGAL to help me with the point location
problem. I am going to use it in a finite element program; I presume that I
could build up the arrangement by adding the lines that make up each element

yes

(a question is if there is a method to add faces directly);

no

then I employ a
point location strategy and use it for a given point. My problem is that I
cannot map the object returned by this query (which can be a vertex, edge or
a face) to my finite element (consisting of nodes and elements). Any
suggestions? Ideally, I should be able to create a CGAL object representing
my finite element, store a pointer in this object to my finite element, then
add it to the arrangement and the point location query would return me the
CGAL object from where I could retrieve my finite element (or line/point
forming the finite element) and do something useful with it. Thanks a lot.

You probably need to extend the features of the dcel to store information regarding the originating elements. Look for a chapter in the doc. titled "Extending the Dcel". There are also examples that you can start playing with.



Catalin


--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss






Archive powered by MHonArc 2.6.16.

Top of Page