Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] print_polygon

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] print_polygon


Chronological Thread 
  • From: Efi Fogel <>
  • To:
  • Subject: Re: [cgal-discuss] print_polygon
  • Date: Sun, 02 Sep 2007 12:00:33 +0200


wrote:
Hi,

I'm just start to investigate CGAL library and looking for direct access way
to x/y coordinate container in 2D polygon.

In <CGAL_DIR>/examples/Boolean_set_operations_2/print_utils.h, print_polygon
give the way to print out x/y coordinate. But it only give in-direct way to print
out x/y coordinate. Can anyone give a suggestion of direct access way to x/y
coordinate container in 2D polygon.
Off-cource, example is very welcome.

Kenji
p.x() and p.y() return the Cartesian /x/-coordinate and the Cartesian y-coordinate of a point p respectively.
p.hx(), p.hy(), and p.hw() return the homogeneous /x/-coordinate, the homogeneous y-coordinate, and the homogenizing coordinate respectively. //

--
____ _ ____ _
/_____/_) o /__________ __ //
(____ ( ( ( (_/ (_/-(-'_(/
_/




Archive powered by MHonArc 2.6.16.

Top of Page