Home
last modified time | relevance | path

Searched refs:convertLength (Results 1 – 25 of 47) sorted by relevance

12

/dports/graphics/openorienteering-mapper/mapper-0.9.2/src/fileformats/
H A Docd_file_import.cpp212 int OcdFileImport::convertLength(qint16 ocd_length) const in convertLength() function in OpenOrienteering::OcdFileImport
214 return convertLength<qint16, int>(ocd_length); in convertLength()
217 int OcdFileImport::convertLength(quint16 ocd_length) const in convertLength() function in OpenOrienteering::OcdFileImport
219 return convertLength<quint16, int>(ocd_length); in convertLength()
223 R OcdFileImport::convertLength(T ocd_length) const in convertLength() function in OpenOrienteering::OcdFileImport
1250 symbol->line_width = convertLength(attributes.line_width); in importLineSymbolBase()
1310 symbol->dash_length = convertLength(attributes.main_length) - convertLength(attributes.sec_gap); in importLineSymbolBase()
1311 symbol->break_length = convertLength(attributes.sec_gap); in importLineSymbolBase()
1430 …border.shift = convertLength(attributes.double_left_width) / 2 + (convertLength(attributes.double_… in setupLineSymbolDoubleBorder()
1434 …right_border.shift = convertLength(attributes.double_right_width) / 2 + (convertLength(attributes.… in setupLineSymbolDoubleBorder()
[all …]
H A Docd_file_import.h151 int convertLength(qint16 ocd_length) const;
153 int convertLength(quint16 ocd_length) const;
156 R convertLength(T ocd_length) const;
/dports/graphics/qgis/qgis-3.22.3/src/app/3d/
H A Dqgs3dmeasuredialog.cpp191 double Qgs3DMeasureDialog::convertLength( double length, QgsUnitTypes::DistanceUnit toUnit ) const in convertLength() function in Qgs3DMeasureDialog
237 …content << QLocale().toString( convertLength( horizontalDistance, mDisplayedDistanceUnit ), 'f', m… in addMeasurement()
238 …content << QLocale().toString( convertLength( verticalDistance, mDisplayedDistanceUnit ), 'f', mDe… in addMeasurement()
239 …content << QLocale().toString( convertLength( distance, mDisplayedDistanceUnit ), 'f', mDecimalPla… in addMeasurement()
252 editTotal->setText( formatDistance( convertLength( mTotal, mDisplayedDistanceUnit ) ) ); in updateTotal()
253 …editHorizontalTotal->setText( formatDistance( convertLength( mHorizontalTotal, mDisplayedDistanceU… in updateTotal()
/dports/graphics/qgis-ltr/qgis-3.16.16/src/app/3d/
H A Dqgs3dmeasuredialog.cpp191 double Qgs3DMeasureDialog::convertLength( double length, QgsUnitTypes::DistanceUnit toUnit ) const in convertLength() function in Qgs3DMeasureDialog
237 …content << QLocale().toString( convertLength( horizontalDistance, mDisplayedDistanceUnit ), 'f', m… in addMeasurement()
238 …content << QLocale().toString( convertLength( verticalDistance, mDisplayedDistanceUnit ), 'f', mDe… in addMeasurement()
239 …content << QLocale().toString( convertLength( distance, mDisplayedDistanceUnit ), 'f', mDecimalPla… in addMeasurement()
252 editTotal->setText( formatDistance( convertLength( mTotal, mDisplayedDistanceUnit ) ) ); in updateTotal()
253 …editHorizontalTotal->setText( formatDistance( convertLength( mHorizontalTotal, mDisplayedDistanceU… in updateTotal()
/dports/devel/scons/SCons-4.2.0/SCons/Tool/docbook/docbook-xsl-1.76.1/extensions/
H A Ddocbook.py35 nominalWidth = convertLength(varString)
76 pixels = convertLength(absPart)
113 pixelWidth = convertLength(tableWidth)
155 def convertLength(length): function
/dports/textproc/docbook-xsl-ns/docbook-xsl-ns-1.79.1/extensions/
H A Ddocbook.py38 nominalWidth = convertLength(varString);
79 pixels = convertLength(absPart)
116 pixelWidth = convertLength(tableWidth)
158 def convertLength(length): function
/dports/textproc/docbook-xsl/docbook-xsl-1.79.1/extensions/
H A Ddocbook.py38 nominalWidth = convertLength(varString);
79 pixels = convertLength(absPart)
116 pixelWidth = convertLength(tableWidth)
158 def convertLength(length): function
/dports/science/openkim-models/openkim-models-2021-01-28/model-drivers/hNN__MD_435082866799_001/
H A Ddescriptor.cpp147 void Descriptor::convert_units(double convertEnergy, double convertLength) in convert_units() argument
158 this->params[p][q][0] /= convertLength * convertLength; // eta in convert_units()
159 this->params[p][q][1] *= convertLength; // Rs in convert_units()
163 this->params[p][q][0] /= convertLength; // kappa in convert_units()
167 this->params[p][q][2] /= convertLength * convertLength; // eta in convert_units()
171 this->params[p][q][2] /= convertLength * convertLength; // eta in convert_units()
H A DANNImplementation.cpp861 double convertLength = 1.0; in ConvertUnits() local
878 &convertLength); in ConvertUnits()
885 if (convertLength != ONE) in ConvertUnits()
887 lj_r_up_min_ *= convertLength; in ConvertUnits()
888 lj_r_up_max_ *= convertLength; in ConvertUnits()
889 lj_r_down_min_ *= convertLength; in ConvertUnits()
890 lj_r_down_max_ *= convertLength; in ConvertUnits()
891 lj_cutoff_ *= convertLength; in ConvertUnits()
894 { cutoff_[i] *= convertLength; } in ConvertUnits()
895 lengthScale_ = convertLength; in ConvertUnits()
[all …]
/dports/graphics/dcmtk/dcmtk-DCMTK-3.6.6/dcmdata/libsrc/
H A Ddcspchrs.cc546 const size_t convertLength = currentChar - firstChar - 1; in convertString() local
547 if (convertLength > 0) in convertString()
551 << convertToLengthLimitedOctalString(firstChar, convertLength) << "'"); in convertString()
552 … status = converter.convertString(firstChar, convertLength, toString, OFFalse /*clearMode*/); in convertString()
727 const size_t convertLength = currentChar - firstChar; in convertString() local
728 if (convertLength > 0) in convertString()
732 << convertToLengthLimitedOctalString(firstChar, convertLength) << "'"); in convertString()
733 … status = converter.convertString(firstChar, convertLength, toString, OFFalse /*clearMode*/); in convertString()
/dports/science/openkim-models/openkim-models-2021-01-28/model-drivers/Morse_SigmoidalSmoothed__MD_199191711608_002/
H A DMorse_SigmoidalSmoothed.c587 double convertLength = 1.0; in model_driver_create() local
662 &convertLength); in model_driver_create()
691 if (convertLength != ONE) in model_driver_create()
693 Rzero *= convertLength; in model_driver_create()
694 a *= convertLength; in model_driver_create()
695 C *= (1.0 / convertLength); in model_driver_create()
696 logisticWidth *= (1.0 / convertLength); in model_driver_create()
/dports/science/openkim-models/openkim-models-2021-01-28/model-drivers/DUNN__MD_292677547454_000/
H A Ddescriptor.cpp446 void Descriptor::convert_units(double convertEnergy, double convertLength) in convert_units() argument
458 params_[p][q][0] /= convertLength * convertLength; // eta in convert_units()
459 params_[p][q][1] *= convertLength; // Rs in convert_units()
463 params_[p][q][0] /= convertLength; // kappa in convert_units()
467 params_[p][q][2] /= convertLength * convertLength; // eta in convert_units()
471 params_[p][q][2] /= convertLength * convertLength; // eta in convert_units()
480 for (int q = 0; q < N; q++) { rcut_2D_[p][q] *= convertLength; } in convert_units()
H A DANNImplementation.cpp387 double convertLength = 1.0; in ConvertUnits() local
404 &convertLength); in ConvertUnits()
435 if (convertEnergy != ONE or convertLength != ONE) in ConvertUnits()
437 descriptor_->convert_units(convertEnergy, convertLength); in ConvertUnits()
/dports/science/openkim-models/openkim-models-2021-01-28/model-drivers/PANNA__MD_805652781592_000/
H A DPANNA.cpp1020 double convertLength = 1.0; in ConvertUnits() local
1036 &convertLength); in ConvertUnits()
1043 par_.eta_rad /= convertLength*convertLength; in ConvertUnits()
1044 par_.Rc_rad *= convertLength; in ConvertUnits()
1045 par_.Rs0_rad *= convertLength; in ConvertUnits()
1046 par_.Rsst_rad *= convertLength; in ConvertUnits()
1047 par_.eta_ang /= convertLength*convertLength; in ConvertUnits()
1048 par_.Rc_ang *= convertLength; in ConvertUnits()
1049 par_.Rs0_ang *= convertLength; in ConvertUnits()
1050 par_.Rsst_ang *= convertLength; in ConvertUnits()
/dports/science/kim-api/kim-api-2.2.1/examples/portable-models/LennardJones_Ar/
H A DLennardJones_Ar.cpp318 double convertLength = 1.0; in ConvertUnits() local
334 &convertLength); in ConvertUnits()
340 influenceDistance_ *= convertLength; // convert to active units in ConvertUnits()
343 sigma_ *= convertLength; // convert to active units in ConvertUnits()
/dports/science/openkim-models/openkim-models-2021-01-28/model-drivers/EDIP__MD_506186535567_002/
H A DEDIP.c705 double convertLength = 1.0; in model_driver_create() local
795 &convertLength); in model_driver_create()
824 if (convertLength != ONE) in model_driver_create()
826 B *= convertLength; in model_driver_create()
827 a *= convertLength; in model_driver_create()
828 sig *= convertLength; in model_driver_create()
829 gam *= convertLength; in model_driver_create()
830 b *= convertLength; in model_driver_create()
831 c *= convertLength; in model_driver_create()
/dports/science/openkim-models/openkim-models-2021-01-28/model-drivers/Morse_QuinticSmoothed__MD_093895395358_003/
H A DMorse_QuinticSmoothed.c612 double convertLength = 1.0; in model_driver_create() local
687 &convertLength); in model_driver_create()
716 if (convertLength != ONE) in model_driver_create()
718 Rzero *= convertLength; in model_driver_create()
719 a *= convertLength; in model_driver_create()
720 C *= (1.0 / convertLength); in model_driver_create()
/dports/science/openkim-models/openkim-models-2021-01-28/model-drivers/Morse_Shifted__MD_552566534109_004/
H A DMorse_Shifted.c643 double convertLength = 1.0; in model_driver_create() local
717 &convertLength); in model_driver_create()
746 if (convertLength != ONE) in model_driver_create()
748 Rzero *= convertLength; in model_driver_create()
749 a *= convertLength; in model_driver_create()
750 C *= (1.0 / convertLength); in model_driver_create()
/dports/graphics/qgis/qgis-3.22.3/src/app/
H A Dqgsmeasuredialog.cpp238 d = convertLength( d, mDistanceUnits ); in mouseMove()
306 d = convertLength( d, mDistanceUnits ); in removeLastPoint()
350 distance = convertLength( distance, mDistanceUnits ); in formatDistance()
593 d = convertLength( d, mMapDistanceUnits ); in updateUi()
595 d = convertLength( d, mDistanceUnits ); in updateUi()
647 double QgsMeasureDialog::convertLength( double length, QgsUnitTypes::DistanceUnit toUnit ) const in convertLength() function in QgsMeasureDialog
/dports/graphics/qgis-ltr/qgis-3.16.16/src/app/
H A Dqgsmeasuredialog.cpp238 d = convertLength( d, mDistanceUnits ); in mouseMove()
306 d = convertLength( d, mDistanceUnits ); in removeLastPoint()
350 distance = convertLength( distance, mDistanceUnits ); in formatDistance()
593 d = convertLength( d, mMapDistanceUnits ); in updateUi()
595 d = convertLength( d, mDistanceUnits ); in updateUi()
647 double QgsMeasureDialog::convertLength( double length, QgsUnitTypes::DistanceUnit toUnit ) const in convertLength() function in QgsMeasureDialog
/dports/games/0ad/0ad-0.0.23b-alpha/libraries/source/fcollada/src/FCollada/FCDocument/
H A DFCDocumentTools.cpp260 …Functor& lengthFunctor, FCDConversionSwapFunctor& upAxisFunctor, bool convertLength, bool isScale … in ConvertAnimationVector3() argument
323 …FCDConversionScaleFunctor functor(factor * (convertLength ? lengthFunctor.GetConversionFactor() : … in ConvertAnimationVector3()
338 FCDConversionSwapFunctor& upAxisFunctor, bool convertLength, bool isScale = false) in ConvertAnimationVector3() argument
340 …ted2, animated3, &v.x, &v.y, &v.z, document, lengthFunctor, upAxisFunctor, convertLength, isScale); in ConvertAnimationVector3()
343 FCDConversionSwapFunctor& upAxisFunctor, bool convertLength, bool isScale = false) in ConvertAnimationVector3() argument
345 …ated, animated, animated, x, y, z, document, lengthFunctor, upAxisFunctor, convertLength, isScale); in ConvertAnimationVector3()
348 FCDConversionSwapFunctor& upAxisFunctor, bool convertLength, bool isScale = false) in ConvertAnimationVector3() argument
350 …ector3(animated, &v.x, &v.y, &v.z, document, lengthFunctor, upAxisFunctor, convertLength, isScale); in ConvertAnimationVector3()
/dports/science/openkim-models/openkim-models-2021-01-28/model-drivers/SNAP__MD_536750310735_000/
H A DSNAPImplementation.cpp1462 double convertLength = ONE; in ConvertUnits() local
1486 if (convertLength != ONE) in ConvertUnits()
1489 rmin0 *= convertLength; in ConvertUnits()
1492 angstrom *= convertLength; in ConvertUnits()
1493 qqr2e *= convertLength; in ConvertUnits()
1494 inner *= convertLength; in ConvertUnits()
1495 outer *= convertLength; in ConvertUnits()
1501 tables[nt].rlo *= convertLength; in ConvertUnits()
1502 tables[nt].rhi *= convertLength; in ConvertUnits()
1503 tables[nt].fplo /= convertLength; in ConvertUnits()
[all …]
/dports/graphics/qgis/qgis-3.22.3/external/odbccpp/src/odbc/
H A DResultSet.cpp337 static size_t convertLength(SQLLEN ind) in convertLength() function
355 return convertLength(ind); in getBinaryLength()
371 return convertLength(ind); in getStringLength()
387 size_t ret = convertLength(ind); in getNStringLength()
/dports/graphics/silgraphite/silgraphite-2.3.1/engine/test/ProfileHarness/
H A DProfileHarness.cpp87 size_t convertLength = iconv(utf8to32, &pText, &bytesLeft, &pText32, &outBytesLeft); in convertUtf8ToUtf32() local
88 if (convertLength == size_t(-1)) perror("iconv failed:"); in convertUtf8ToUtf32()
90 assert(convertLength != size_t(-1)); in convertUtf8ToUtf32()
/dports/science/openkim-models/openkim-models-2021-01-28/model-drivers/SW_MX2__MD_242389978788_001/
H A DStillingerWeberImplementation.cpp617 double convertLength = 1.0; in ConvertUnits() local
634 &convertLength); in ConvertUnits()
641 if (convertLength != ONE) in ConvertUnits()
645 sigma_[i] *= convertLength; in ConvertUnits()
646 gamma_[i] *= convertLength; in ConvertUnits()
647 cutoff_[i] *= convertLength; in ConvertUnits()
650 { cutoff_jk_[i] *= convertLength; } in ConvertUnits()
677 if (convertLength != ONE) in ConvertUnits()

12