pyleecan.Methods.Geometry.Segment.is_on_line module

is_on_line(self, Z)[source]

Check is a point defined by its complex coordinate is on the segment

Parameters:
  • self (Segment) – A Segment object

  • Z (complex) – Complex coordinate of the point

Returns:

is_on_line – True if the point is on the segment

Return type:

bool