Searched refs:adfA (Results 1 – 3 of 3) sorted by relevance
682 static double IsLineTypeProportional( const std::vector<double>& adfA, in IsLineTypeProportional() argument686 if( adfA.size() != adfB.size() ) in IsLineTypeProportional()690 const double dfRatio = ( adfA[0] != 0.0 ) ? ( adfB[0] / adfA[0] ) : 0.0; in IsLineTypeProportional()693 for( size_t iIndex = 1; iIndex < adfA.size(); iIndex++ ) in IsLineTypeProportional()694 if( fabs( adfB[iIndex] - ( adfA[iIndex] * dfRatio ) ) > 1e-6 ) in IsLineTypeProportional()