home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-

New Paste :: Recent Pastes:: No Line Numbers

border algorithm by eddeighton

eddeighton's current picture:

///un optimised but basically computes an expanded border for a 2d polygon - only works for small width however

//attached images shows working for basic polygon

//but as width is increased border crosses over itself

void getBorder(vector<Point3>& points,vector<Point3>& brd)