Coordinate#
- class ansys.motorcad.core.geometry.Coordinate(x, y)#
Provides the Python representation of a coordinate in two-dimensional space.
Methods
Coordinate.from_polar_coords
(radius, theta)Create Coordinate from polar coordinates.
Get coordinates as polar coordinates in degrees.
Coordinate.mirror
(mirror_line)Mirror Coordinate about a line entity.
Coordinate.rotate
(centre_point, angle)Rotate Coordinate around a point for a given angle.
Coordinate.translate
(x, y)Translate Coordinate by specified x,y distances.