Exemple #1
0
 private static double NormalizeAngle(double angel)
 {
     if (SurveyDoubleUtils.Sign(angel) < 0)
     {
         angel += 2 * System.Math.PI;
     }
     return(angel * 180 / System.Math.PI);
 }
Exemple #2
0
 public bool Equals(SurveyPoint other)
 {
     if (other != null)
     {
         return(SurveyDoubleUtils.Equals(Mx, other.Mx) &&
                SurveyDoubleUtils.Equals(My, other.My) &&
                SurveyDoubleUtils.Equals(Mz, other.Mz));
     }
     return(false);
 }