trnslator.trnsys.closest_coords

trnslator.trnsys.closest_coords(surfList, to=[0, 0, 0])[source]

Find closest coordinates to given ones

Parameters
  • surfList (idf_MSequence) – list of surfaces with coordinates of each one.

  • to (list) – list of coordinates we want to calculate the distance from.

Returns

the closest point (its coordinates x, y, z) to the point chosen (input “to”)