Coordinate#

class ansys.motorcad.core.geometry.Coordinate(x, y)#

Python representation of coordinate in two-dimensional space.

Parameters:
xfloat

X value.

yfloat

Y value.

Methods

Coordinate.from_polar_coords(radius, theta)

Create Coordinate from polar coordinates.

Coordinate.get_polar_coords_deg()

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.