/aoo42x/main/basegfx/inc/basegfx/vector/ |
H A D | b3ivector.hxx | 129 if((0 == fLen) || (1.0 == fLen)) in getLength() 130 return fLen; in getLength() 131 return sqrt(fLen); in getLength() 141 if((0 == fLen) || (1.0 == fLen)) in getXYLength() 142 return fLen; in getXYLength() 143 return sqrt(fLen); in getXYLength() 153 if((0 == fLen) || (1.0 == fLen)) in getXZLength() 154 return fLen; in getXZLength() 155 return sqrt(fLen); in getXZLength() 165 if((0 == fLen) || (1.0 == fLen)) in getYZLength() [all …]
|
H A D | b3dvector.hxx | 131 if((0.0 == fLen) || (1.0 == fLen)) in getLength() 132 return fLen; in getLength() 143 if((0.0 == fLen) || (1.0 == fLen)) in getXYLength() 144 return fLen; in getXYLength() 155 if((0.0 == fLen) || (1.0 == fLen)) in getXZLength() 156 return fLen; in getXZLength() 167 if((0.0 == fLen) || (1.0 == fLen)) in getYZLength() 168 return fLen; in getYZLength() 190 mfX *= fLen; in setLength() 191 mfY *= fLen; in setLength() [all …]
|
H A D | b2ivector.hxx | 122 B2IVector& setLength(double fLen);
|
H A D | b2dvector.hxx | 132 B2DVector& setLength(double fLen);
|
/aoo42x/main/basegfx/source/vector/ |
H A D | b2dvector.cxx | 34 double fLen(scalar(*this)); in normalize() local 36 if(fTools::equalZero(fLen)) in normalize() 45 if(!fTools::equal(fOne, fLen)) in normalize() 47 fLen = sqrt(fLen); in normalize() 49 if(!fTools::equalZero(fLen)) in normalize() 51 mfX /= fLen; in normalize() 52 mfY /= fLen; in normalize() 115 B2DVector& B2DVector::setLength(double fLen) in setLength() argument 125 fLen /= sqrt(fLenNow); in setLength() 128 mfX *= fLen; in setLength() [all …]
|
H A D | b3dvector.cxx | 35 double fLen(scalar(*this)); in normalize() local 37 if(!::basegfx::fTools::equalZero(fLen)) in normalize() 41 if(!::basegfx::fTools::equal(fOne, fLen)) in normalize() 43 fLen = sqrt(fLen); in normalize() 45 if(!::basegfx::fTools::equalZero(fLen)) in normalize() 47 mfX /= fLen; in normalize() 48 mfY /= fLen; in normalize() 49 mfZ /= fLen; in normalize()
|
H A D | b2ivector.cxx | 76 B2IVector& B2IVector::setLength(double fLen) in setLength() argument 86 fLen /= sqrt(fLenNow); in setLength() 89 mnX = fround( mnX*fLen ); in setLength() 90 mnY = fround( mnY*fLen ); in setLength()
|
/aoo42x/main/svx/source/engine3d/ |
H A D | camera3d.cxx | 258 void Camera3D::SetFocalLength(double fLen) in SetFocalLength() argument 260 if ( fLen < 5 ) in SetFocalLength() 261 fLen = 5; in SetFocalLength() 262 SetPRP(basegfx::B3DPoint(0.0, 0.0, fLen / 35.0 * aViewWin.W)); in SetFocalLength() 263 fFocalLength = fLen; in SetFocalLength() 377 void Camera3D::SetFocalLengthWithCorrect(double fLen) in SetFocalLengthWithCorrect() argument 379 if ( fLen < 5.0 ) in SetFocalLengthWithCorrect() 381 fLen = 5.0; in SetFocalLengthWithCorrect() 384 SetPRP(basegfx::B3DPoint(0.0, 0.0, aPRP.getZ() * fLen / fFocalLength)); in SetFocalLengthWithCorrect() 385 fFocalLength = fLen; in SetFocalLengthWithCorrect()
|
/aoo42x/main/tools/inc/tools/ |
H A D | vector2d.hxx | 107 double fLen = Scalar( *this ); in Normalize() local 109 if( ( fLen != 0.0 ) && ( fLen != 1.0 ) && ( ( fLen = sqrt( fLen ) ) != 0.0 ) ) in Normalize() 110 mfX /= fLen, mfY /= fLen; in Normalize()
|
H A D | b3dtrans.hxx | 329 void SetFocalLength(double fLen);
|
/aoo42x/main/svx/source/svdraw/ |
H A D | gradtrns.cxx | 69 const double fLen = (aFullVec.getLength() * (100.0 - (double)rG.aGradient.GetBorder())) / 100.0; in GradToVec() local 71 aStartPos = aEndPos + (aFullVec * fLen); in GradToVec() 92 const double fLen = (aFullVec.getLength() * (100.0 - (double)rG.aGradient.GetBorder())) / 100.0; in GradToVec() local 94 aEndPos = aStartPos + (aFullVec * fLen); in GradToVec() 116 const double fLen = (aFullVec.getLength() * (100.0 - (double)rG.aGradient.GetBorder())) / 100.0; in GradToVec() local 118 aStartPos = aEndPos + (aFullVec * fLen); in GradToVec() 151 const double fLen = (aFullVec.getLength() * (100.0 - (double)rG.aGradient.GetBorder())) / 100.0; in GradToVec() local 153 aStartPos = aEndPos + (aFullVec * fLen); in GradToVec()
|
/aoo42x/main/tools/source/generic/ |
H A D | b3dtrans.cxx | 904 void B3dCamera::SetFocalLength(double fLen) in SetFocalLength() argument 906 if(fLen != fFocalLength) in SetFocalLength() 909 if(fLen < 5.0) in SetFocalLength() 910 fLen = 5.0; in SetFocalLength() 911 fFocalLength = fLen; in SetFocalLength()
|
/aoo42x/main/svx/inc/svx/ |
H A D | camera3d.hxx | 71 void SetFocalLength(double fLen); 72 void SetFocalLengthWithCorrect(double fLen);
|
/aoo42x/main/sc/source/core/tool/ |
H A D | interpr2.cxx | 2236 double fLen = ::rtl::math::approxFloor( GetDouble() ); in ScBase() local 2237 if ( 1.0 <= fLen && fLen < STRING_MAXLEN ) in ScBase() 2238 nMinLen = (xub_StrLen) fLen; in ScBase() 2239 else if ( fLen == 0.0 ) in ScBase()
|
/aoo42x/main/vcl/source/gdi/ |
H A D | pdfwriter_impl.cxx | 7988 double fLen = sqrt( (double)(aDiff.X()*aDiff.X() + aDiff.Y()*aDiff.Y()) ); in drawWaveLine() local 7989 if( fLen < 1.0 ) in drawWaveLine() 8003 appendDouble( (double)aDiff.X()/fLen, aLine ); in drawWaveLine() 8005 appendDouble( -(double)aDiff.Y()/fLen, aLine ); in drawWaveLine() 8007 appendDouble( (double)aDiff.Y()/fLen, aLine ); in drawWaveLine() 8009 appendDouble( (double)aDiff.X()/fLen, aLine ); in drawWaveLine() 8013 m_aPages.back().appendWaveLine( (sal_Int32)fLen, 0, nDelta, aLine ); in drawWaveLine()
|
/aoo42x/main/sd/source/filter/eppt/ |
H A D | epptso.cxx | 2413 double fLen = aBuGraSize.Height(); in CalculateGraphicBulletSize() local 2415 double fQuo = fLen / fCharHeight; in CalculateGraphicBulletSize()
|