title: Vertical Curve Formula
body: <p>I'm making just a basic application that just writes pixels along a curve in C#.</p>
  
  <p>I came across <a href="http://www.sd-w.com/civil/vertical_curves.html" rel="nofollow">this website with a formula that looks promising</a>. I believe this website is also talking about the same thing <a href="http://street.umn.edu/Road/javahelp/HTML/Vertical_Curve_Calculation.htm" rel="nofollow">here</a>.</p>
  
  <p>What I don't really understand is how to implement it. I tried looking at the JavaScript code on <a href="http://www.sd-w.com/civil/vertical_curves.html" rel="nofollow">the first link</a> but I can't really tell what data I need to supply. The things involving the PVC, PVI, or PVT are the things I don't understand.</p>
  
  <p>The example situation I'm going to set up is just both of the grades (vertical incline/decline) is just 5 and -5. Let's say point 1 is at 0, 0 and point 2 is 100, 100.</p>
  
  <p>Can someone explain some of the obscure variables in the formula and how would I use the formula to draw the curve?</p>