Esempio n. 1
0
        //point of intersection
        public void GetPI(IPoint PI)
        {
            StraightLine TangFrom = new StraightLine();

            GetTangFrom(TangFrom);
            StraightLine TangTo = new StraightLine();

            GetTangTo(TangTo);

            StraightLine.GetPointIntersection(TangFrom, TangTo, PI);
        }
Esempio n. 2
0
        //Center Point
        public void GetCenterPT(IPoint ptCenter)
        {
            //debug zli
            if (lCurveID == 27)
            {
                //int i = 0;
            }
            StraightLine rFrom = new StraightLine();
            StraightLine rTo   = new StraightLine();

            get_RFrom(rFrom);
            get_RTo(rTo);

            StraightLine.GetPointIntersection(rFrom, rTo, ptCenter);
        }