Subject: CGAL users discussion list
List archive
- From: pascal8361 <>
- To:
- Subject: [cgal-discuss] QT: save halfedge with graphic item
- Date: Sat, 2 Oct 2010 05:58:21 -0700 (PDT)
Hello
I am working with QT.
I am creating a Pseudo Triangulation therefore I use Halfedge_handles
to draw an edge I use:
m_painterostream << m_t->segment(eit);
where:
m_painterostream = PainterOstream
m_t = my Pseudo Triangulation
segment = function which returns a Segment from a halfedge
eit = my halfedge_handle
to select a halfedge i wrote a function that searches the halfededge which
is closest to my mouse-cursor (searching in the pseudo triangulation)
for performance issues i would like to directly select the halfedge_handle
with the mouse cursor, is this possible?
I think therefore I would have to save the halfedge_handle with the "painted
edge", is this possible?
And is there a search function in QT which can do this?
I hope my question is quite clear ;-)
best
Pascal
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/QT-save-halfedge-with-graphic-item-tp2952406p2952406.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] QT: save halfedge with graphic item, pascal8361, 10/02/2010
Archive powered by MHonArc 2.6.16.