Searched refs:xformPt (Results 1 – 2 of 2) sorted by relevance
592 const DPoint xformPt = segment.fXformMatrix.mapPoint(point); in distance_to_segment() local597 if (between_closed(xformPt.x(), segment.fP0T.x(), segment.fP2T.x())) { in distance_to_segment()598 result = (float)(xformPt.y() * xformPt.y()); in distance_to_segment()599 } else if (xformPt.x() < segment.fP0T.x()) { in distance_to_segment()600 result = (float)(xformPt.x() * xformPt.x() + xformPt.y() * xformPt.y()); in distance_to_segment()602 result = (float)((xformPt.x() - segment.fP2T.x()) * (xformPt.x() - segment.fP2T.x()) in distance_to_segment()603 + xformPt.y() * xformPt.y()); in distance_to_segment()608 *side = (SegSide)(int)sign_of(xformPt.y()); in distance_to_segment()616 const float nearestPoint = calculate_nearest_point_for_quad(segment, xformPt); in distance_to_segment()622 dist = (float)xformPt.distanceToSqd(x); in distance_to_segment()[all …]