Detection of special curves via the double resultant