getAngleDiff method

double getAngleDiff (PolarCoord updatePolar)

Implementation

double getAngleDiff(PolarCoord updatePolar){
  if(start != null){
    angleDiff = updatePolar.angle - start.angle;
    if(end != null){
      angleDiff += end.angle;
    }
  }
  return angleDiff;
}