Subject: CGAL users discussion list
List archive
- From: Corbie <>
- To:
- Subject: Re: [cgal-discuss] CDTP mesh - getting all edges
- Date: Thu, 5 May 2016 07:00:09 -0700 (PDT)
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Neutral ; spf=None
- Ironport-phdr: 9a23:8F7w9xRx77LRyzvgJrMLvVTSetpsv+yvbD5Q0YIujvd0So/mwa64ZxaN2/xhgRfzUJnB7Loc0qyN4/GmATBLvs3JmUtBWaIPfidNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3BPAZ4bt74BpTVx5zukbviqtuLP04X33KUWvBbElaflU3prM4YgI9veO4a6yDihT92QdlQ3n5iPlmJnhzxtY+a9Z9n9DlM6bp6r5YTGfayQ6NtRrNRCHEqMns++dbwnRjFVwqGoHUGAUsMlR8dKA/f5hD3FsP6tTHwt+dV3SCbOcfxXfYzQzv0vPQjcwPhlCpSb21xy2rQkMEl1K8=
Hi Sebastien,
this has worked out quite well, using this code:
for(CDT::Finite_edges_iterator fit = p_cdtp.finite_edges_begin();
fit != p_cdtp.finite_edges_end(); ++fit)
{
Point_2 p1 = fit->first->vertex(CDTP::cw(fit->second))->point();
Point_2 p2 = fit->first->vertex(CDTP::ccw(fit->second))->point();
// drawing here
}
Unfortunately now also draws lines, that are out of the constraint borders.
Is there a (simple) method to check, if an edge is inside the constraint
borders?
Kind regards,
Corbie
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/CDTP-mesh-getting-all-edges-tp4661883p4661890.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] CDTP mesh - getting all edges, Corbie, 05/03/2016
- Re: [cgal-discuss] CDTP mesh - getting all edges, Sebastien Loriot (GeometryFactory), 05/04/2016
- Re: [cgal-discuss] CDTP mesh - getting all edges, Corbie, 05/05/2016
- Re: [cgal-discuss] CDTP mesh - getting all edges, Corbie, 05/05/2016
- Re: [cgal-discuss] CDTP mesh - getting all edges, Sebastien Loriot (GeometryFactory), 05/10/2016
- Re: [cgal-discuss] CDTP mesh - getting all edges, Corbie, 05/05/2016
- Re: [cgal-discuss] CDTP mesh - getting all edges, Corbie, 05/05/2016
- Re: [cgal-discuss] CDTP mesh - getting all edges, Sebastien Loriot (GeometryFactory), 05/04/2016
Archive powered by MHonArc 2.6.18.