title: Equation for a line passing a point by angle of T and extending a certain length
body: <p>How can I get the start and end points of a <code>Line</code> that its center is at <code>Point(x,y)</code> and has an angle of <code>T</code> to x-axis? The length of the Line is 2*L.</p>
  
  <p><img src="https://i.stack.imgur.com/h79Bw.png" alt="enter image description here"></p>