Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Vertex handle from its associated info()

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Vertex handle from its associated info()


Chronological Thread 
  • From: yoapvol <>
  • To:
  • Subject: Re: [cgal-discuss] Vertex handle from its associated info()
  • Date: Wed, 18 Jul 2018 01:25:29 -0500 (CDT)
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=SoftFail ; spf=Pass
  • Ironport-phdr: 9a23:N5EV4RzQ5qw1/ovXCy+O+j09IxM/srCxBDY+r6Qd1eMXIJqq85mqBkHD//Il1AaPAd2Fraocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze+/94HSbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDwULs6Wymt771zRRHmiCkJKT03/2PZisJtg61UvB2vqgdjw4PWfI2ZKOZycr/Dcd4cWGFPXtxRVytEAo6kb4oPCPAOPf5Gr4n6o1sFsByzBAmrBOz11D9Innj23akh3uQuFAHJxg0gH9YUvHvIq9X1Mb4fXOaox6fGyjXDaulZ2Tb76IXQdBAuu+qDUql0ccXP00UgCwTFjlCWpIf4PD2VzvwAv3Wf4udkT+6ihW0qpxtyrzWu3Mshi4jEi4QIwV7e7yp52pw6JdigRU57f9GkFJxQujmcN4Z5WM8iRXtntz0hxb0Cp5G3ZjQFyJMixxLHavyHdZaH4g77WeqMJTp1gGhpdby8ihqo8kWty/fwW8i13VpSqypKiNjMtnQD1xzJ7ciHT+Nw/0em2TmVyQDT8uZEIUQvmKrULp4u2L8wlp4JvUvfGS/2nV36jLWKeUU85uio9+Pnb636qZ+TLYB0jhjyPbkvmsykHes4LxMOX3OA9OSn1Lzj+FX5T69Qgv03lKnZqpHaKt4Bqq63GQ8Gmrokvh2wBjPj3NUDlmQcN3pEfgiGhs7nIQLgOvf9WOa4ikyylzMjk+HBN6P5BZHlIX3KkbOndrF4vR0PgDEvxMxSssoHQooKJ+j+Dxeo5Y7oSyQhOgnx+N7JTdB014cQQ2WKW/bLP6bbsFvO7eUqcbLVON0l/Q3lIv1g3MbAyGcjkAZEL6as1JoTLnu/G6Y+ehjLUT/Xmt4EVFwykE8+Qejt0QDQV2IVYX+4VaYxoDo8DdD/AA==

Hi James,
I'm also quite new to CGAL, but from what I understand there is no built in
way to do what you ask.

You can either go over the vertices with an iterator/circulator looking for
the one that has the right info (inefficient I guess), or have some
book-keeping container (vector, list etc.) that stores the vertex handles.
e.g. I am using a vector of vertex handles constructed such that the index
of the vector element corresponds to the info of the vertex to which the
handle belongs. That way when I want the vertex handle of a given index, I
just go the the vector element of the same index.

Hope this helps.
Yoav.



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/



Archive powered by MHonArc 2.6.18.

Top of Page