discretize (method)

@package Methods.Geometry.Arc2.discretize Discretize an Arc2 method @date Created on Mon Dec 08 13:27:33 2014 @copyright (C) 2014-2015 EOMYS ENGINEERING. @author pierre_b

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