discretize (method)

@package Methods.Geometry.Arc1.discretize Discretize an Arc1 method @date Created on Fri Dec 05 14:22:01 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 (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