Roma, DavidBosch Estrada, JoséSabater, JordiGómez Cama, José María2023-01-262023-01-262021-03-022329-4124https://hdl.handle.net/2445/192628Mid-resolution Infrared Astronomical Spectrograph (MIRADAS) is a near-infrared multi-object echelle spectrograph for Gran Telescopio de Canarias. It selects targets from a 5-arc min field of view using up to 12 deployable probe arms with pick-off mirror optics. The focal plane where the probe arms move has a diameter around 250 mm. The specific geometry of the probe arms requires an optimized collision detection algorithm for the determination of the target assignment and the trajectories determination. We present the general polygonal chain intersec- tion algorithm, which is used to detect the possible collisions and avoid them. It is a generali- zation of the Polygonal Chain Intersection algortihm, allowing to work with vertical segments, providing a solution for the intersection of any class of polygons. Its use has reduced the time required to detect the collisions between 3 and 4 times compared with a naive solution when used in MIRADAS.20 p.application/pdfeng(c) Society of Photo-Optical Instrumentation Engineers (SPIE), 2021MirallsRadiació infrarojaEspectroscòpia infrarojaMirrorsInfrared radiationInfrared spectroscopyCollision detection algorithm for MIRADASinfo:eu-repo/semantics/article7077202023-01-26info:eu-repo/semantics/openAccess