/// <summary> /// Rotate segment around point 'p' as a rotation center /// </summary> public virtual Segment3d Rotate(Rotation r, Point3d p) { return(new Segment3d(P1.Rotate(r, p), P2.Rotate(r, p))); }