thought i could just do line intersection, but no, this doesn't catch the lines inside the polygon entirely
-
-
Als antwoord op @AurenSnyder
@whatisian ...and if there's no line segment collisions at all, then i feel like it'd be easy to test if the entire line is inside the shape1 antwoord 0 retweets 0 vind-ik-leuks -
Als antwoord op @theBanov
@theBanov@whatisian Yeah, just see if either point is inside. Actually you could check both points before checking lines if that's faster.1 antwoord 0 retweets 0 vind-ik-leuks -
Als antwoord op @BunchesOfBees
@SeeBeeWhitman
@theBanov well, since both points always occur on the polygon's perimeter, this doesn't quite work3 antwoorden 0 retweets 0 vind-ik-leuks
Als antwoord op @AurenSnyder
@whatisian @SeeBeeWhitman right right gahh hmm. I would check for collision (my 1st answer), if no collision then check midpoint.
17:06 - 29 jun. 2014
0 antwoorden
0 retweets
1 vind-ik-leuk
Het laden lijkt wat langer te duren.
Twitter is mogelijk overbelast of ondervindt een tijdelijke onderbreking. Probeer het opnieuw of bekijk de Twitter-status voor meer informatie.