added intersectsCone method