hasIndex() 공개 메소드

public hasIndex ( int i ) : bool
i int
리턴 bool
예제 #1
0
        public bool sharesEdge(CTri t)
        {
            bool ret   = false;
            uint count = 0;

            if (t.hasIndex(mI1))
            {
                count++;
            }
            if (t.hasIndex(mI2))
            {
                count++;
            }
            if (t.hasIndex(mI3))
            {
                count++;
            }

            if (count >= 2)
            {
                ret = true;
            }

            return(ret);
        }
예제 #2
0
        public bool sharesEdge(CTri t)
        {
            bool ret = false;
            uint count = 0;

            if (t.hasIndex(mI1))
                count++;
            if (t.hasIndex(mI2))
                count++;
            if (t.hasIndex(mI3))
                count++;

            if (count >= 2)
                ret = true;

            return ret;
        }