From: ImageAnalyst <>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Ranking points in the plane
Date: Thu, 4 Nov 2010 08:26:28 -0700 (PDT)
Lines: 6
Message-ID: <>
References: <iauah3$6kf$> <>
 <> <iauepv$cbs$>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: 1288884388 18543 (4 Nov 2010 15:26:28 GMT)
NNTP-Posting-Date: Thu, 4 Nov 2010 15:26:28 +0000 (UTC)
Injection-Info:; posting-host=; posting-account=0rLUzAkAAABojYSRC64DkTbtiSCX77HH
User-Agent: G2/1.0
X-HTTP-Via: 1.1 bdci2px (NetCache NetApp/6.0.7)
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
 Gecko/20101026 Firefox/3.6.12,gzip(gfe)
Xref: comp.soft-sys.matlab:683893

It looks like these are (x,y,z) triplets.  It looks like x is constant
so that your points are in the y-z plane located at x=0.5.  So just do
this: "Follow Walter's suggestions" so that you get the vertices going
around in one direction, for example clockwise.  Then when you plot
the quad, you won't have any crossing ("diagonals") because you're
going around it in one direction (e.g. clockwise).