find_entity_from_coordinates#

Region.find_entity_from_coordinates(coordinate_1, coordinate_2)#

Search through region to find an entity with start and end coordinates.

Order of coordinates does not matter.

Parameters:
coordinate_1: ansys.motorcad.core.geometry.Coordinate
coordinate_2: ansys.motorcad.core.geometry.Coordinate
Returns:
Line or Arc entity