in3Utils.geoTrans.checkParticlesInRelease

checkParticlesInRelease(particles, line, radius)[source]

remove particles laying outside the polygon

Parameters
  • particles (dict) – particles dictionary

  • line (dict) – line dictionary

  • radius (float) – threshold val that decides if a point is in the polygon, on the line or very close but outside

Returns

particles – particles dictionary where particles outside of the polygon have been removed

Return type

dict