Subject: CGAL users discussion list
List archive
- From:
- To:
- Subject: Re: [cgal-discuss] basic question about Point_2
- Date: Wed, 24 Oct 2007 13:52:42 +0200
Andreas Fabri wrote:
wrote:
what is the ifference between x and hx in Point_2? I mean if my point is Point_2 p(2, 4.5)
what are the values:
p.x(), p.y(), p.hx(), p.hy(), p.w()??
Thanks,
For Point_2<Cartesian> x and hx are the same, the same for y and hy,
and hw equals always 1.
For Point_2<Homogeneous> applied to your example gives
hx = 4
hy = 9
hw = 9
Andreas meant
hx = 4
hy = 9
hw = 2
and x = hx/hw
y = hy/hw
andreas
- basic question about Point_2, nt_mahmood, 10/24/2007
- Re: [cgal-discuss] basic question about Point_2, Andreas Fabri, 10/24/2007
- Re: [cgal-discuss] basic question about Point_2, Monique . Teillaud, 10/24/2007
- Re: [cgal-discuss] basic question about Point_2, Andreas Fabri, 10/24/2007
Archive powered by MHonArc 2.6.16.