title: Split a line into multiple equal parts
body: <p>I need to split a line into multiple equal parts (so each part can be individually colour coded). I have a couple of questions :</p>
  
  <p>1) Has anyone come across c# code to do this already?</p>
  
  <p>2) Am I right in assuming that I can use normal 'flat' trigonometry to work out where to split the line? I'm going to assume all the lines have an altitude of 0.</p>