[postgis-devel] alignment issues

Mark Cave-Ayland m.cave-ayland at webbased.co.uk
Thu Feb 10 07:56:22 PST 2005


Hi strk,

> -----Original Message-----
> From: postgis-devel-bounces at postgis.refractions.net 
> [mailto:postgis-devel-bounces at postgis.refractions.net] On 
> Behalf Of strk at refractions.net
> Sent: 10 February 2005 14:13
> To: 'PostGIS Development Discussion'
> Subject: Re: [postgis-devel] alignment issues

(cut)
 
> > I haven't had much experience with alignment issues, however this 
> > looks like the easiest solution to me (e.g. you can declare 
> a single 
> > POINT2D in your function and then reuse it for the entire set of 
> > POINT2Ds referenced within). I also noticed in the source that the 
> > functions to do this already exist, for example getPoint2d_p....
> 
> Yes, but they are cheating, they call getPoint() internally 
> ... --strk;

Really? Looking at RC2 I can't see any reference to getPoint() in
getPoint2d_p(), plus the code looks fairly similar to getPoint() just below
it...? Is this done in pointArray_ptsize() or in the serialized_pointlist[]
array?


Kind regards,

Mark.

------------------------
WebBased Ltd
South West Technology Centre
Tamar Science Park
Plymouth
PL6 8BT 

T: +44 (0)1752 791021
F: +44 (0)1752 791023
W: http://www.webbased.co.uk





More information about the postgis-devel mailing list