Re: [OctDev] signed distance of point from polygon

2012-09-11 Thread c.
On 11 Sep 2012, at 10:12, JuanPi wrote: > Please go ahead!. Can you leave the original code commented at the end > of the function? If you can't do not worry. > Thank you! OK, I committed the new version and left the old one as a comment. c. -

Re: [OctDev] signed distance of point from polygon

2012-09-11 Thread JuanPi
On Tue, Sep 11, 2012 at 8:46 AM, c. wrote: > > On 10 Sep 2012, at 13:20, JuanPi wrote: > >> On Mon, Sep 10, 2012 at 1:01 PM, c. wrote: >>> Hi, >>> >>> I need to compute the "signed distance" of a point P from a polygon Q, >>> i.e., the distance of P from the polyline including Q with a "+" sign i

Re: [OctDev] signed distance of point from polygon

2012-09-10 Thread c .
On 10 Sep 2012, at 13:20, JuanPi wrote: > On Mon, Sep 10, 2012 at 1:01 PM, c. wrote: >> Hi, >> >> I need to compute the "signed distance" of a point P from a polygon Q, >> i.e., the distance of P from the polyline including Q with a "+" sign if >> the point is inside the polygon and a "-" sign

Re: [OctDev] signed distance of point from polygon

2012-09-10 Thread c.
On 10 Sep 2012, at 13:20, JuanPi wrote: > On Mon, Sep 10, 2012 at 1:01 PM, c. wrote: >> Hi, >> >> I need to compute the "signed distance" of a point P from a polygon Q, >> i.e., the distance of P from the polyline including Q with a "+" sign if >> the point is inside the polygon and a "-" sign

Re: [OctDev] signed distance of point from polygon

2012-09-10 Thread JuanPi
On Mon, Sep 10, 2012 at 1:01 PM, c. wrote: > Hi, > > I need to compute the "signed distance" of a point P from a polygon Q, > i.e., the distance of P from the polyline including Q with a "+" sign if > the point is inside the polygon and a "-" sign if it is outside. > > I see "distancePointPolygon"

Re: [OctDev] signed distance of point from polygon

2012-09-10 Thread c.
On 10 Sep 2012, at 13:01, c. wrote: > Hi, > > I need to compute the "signed distance" of a point P from a polygon Q, > i.e., the distance of P from the polyline including Q with a "+" sign if > the point is inside the polygon and a "-" sign if it is outside. > > I see "distancePointPolygon" in

[OctDev] signed distance of point from polygon

2012-09-10 Thread c.
Hi, I need to compute the "signed distance" of a point P from a polygon Q, i.e., the distance of P from the polyline including Q with a "+" sign if the point is inside the polygon and a "-" sign if it is outside. I see "distancePointPolygon" in the geometry package computes the distance but alway