Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Find the perimeter of a shell with no volume

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Find the perimeter of a shell with no volume


Chronological Thread 
  • From: Giles Bathgate <>
  • To:
  • Subject: Re: [cgal-discuss] Find the perimeter of a shell with no volume
  • Date: Fri, 24 Jun 2011 20:49:05 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=QPIFN0P2UwIdUeoV7gR3+TrlvNpASnKoO3VnhdhdcrksSWMGJ79EcUBM80ybFJAa48 DaYBoC0/UTR8YQP0gYiSWL6mxhSqEUF4QvhwO6E+aV8w7l0WSCRAGgJxgR00CNj1x9zo 7UGNHToM0l+67RACbEu8rlOd2CFSUTZ3aah0s=

On 20 June 2011 13:20, Sebastien Loriot (GeometryFactory)
<>
wrote:
> define
>
> bool operator<(Nef::Halfedge_const_handle h1,Nef::Halfedge_const_handle h2)
> {
>  return &(*h1) < &(*h2);
> }

Thanks for your help on this, using the code you suggested I now have
some code that finds all the halfedges that belong to the perimeter of
my surface.

http://git.rapcad.org/cgit.cgi/rapcad/commit/?id=ecc12ae4547dba7da7172173a20395430ae769ac

What I would like to be able in to do now in addition to my original
request is to list the halfedge vertexes in clockwize order.
What is the easiest way to achieve this.

Regards

Giles



Archive powered by MHonArc 2.6.16.

Top of Page