build_geometry (method)

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

Compute the curve (Line) 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

  • self (MagnetType10) – A MagnetType10 object

  • alpha (float) – Angle for rotation [rad]

  • delta (complex) – Complex value for translation

  • is_simplified (bool) – True to avoid line superposition


surf_list – list of surfaces needed to draw the magnet

Return type