Example #1
0
 // Token: 0x06000172 RID: 370 RVA: 0x000072C1 File Offset: 0x000054C1
 public static double DistanceTo(this Rectangle3 rectangle, Segment3 segment)
 {
     return(segment.DistanceTo(rectangle));
 }
Example #2
0
 // Token: 0x060001E9 RID: 489 RVA: 0x00008CF9 File Offset: 0x00006EF9
 public static double DistanceTo(this Triangle3 triangle3, Segment3 segment3)
 {
     return(segment3.DistanceTo(triangle3));
 }
Example #3
0
 // Token: 0x06000030 RID: 48 RVA: 0x000029C9 File Offset: 0x00000BC9
 public static double DistanceTo(this Box3 box3, Segment3 segment)
 {
     return(segment.DistanceTo(box3));
 }
Example #4
0
        // Token: 0x0600000A RID: 10 RVA: 0x000021BC File Offset: 0x000003BC
        public static double DistanceTo(this AxisAlignedBox3 axisAlignedBox3, Segment3 segment)
        {
            Box3 box = new Box3(axisAlignedBox3.Center, UnitVector3.UnitX, UnitVector3.UnitY, UnitVector3.UnitZ, axisAlignedBox3.ExtentX, axisAlignedBox3.ExtentY, axisAlignedBox3.ExtentZ);

            return(segment.DistanceTo(box));
        }