Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Simplify the Segment Voronoi Lines

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Simplify the Segment Voronoi Lines


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Simplify the Segment Voronoi Lines
  • Date: Wed, 10 Apr 2013 22:32:32 +0200
  • Organization: GeometryFactory

I think your problem is not easy to solve as long as you don't choose
a criteria for the subgraph to be kept (otherwise the solution is not
unique).
For example, a criteria could be to extract the longest subgraph with
only node with
valence 2.

I suggest to have a look to classical graph algorithms (like those
implemented in BGL)
to see if one fits your criteria.

Sebastien.


On 04/09/2013 06:49 PM, Xi Cheng wrote:
> Dear all CGAL members ,
>
> I'm using CGAL Segment_Delaunay_Graph for getting the sketch lines and
> central point of polygons. Here are resuls:
>
> 内嵌图片 1
>
> Then, in my second step, i'd like to simplify those voronoi lines into
> only the main lines ( the line could present the shape of polygon in
> most great measure, it commonly would be the lines has longest length ).
> It would like the red lines below:
> 内嵌图片 2
>
> So, i need to filter out some outsider curves, but i'm not familiar with
> the algorithms of Segment_Delaunay_Graph. Any suggestion and reference
> would be sincerely appreciate .
>
> Best,
> Xi




Archive powered by MHonArc 2.6.18.

Top of Page