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); }
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); }