Integration of gauss map, osculating toroidal patches, loop detection and C2 judgement to figure out the singular or loop intersection.
 
 

3 lines
32 B

123rrt
uyttt8i8 fg ,,
fds 546 lk