Lines Matching refs:rPoint1
1165 sal_Bool IsPointInLine(const Point &rPoint1, in IsPointInLine() argument
1178 fLambda = (rPoint1.X() - rPoint2.X()) / (double) rHeading2.X(); in IsPointInLine()
1179 bRes = fabs(rPoint1.Y() - (rPoint2.Y() + fLambda * rHeading2.Y())) < eps; in IsPointInLine()
1183 fLambda = (rPoint1.Y() - rPoint2.Y()) / (double) rHeading2.Y(); in IsPointInLine()
1184 bRes = fabs(rPoint1.X() - (rPoint2.X() + fLambda * rHeading2.X())) < eps; in IsPointInLine()
1192 const Point& rPoint1, const Point &rHeading1, in GetLineIntersectionPoint() argument
1205 nRes = IsPointInLine(rPoint1, rPoint2, rHeading2) ? USHRT_MAX : 0; in GetLineIntersectionPoint()
1206 rResult = nRes ? rPoint1 : Point(); in GetLineIntersectionPoint()
1212 double fLambda = ( (rPoint1.Y() - rPoint2.Y()) * rHeading2.X() in GetLineIntersectionPoint()
1213 - (rPoint1.X() - rPoint2.X()) * rHeading2.Y()) in GetLineIntersectionPoint()
1215 rResult = Point(rPoint1.X() + (long) (fLambda * rHeading1.X()), in GetLineIntersectionPoint()
1216 rPoint1.Y() + (long) (fLambda * rHeading1.Y())); in GetLineIntersectionPoint()