/* 3293 */ sqDist = Distance.pointToSegment(pt, origin, end, iPnt, null);
/* */ }
/* */ else {
/* 3296 */ sqDist = Distance.pointToRay(pt, origin, direction, iPnt, null);
/* */ }
/* 3298 */ originToIpnt.sub(iPnt, origin);
/* 3299 */ double distance = originToIpnt.length();
/* 3300 */ double radius = Math.tan(cone.getSpreadAngle()) * distance;
/* 3301 */ if (sqDist <= radius * radius) {
/* 3302 */ pi.setPointCoordinatesVW(pt);
/* 3303 */ pi.setDistance(distance);