// Token: 0x06000025 RID: 37 RVA: 0x00002710 File Offset: 0x00000910 public static double DistanceTo(this Arc3 arc3, Segment3 segment3) { Line3 line = new Line3(segment3.NegativeEnd, segment3.Direction); DistanceLine3Arc3 distanceLine3Arc = new DistanceLine3Arc3(line, arc3); if (distanceLine3Arc.LineParameter < 0.0) { return(arc3.DistanceTo(segment3.NegativeEnd)); } Line3 line2 = new Line3(segment3.PositiveEnd, -segment3.Direction); DistanceLine3Arc3 distanceLine3Arc2 = new DistanceLine3Arc3(line2, arc3); if (distanceLine3Arc2.LineParameter < 0.0) { return(arc3.DistanceTo(segment3.PositiveEnd)); } return(distanceLine3Arc2.Distance); }
// Token: 0x060001A3 RID: 419 RVA: 0x00007A9D File Offset: 0x00005C9D public static double DistanceTo(this Segment3 segment3, Arc3 arc3) { return(arc3.DistanceTo(segment3)); }