Ejemplo n.º 1
0
        //度分秒转弧度
        public static double DMS2ARC(AngleDMS DMS)
        {
            AngleDEC TempDEC = new AngleDEC();
            AngleARC Result  = new AngleARC();

            TempDEC.DEC = DMS2DEC(DMS);
            Result.ARC  = DEC2ARC(TempDEC);
            return(Result.ARC);
        }
Ejemplo n.º 2
0
 //十进制转弧度
 public static double DEC2ARC(AngleDEC DEC)
 {
     return(DEC.DEC * Math.PI / 180);
 }