Entity#
- class ansys.motorcad.core.geometry.Entity(start, end)#
Generic parent class for geometric entities based upon a start and end coordinate.
- Parameters:
- start
Coordinate
Start coordinate.
- end
Coordinate
End coordinate.
- start
Methods
Entity.get_intersection
(entity)Get intersection Coordinate of entity with another entity.
Entity.mirror
(mirror_line)Mirror entity about a line.
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.