Python | Sympy Ellipse.rotate() method
rotate()is used to rotate the ellipse counterclockwise about the given point by the given angle.
Syntax: Ellipse.rotate(angle=0, pt=None) Parameters: angle: in radian pt: point about which ellipse is rotated in counterclockwise. Returns: rotated ellipse
Ellipse(Point2D(0, 1), 1, 2)
Ellipse(Point2D(3, 2), 1, 2)
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course