Lines Matching refs:maStart
41 return hypot( maStart.X() - maEnd.X(), maStart.Y() - maEnd.Y() ); in GetLength()
67 const double fAx = maEnd.X() - maStart.X(); in Intersection()
68 const double fAy = maEnd.Y() - maStart.Y(); in Intersection()
69 const double fBx = rLine.maStart.X() - rLine.maEnd.X(); in Intersection()
70 const double fBy = rLine.maStart.Y() - rLine.maEnd.Y(); in Intersection()
76 const double fCx = maStart.X() - rLine.maStart.X(); in Intersection()
77 const double fCy = maStart.Y() - rLine.maStart.Y(); in Intersection()
107 rIntersectionX = ( maStart.X() + fAlpha * fAx ); in Intersection()
108 rIntersectionY = ( maStart.Y() + fAlpha * fAy ); in Intersection()
120 const sal_Bool bStartInside = rRect.IsInside( maStart ); in Intersection()
127 rIntersection.maStart = maStart; in Intersection()
153 rIntersection.maStart = aIntersect1; in Intersection()
159 rIntersection.maStart = aIntersect1; in Intersection()
161 if( ( maStart != aIntersect1 ) && bStartInside ) in Intersection()
162 rIntersection.maEnd = maStart; in Intersection()
166 rIntersection.maEnd = rIntersection.maStart; in Intersection()
181 if ( maStart != maEnd ) in NearestPoint()
183 const double fDistX = maEnd.X() - maStart.X(); in NearestPoint()
184 const double fDistY = maStart.Y() - maEnd.Y(); in NearestPoint()
185 const double fTau = ( ( maStart.Y() - rPoint.Y() ) * fDistY - in NearestPoint()
186 ( maStart.X() - rPoint.X() ) * fDistX ) / in NearestPoint()
190 aRetPt = maStart; in NearestPoint()
193 aRetPt.X() = FRound( maStart.X() + fTau * fDistX ); in NearestPoint()
194 aRetPt.Y() = FRound( maStart.Y() - fTau * fDistY ); in NearestPoint()
200 aRetPt = maStart; in NearestPoint()
211 if( maStart != maEnd ) in GetDistance()
213 const double fDistX = maEnd.X() - maStart.X(); in GetDistance()
214 const double fDistY = maEnd.Y() - maStart.Y(); in GetDistance()
215 const double fACX = maStart.X() - rPtX; in GetDistance()
216 const double fACY = maStart.Y() - rPtY; in GetDistance()
223 fDist = hypot( maStart.X() - rPtX, maStart.Y() - rPtY ); in GetDistance()
239 fDist = hypot( maStart.X() - rPtX, maStart.Y() - rPtY ); in GetDistance()
254 if( maStart.X() == maEnd.X() ) in Enum()
258 nX = maStart.X(); in Enum()
259 nY = maStart.Y(); in Enum()
280 else if( maStart.Y() == maEnd.Y() ) in Enum()
284 nX = maStart.X(); in Enum()
285 nY = maStart.Y(); in Enum()
308 const long nDX = labs( maEnd.X() - maStart.X() ); in Enum()
309 const long nDY = labs( maEnd.Y() - maStart.Y() ); in Enum()
310 const long nStartX = maStart.X(); in Enum()
311 const long nStartY = maStart.Y(); in Enum()