Subject: CGAL users discussion list
List archive
- From: "Antonino Mistretta" <>
- To:
- Subject: Re: [cgal-discuss] Polygon skeleton
- Date: Mon, 7 Apr 2008 16:20:54 +0200
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QKpAf0jRqeCW8B8OvzUBLjDCAh8hPOUJBC53jWzVMmAl1mDfZC1zGzKPYdrUQamxPEdr5JmaKHBdn/6RSnRaUchMmM48oo/VztvcEPnJLWyZTUtfyhu8F7CjT03c0caNqc5xcfMovEFczqYVfpGm99Lo1CCZYKdEF69JRdFYtZc=
I've another questions:
- how can I obtains a skeleton graph?
2008/4/7, Antonino Mistretta
<>:
> Dear CGAL user,
>
> I've obtained skeleton vertex, in follow manner:
>
> // forall vertex in straight_skeleton
> for(Base::Vertex_iterator it = (*skeleton).vertices_begin (); it !=
> (*skeleton).vertices_end (); ++ it)
> {
> //is a skeleton point??
> if ( it->is_skeleton() )
> {
> outX.push_back(it->point().x());
> outY.push_back(it->point().y());
> }
> }
>
>
> I've another questions:
> - How can I improve performance?
> - How can I obtain fewer skeleton point?
>
> In attachment you find a example polygon skeleton?
>
> Thanks
> AM
>
> 2008/4/4, Antonino Mistretta
> <>:
>
> > > A function called is_bisector() sounds and is a function
> > > returning a boolean value, not a vertex.
> >
> >
> > yes, but it returns true if it point to a vertex that is a skeleton
> > vertex(manual):
> >
> > bool h.is_bisector () Returns true iff this is a bisector (or
> > skeleton) halfedge (i.e. is not a contour halfedge).
> >
>
>
>
> --
> AM
>
>
--
AM
- Polygon skeleton, mistrett, 04/04/2008
- Re: [cgal-discuss] Polygon skeleton, Fernando Cacciola, 04/04/2008
- Re: [cgal-discuss] Polygon skeleton, Antonino Mistretta, 04/04/2008
- Re: [cgal-discuss] Polygon skeleton, Andreas Fabri, 04/04/2008
- Re: [cgal-discuss] Polygon skeleton, Antonino Mistretta, 04/04/2008
- Re: [cgal-discuss] Polygon skeleton, Andreas Fabri, 04/04/2008
- Re: [cgal-discuss] Polygon skeleton, Antonino Mistretta, 04/04/2008
- Re: [cgal-discuss] Polygon skeleton, Antonino Mistretta, 04/07/2008
- Re: [cgal-discuss] Polygon skeleton, Antonino Mistretta, 04/07/2008
- Re: [cgal-discuss] Polygon skeleton, Antonino Mistretta, 04/04/2008
- Re: [cgal-discuss] Polygon skeleton, Andreas Fabri, 04/04/2008
- Re: [cgal-discuss] Polygon skeleton, Antonino Mistretta, 04/04/2008
- Re: [cgal-discuss] Polygon skeleton, Andreas Fabri, 04/04/2008
- Re: [cgal-discuss] Polygon skeleton, Antonino Mistretta, 04/04/2008
- Re: [cgal-discuss] Polygon skeleton, Fernando Cacciola, 04/04/2008
Archive powered by MHonArc 2.6.16.