// Find all intersections of ray with agents.
for (int agentID : agents) {
p = this.getAgentShapeInEnvironment(agentID);
if (this.isTouchable(ray, p.getBoundingBox())) {
schnittpunkte.put(this.getAgent(agentID), p.intersectAll(ray));
}
}
double minDistance = Double.MAX_VALUE;
Vector2D minVector = null;