Example #1
0
        public ILine3 RotateX(IVector3 rotationPt, double angleRad)
        {
            ILine3 lineRot = new Line3();

            lineRot.Point1 = Point1.RotateX(rotationPt, angleRad);
            lineRot.Point2 = Point2.RotateX(rotationPt, angleRad);
            lineRot.Col    = Col;
            return(lineRot);
        }
Example #2
0
        public Line RotateX(Vector3 rotationPt, double angleRad)
        {
            Line lineRot = new Line();

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