build_geometry (method)

@package Methods.Machine.MagnetType12.build_geometry MagnetType12 build_geometry method @date Created on Wed Dec 17 15:54:58 2014 @copyright (C) 2014-2015 EOMYS ENGINEERING. @author pierre_b

build_geometry(self, alpha=0, delta=0, is_simplified=False)[source]

Compute the curve (Segment, Arc1) needed to plot the Magnet. The list represents a closed surface. The ending point of a curve is always the starting point of the next curve in the list

Parameters:
  • self – A MagnetType12 object
  • alpha (float) – Angle for rotation [rad]
  • delta (complex) – Complex value for translation
  • is_simplified (bool) – True to avoid line superposition
Returns:

surf_list – list of surfaces needed to draw the magnet

Return type:

list