xsl-list
[Top] [All Lists]

Re: sorting by comparing two nodes

2005-12-21 10:05:21

Yes, that's the point. 

but aside from the fact that the syntax doesn't allow it, if the
comparison function for two points is not transitive, the answer isn't
well specified (what does it mean to sort in that case?)

But computing angles is based on slow inaccurate trigonometric functions.

You only need to do one division don't you? That gives the tangent
which is enough once you know which quadrant you are in. You don't need
arctan if you only need to order.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--