Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] check halfedge_handle for null value
- Date: Tue, 30 Mar 2010 09:38:55 +0200
pascal8361 wrote:
HelloIf I remember well, you can do
I have some halfedge_handles and through proceeding they should be set.
But if some conditions are not valid this might not happen, so I want to
check for that.
....
Halfedge_handle handle;
if(condition)
handle = some_existing_handle;
else
nothing happens;
if (handle)
do something
else
something else
is there a way to do this??
if (handle!=Halfedge_handle())
do something
else
something else
S.
- [cgal-discuss] check halfedge_handle for null value, pascal8361, 03/30/2010
- Re: [cgal-discuss] check halfedge_handle for null value, Sebastien Loriot (GeometryFactory), 03/30/2010
Archive powered by MHonArc 2.6.16.