Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss]Problem with Edge-Collapse package

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss]Problem with Edge-Collapse package


Chronological Thread 
  • From: "Yin Xuetao" <>
  • To:
  • Subject: Re: [cgal-discuss]Problem with Edge-Collapse package
  • Date: Fri, 4 Jan 2008 02:02:09 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=tUTAUqVndwYhNU0i/wzh1gpWE+/LDB+cUXYHTpxQt95ScTzJgQrw44SX1oAkJnJ8bLXyNp8Vwt2AxTnRTGP0E68/W4PhKnHrDLBSZzzuQyjFtZviybHo6LLaVBbz2M+IllLuAtN2uR2/mDQ1mbt3DadDYXTg8Kq5bgcY0MY9t3U=

Dear Developers of CGAL:
 
The following code was from the Is_Collapsable() in Edge_collapse_impl.h of Edge_collapse package, it is used to determine whether an edge is collapsable or not. However, i am a little confused because i thought this piece of code basically mark every border edge as unremovable as far as i am concerned.
Thanks!
 
//////////////////////////////////////////////////////////
if ( rR )
  {
    if ( aProfile.is_v0_v1_a_border() )
    {
      if ( Is_open_triangle(aProfile.v0_v1()) )
      {
        rR = false ;
        CGAL_ECMS_TRACE(3,"  p-q belongs to an open triangle. NON-COLLAPSABLE edge." ) ;
      }
    }
    else if ( aProfile.is_v1_v0_a_border() )
    {
      if ( Is_open_triangle(aProfile.v1_v0()) )
      {
        rR = false ;
        CGAL_ECMS_TRACE(3,"  p-q belongs to an open triangle. NON-COLLAPSABLE edge." ) ;
      }
    }
 
//////////////////////////////////////////////////

On Jan 4, 2008 1:51 AM, Yin Xuetao <> wrote:

Hi, All,
I have been using Edge Collapse recently, however, it seems that it does not touch boundary edges at all.
Anybody has any idea about this issue? Thanks!

Happy New Year!
--
Xuetao Yin
(Shu-e-tao)




--
Xuetao Yin
(Shu-e-tao)


Archive powered by MHonArc 2.6.16.

Top of Page