Exemple #1
0
        private CLinesect method_4(double dNum)
        {
            CVeObj cVeObj      = new CVeObj(new GPoint(0.0, 0.0), this.GetFirstPt());
            CVeObj cVeObj2     = new CVeObj(new GPoint(0.0, 0.0), this.GetSecondPt());
            CVeObj angleUnitVe = CVeObj.GetAngleUnitVe(this.GetAngle() + 90.0);

            cVeObj  += angleUnitVe.GetVeNumProduct(dNum);
            cVeObj2 += angleUnitVe.GetVeNumProduct(dNum);
            return(new CLinesect(cVeObj.X, cVeObj.Y, cVeObj2.X, cVeObj2.Y));
        }