rc_intersect() computes intersection between r1 and r2. r2 is filled with the intersection and the function returns 1 if the intersection exists. This function is defined in GEMLIB or PCGMXLIB but not in WINDOM library.