Esempio n. 1
0
        // Token: 0x06000093 RID: 147 RVA: 0x00003A04 File Offset: 0x00001C04
        public static Vector3 ClosestPointTo(this Line3 line3, Ray3 ray3)
        {
            DistanceLine3Ray3 distanceLine3Ray = new DistanceLine3Ray3(line3, ray3);

            return(distanceLine3Ray.ClosestPointOnLine);
        }
Esempio n. 2
0
        // Token: 0x06000094 RID: 148 RVA: 0x00003A24 File Offset: 0x00001C24
        public static Segment3 ShortestSegmentTo(this Line3 line3, Ray3 ray3)
        {
            DistanceLine3Ray3 distanceLine3Ray = new DistanceLine3Ray3(line3, ray3);

            return(new Segment3(distanceLine3Ray.ClosestPointOnLine, distanceLine3Ray.ClosestPointOnRay));
        }
Esempio n. 3
0
        // Token: 0x06000092 RID: 146 RVA: 0x000039E4 File Offset: 0x00001BE4
        public static double DistanceTo(this Line3 line3, Ray3 ray3)
        {
            DistanceLine3Ray3 distanceLine3Ray = new DistanceLine3Ray3(line3, ray3);

            return(distanceLine3Ray.Distance);
        }