 == b-&gt;x &amp;&amp; a-&gt;y == b-&gt;y;<br />}<br /><br />int<br />distance2d(Point2d p0, Point2d p1)<br />{<br />	double a = p0.x - p1.x, b = p0.x - p1.x;<br />	return sqrt(a * a + b * b);<br />}<br /><br />int<br />collinear2d(Point2d a, Point2d b, Point2d c)<br />{<br />	return (b.y - a.y) * (c.x - b.x) - (c.y - b.y) * (b.x - a.x);<br />}<br /></pre>

<ul></ul></main>
<footer>
	<a href="uxn.html"><img src="../media/icon/uxn.png" alt="Uxn Powered"/></a> 
	<a href="ethics.html"><img src="../media/icon/3