build_geometry (method)

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