private List <SimulationObjectProxy> FindObstructions(Vec3D sensorPoint, Vec3D emitterPoint) { List <SimulationObjectProxy> obstructionList = new List <SimulationObjectProxy>(); //SimulationObjectProxy blocker; foreach (KeyValuePair <string, StateDB.ActiveRegion> br in obstructions) { if (Polygon3D.SensorDoesLineCross(br.Value.poly, sensorPoint, emitterPoint)) { obstructionList.Add(objectProxies[br.Key]); } } return(obstructionList); }