Пример #1
0
        public static double Orient3d_exact(Point pa, Point pb, Point pc, Point point)
        {
            double num   = pa.X - point.X;
            double num2  = pb.X - point.X;
            double num3  = pc.X - point.X;
            double num4  = pa.Y - point.Y;
            double num5  = pb.Y - point.Y;
            double num6  = pc.Y - point.Y;
            double num7  = pa.Z - point.Z;
            double num8  = pb.Z - point.Z;
            double num9  = pc.Z - point.Z;
            double num10 = num2 * num6;
            double num11 = num3 * num5;
            double num12 = num3 * num4;
            double num13 = num * num6;
            double num14 = num * num5;
            double num15 = num2 * num4;
            double num16 = num7 * (num10 - num11) + num8 * (num12 - num13) + num9 * (num14 - num15);
            double num17 = (Math.Abs(num10) + Math.Abs(num11)) * Math.Abs(num7) + (Math.Abs(num12) + Math.Abs(num13)) * Math.Abs(num8) + (Math.Abs(num14) + Math.Abs(num15)) * Math.Abs(num9);
            double num18 = Class20.double_6 * num17;

            if (num16 <= num18 && -num16 <= num18)
            {
                return(Class19.smethod_3(pa, pb, pc, point));
            }
            return(num16);
        }
Пример #2
0
 // Token: 0x060000EE RID: 238 RVA: 0x00003415 File Offset: 0x00001615
 public int method_5(int int_0)
 {
     return(Class19.smethod_3(this.method_1(Class19.smethod_2(int_0))));
 }