Morteza Romoozi wrote:

> do u know how we can calculate area of cell in a voronoi groph?

> we have a voronoi groph and wana calculate area of each cell

I assume you know the segments/points that bound each Voronoi cell. Each

bounded cell is a polygon, so you could construct a Polygon_2 of each cell

and call its area() function to obtain the area.

See:

<

http://www.cgal.org/Manual/3.3.1/doc_html/cgal_manual/Polygon_ref/Class_Polygon_2.html>

~ash

--

You are currently subscribed to cgal-discuss.

To unsubscribe or access the archives, go to

https://lists-sop.inria.fr/wws/info/cgal-discuss