// Token: 0x06002AA8 RID: 10920 RVA: 0x000A4A28 File Offset: 0x000A2C28 public static float?smethod_2(PointF p, RectangleF rec) { PointF end = rec.smethod_7(); Class477.Struct48 ab = new Class477.Struct48(p, end); PointF? pointF = null; if (p.Y <= rec.Top) { pointF = Class477.smethod_3(ab, rec); if (pointF == null) { if (p.X < rec.Left) { pointF = Class477.smethod_4(ab, rec); } else { pointF = Class477.smethod_5(ab, rec); } } } else if (p.Y >= rec.Bottom) { pointF = Class477.smethod_6(ab, rec); if (pointF == null) { if (p.X < rec.Left) { pointF = Class477.smethod_4(ab, rec); } else { pointF = Class477.smethod_5(ab, rec); } } } else if (p.X <= rec.Left) { pointF = Class477.smethod_4(ab, rec); } else { if (p.X < rec.Right) { return(null); } pointF = Class477.smethod_5(ab, rec); } if (pointF == null) { return(null); } return(new float?(Class477.smethod_9(p, pointF.Value))); }
public static double smethod_10(double sideA, double sideB, double angleB) { return(Class477.smethod_12(Math.Asin(sideA * Math.Sin(Class477.smethod_11(angleB)) / sideB))); }
private static PointF?smethod_6(Class477.Struct48 AB, RectangleF rec) { return(Class477.smethod_7(AB, new Class477.Struct48(rec.smethod_12(), rec.smethod_13()))); }