Entity#

class ansys.motorcad.core.geometry.Entity(start, end)#

Generic parent class for geometric entities based upon a start and end coordinate.

Parameters:
startCoordinate

Start coordinate.

endCoordinate

End coordinate.

Methods

Entity.mirror(mirror_line)

Mirror entity about a line.

Entity.reverse()

Reverse Entity class.

Entity.rotate(centre_point, angle)

Rotate entity around a point for a given angle.

Entity.translate(x, y)

Translate Entity by specified x,y distances.