Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] check halfedge_handle for null value

Subject: CGAL users discussion list

List archive

[cgal-discuss] check halfedge_handle for null value


Chronological Thread 
  • From: pascal8361 <>
  • To:
  • Subject: [cgal-discuss] check halfedge_handle for null value
  • Date: Mon, 29 Mar 2010 23:25:13 -0800 (PST)


Hello

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??



--
View this message in context:
http://n4.nabble.com/check-halfedge-handle-for-null-value-tp1744807p1744807.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page