Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: Triangle comparaison

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: Triangle comparaison


Chronological Thread 
  • From: "Tyver Ray" <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Triangle comparaison
  • Date: Wed, 20 Jun 2007 10:36:53 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sL16+5M5FAULXTtTr9iqiR+OgR+9rX50P/UdSgCXA/4Xc3pUn4ObF9nxp+QsIlTY75fxDLr2Pk1XMM4Cw35D3/Hr6cIWx2mFfYRecF6gm41plI0keooDAes1HdfyoDuY2kKQrlLBt/jEa9YESZiq8FCZpzgkLSjuj/beDJO0vhg=

I've tried your relevant idea but I can't access the set_in_domain method...
I coded as below:

Line_face_circulator lfc = dt.line_walk(start, end), done(lfc);
if (lfc != (CGAL_NULL_TYPE) NULL)
{
do
{
if( !dt.is_infinite(lfc) )
{
((Tds::Face_base)lfc) -> set_in_domain(false);
}
}
while (++lfc != done);
}

Thanks for your advice!

Tyv

2007/6/19, Laurent Rineau
<>:
On Tuesday 19 June 2007 05:45:31 pm Tyver Ray wrote:
> To be clear, my face_circulator is from the same delaunay dt.
> I want to scan only the triangles of dt which aren't in my face_circulator.

Use a face base with a special boolean.

Travel through the face_circulator, and use that special boolean to mark faces
that are in the face_circulator.

Then you can scan all faces of the triangulation, and filter those how have
the marker.

--
Laurent Rineau
INRIA - Sophia Antipolis
BP 93, 2004 Route des Lucioles
06902 Sophia Antipolis Cedex FRANCE
--
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