Home
last modified time | relevance | path

Searched refs:adfA (Results 1 – 3 of 3) sorted by relevance

/dports/graphics/py-gdal/gdal-3.3.3/ogr/ogrsf_frmts/dxf/
H A Dogrdxfwriterlayer.cpp682 static double IsLineTypeProportional( const std::vector<double>& adfA, in IsLineTypeProportional() argument
686 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()
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/ogr/ogrsf_frmts/dxf/
H A Dogrdxfwriterlayer.cpp682 static double IsLineTypeProportional( const std::vector<double>& adfA, in IsLineTypeProportional() argument
686 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()
/dports/graphics/gdal/gdal-3.3.3/ogr/ogrsf_frmts/dxf/
H A Dogrdxfwriterlayer.cpp682 static double IsLineTypeProportional( const std::vector<double>& adfA, in IsLineTypeProportional() argument
686 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()