Home
last modified time | relevance | path

Searched refs:aVecB (Results 1 – 7 of 7) sorted by relevance

/dports/editors/libreoffice/libreoffice-7.2.6.2/basegfx/source/polygon/
H A Db2dpolygoncutandtouch.cxx225 const B2DVector aVecB(rNextB - rCurrB); in findEdgeCutsTwoEdges() local
226 double fCut(aVecA.cross(aVecB)); in findEdgeCutsTwoEdges()
233 …fCut = (aVecB.getY() * (rCurrB.getX() - rCurrA.getX()) + aVecB.getX() * (rCurrA.getY() - rCurrB.ge… in findEdgeCutsTwoEdges()
242 if(fabs(aVecB.getX()) > fabs(aVecB.getY())) in findEdgeCutsTwoEdges()
244 fCut2 = (rCurrA.getX() + (fCut * aVecA.getX()) - rCurrB.getX()) / aVecB.getX(); in findEdgeCutsTwoEdges()
248 fCut2 = (rCurrA.getY() + (fCut * aVecA.getY()) - rCurrB.getY()) / aVecB.getY(); in findEdgeCutsTwoEdges()
305 const B2DVector aVecB(aNextB - aCurrB); in findCutsAndTouchesAndCommonForBezier() local
306 double fCutA(aVecA.cross(aVecB)); in findCutsAndTouchesAndCommonForBezier()
312 …fCutA = (aVecB.getY() * (aCurrB.getX() - aCurrA.getX()) + aVecB.getX() * (aCurrA.getY() - aCurrB.g… in findCutsAndTouchesAndCommonForBezier()
322 if(fabs(aVecB.getX()) > fabs(aVecB.getY())) in findCutsAndTouchesAndCommonForBezier()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/basegfx/source/polygon/
H A Db2dpolygoncutandtouch.cxx223 const B2DVector aVecB(rNextB - rCurrB); in findEdgeCutsTwoEdges() local
224 double fCut(aVecA.cross(aVecB)); in findEdgeCutsTwoEdges()
230 …fCut = (aVecB.getY() * (rCurrB.getX() - rCurrA.getX()) + aVecB.getX() * (rCurrA.getY() - rCurrB.ge… in findEdgeCutsTwoEdges()
238 if(fabs(aVecB.getX()) > fabs(aVecB.getY())) in findEdgeCutsTwoEdges()
240 … fCut2 = (rCurrA.getX() + (fCut * aVecA.getX()) - rCurrB.getX()) / aVecB.getX(); in findEdgeCutsTwoEdges()
244 … fCut2 = (rCurrA.getY() + (fCut * aVecA.getY()) - rCurrB.getY()) / aVecB.getY(); in findEdgeCutsTwoEdges()
304 const B2DVector aVecB(aNextB - aCurrB); in findCutsAndTouchesAndCommonForBezier() local
305 double fCutA(aVecA.cross(aVecB)); in findCutsAndTouchesAndCommonForBezier()
311 …fCutA = (aVecB.getY() * (aCurrB.getX() - aCurrA.getX()) + aVecB.getX() * (aCurrA.getY() - aCurrB.g… in findCutsAndTouchesAndCommonForBezier()
321 if(fabs(aVecB.getX()) > fabs(aVecB.getY())) in findCutsAndTouchesAndCommonForBezier()
[all …]
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/qa/libs/kimath/geometry/
H A Dtest_circle.cpp38 bool CompareVector2I( const VECTOR2I& aVecA, const VECTOR2I& aVecB ) in CompareVector2I() argument
40 if( !CompareLength(aVecA.x, aVecB.x) ) in CompareVector2I()
42 else if( !CompareLength( aVecA.y, aVecB.y ) ) in CompareVector2I()
/dports/editors/libreoffice/libreoffice-7.2.6.2/basegfx/source/curve/
H A Db2dcubicbezier.cxx396 const B2DVector aVecB(maControlPointB - maEndPoint); in testAndSolveTrivialBezier() local
400 bool bBIsTrivial(aVecB.equalZero()); in testAndSolveTrivialBezier()
440 const double fCross(aVecB.cross(aEdge) * fInverseEdgeLength); in testAndSolveTrivialBezier()
446 ? aVecB.getX() / aEdge.getX() in testAndSolveTrivialBezier()
447 : aVecB.getY() / aEdge.getY()); in testAndSolveTrivialBezier()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/basegfx/source/curve/
H A Db2dcubicbezier.cxx394 const B2DVector aVecB(maControlPointB - maEndPoint); in testAndSolveTrivialBezier() local
398 bool bBIsTrivial(aVecB.equalZero()); in testAndSolveTrivialBezier()
438 const double fCross(aVecB.cross(aEdge) * fInverseEdgeLength); in testAndSolveTrivialBezier()
444 ? aVecB.getX() / aEdge.getX() in testAndSolveTrivialBezier()
445 : aVecB.getY() / aEdge.getY()); in testAndSolveTrivialBezier()
/dports/editors/libreoffice/libreoffice-7.2.6.2/tools/source/generic/
H A Dpoly.cxx1303 Vector2D aVecB( rPoly[ nIndNext ] ); in ImplReduceEdges() local
1304 aVecB -= Vector2D(rPoly[ nIndPrev ] ); in ImplReduceEdges()
1305 double fDistB = aVecB.GetLength(); in ImplReduceEdges()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/tools/source/generic/
H A Dpoly.cxx1283 Vector2D aVecB( rPoly[ nIndNext ] ); in ImplReduceEdges() local
1284 aVecB -= Vector2D(rPoly[ nIndPrev ] ); in ImplReduceEdges()
1285 double fDistB = aVecB.GetLength(); in ImplReduceEdges()