discretize (method)

discretize(self, nb_point=99)[source]

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

Parameters:
  • self (Arc1) – The Arc1 object to discretize
  • nb_point – Number of points to add to discretize the arc (Default value = ARC_NPOINT_D)
Returns:

list_point – list of complex coordinate of the points

Return type:

list

Raises:

NbPointArc1DError – nb_point must be an integer >=0

exception NbPointArc1DError[source]

Bases: Exception