Searched refs:aVecB (Results 1 – 7 of 7) sorted by relevance
225 const B2DVector aVecB(rNextB - rCurrB); in findEdgeCutsTwoEdges() local226 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() local306 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 …]
223 const B2DVector aVecB(rNextB - rCurrB); in findEdgeCutsTwoEdges() local224 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() local305 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 …]
38 bool CompareVector2I( const VECTOR2I& aVecA, const VECTOR2I& aVecB ) in CompareVector2I() argument40 if( !CompareLength(aVecA.x, aVecB.x) ) in CompareVector2I()42 else if( !CompareLength( aVecA.y, aVecB.y ) ) in CompareVector2I()
396 const B2DVector aVecB(maControlPointB - maEndPoint); in testAndSolveTrivialBezier() local400 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()
394 const B2DVector aVecB(maControlPointB - maEndPoint); in testAndSolveTrivialBezier() local398 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()
1303 Vector2D aVecB( rPoly[ nIndNext ] ); in ImplReduceEdges() local1304 aVecB -= Vector2D(rPoly[ nIndPrev ] ); in ImplReduceEdges()1305 double fDistB = aVecB.GetLength(); in ImplReduceEdges()
1283 Vector2D aVecB( rPoly[ nIndNext ] ); in ImplReduceEdges() local1284 aVecB -= Vector2D(rPoly[ nIndPrev ] ); in ImplReduceEdges()1285 double fDistB = aVecB.GetLength(); in ImplReduceEdges()