check the script attached to your sick 300 model: it contains everything you need to know. The sensor is composed by two vision sensors. Those are read in the sensing section (sim.readVisionSensor) and the data is computed for absolute coordinates. Then those points are used to draw the red lines you see when you run the simulation.