pyleecan.Methods.Geometry.Segment.discretize module

discretize(self, nb_point=1)[source]

Return the discretize version of the Segment. Begin and end are always returned

Parameters:
  • self (Segment) – A Segment object

  • nb_point (int) – Number of points to add to discretize the line (Default value = LINE_NPOINT_D)

Returns:

list_point – List of complex coordinate of the points

Return type:

list

Raises:

NbPointSegmentDError – nb_point must be an integer >=