Search found 2 matches

by zool007
Fri Jul 19, 2013 4:16 pm
Forum: Volume 108 (10800-10899)
Topic: 10867 - Cutting a Polygon
Replies: 1
Views: 1917

10867 - Cutting a Polygon

help I get WA many times. what my code does is get all intersections of the line and the polygon. then sort the intersections by x. for every consecutive point, I check whether the midpoint of the line formed by the consecutive points is inside the polygon or in the perimeter of the polygon. if it i...
by zool007
Thu Nov 22, 2012 9:08 am
Forum: Volume 12 (1200-1299)
Topic: 1249 - Euclid
Replies: 5
Views: 2434

Re: 1249 - Euclid

help this is my code I don't know why I always get WA. my code gets the same output as yours

Go to advanced search