Пример #1
0
        public ILine3 RotateY(IVector3 rotationPt, double angleRad)
        {
            ILine3 lineRot = new Line3();

            lineRot.Point1 = Point1.RotateY(rotationPt, angleRad);
            lineRot.Point2 = Point2.RotateY(rotationPt, angleRad);
            lineRot.Col    = Col;
            return(lineRot);
        }
Пример #2
0
        public Line RotateY(Vector3 rotationPt, double angleRad)
        {
            Line lineRot = new Line();

            lineRot.Point1 = Point1.RotateY(rotationPt, angleRad);
            lineRot.Point2 = Point2.RotateY(rotationPt, angleRad);
            lineRot.Col    = Col;
            return(lineRot);
        }