]> granicus.if.org Git - graphviz/commitdiff
Add comment in inPoly function
authorerg <devnull@localhost>
Tue, 9 Dec 2008 23:37:19 +0000 (23:37 +0000)
committererg <devnull@localhost>
Tue, 9 Dec 2008 23:37:19 +0000 (23:37 +0000)
lib/neatogen/poly.c

index 6d5889231e9d25fcb7f35dc0969cf563e96450de..31a298f928880865cec781cf62eb56af89e67bd2 100644 (file)
@@ -422,6 +422,10 @@ static int edgesIntersect(Point * P, Point * Q, int n, int m)
 
 }
 
+/* inPoly:
+ * Return 1 if q is inside polygon vertex[]
+ * Assume points are in CCW order
+ */
 static int inPoly(Point vertex[], int n, Point q)
 {
     int i, i1;                 /* point index; i1 = i-1 mod n */