discretize (method)

discretize(self, nb_point=99)[source]

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

Parameters
  • self (Arc2) – An Arc2 object

  • nb_point (int) – 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

NbPointArc2DError – nb_point must be an integer >=0

exception NbPointArc2DError[source]

Bases: Exception