Ejemplo n.º 1
0
        // Token: 0x06000262 RID: 610 RVA: 0x0000A42C File Offset: 0x0000862C
        public static ICollection <Vector2> IntersectionPointsWith(this Arc2 arc, Arc2 other)
        {
            IntersectionArc2Arc2 intersectionArc2Arc = new IntersectionArc2Arc2(arc, other);

            intersectionArc2Arc.Find();
            List <Vector2> list = new List <Vector2>();

            Vector2[] array = new Vector2[]
            {
                intersectionArc2Arc.Point0,
                intersectionArc2Arc.Point1
            };
            for (int i = 0; i < intersectionArc2Arc.Quantity; i++)
            {
                list.Add(array[i]);
            }
            return(list);
        }
Ejemplo n.º 2
0
        // Token: 0x06000261 RID: 609 RVA: 0x0000A40C File Offset: 0x0000860C
        public static bool Intersects(this Arc2 arc, Arc2 other)
        {
            IntersectionArc2Arc2 intersectionArc2Arc = new IntersectionArc2Arc2(arc, other);

            return(intersectionArc2Arc.Find());
        }