/aoo41x/main/basegfx/inc/basegfx/vector/ |
H A D | b3ivector.hxx | 128 if((0 == fLen) || (1.0 == fLen)) in getLength() 129 return fLen; in getLength() 130 return sqrt(fLen); in getLength() 140 if((0 == fLen) || (1.0 == fLen)) in getXYLength() 141 return fLen; in getXYLength() 142 return sqrt(fLen); in getXYLength() 152 if((0 == fLen) || (1.0 == fLen)) in getXZLength() 153 return fLen; in getXZLength() 154 return sqrt(fLen); in getXZLength() 164 if((0 == fLen) || (1.0 == fLen)) in getYZLength() [all …]
|
H A D | b3dvector.hxx | 130 if((0.0 == fLen) || (1.0 == fLen)) in getLength() 131 return fLen; in getLength() 142 if((0.0 == fLen) || (1.0 == fLen)) in getXYLength() 143 return fLen; in getXYLength() 154 if((0.0 == fLen) || (1.0 == fLen)) in getXZLength() 155 return fLen; in getXZLength() 166 if((0.0 == fLen) || (1.0 == fLen)) in getYZLength() 167 return fLen; in getYZLength() 189 mfX *= fLen; in setLength() 190 mfY *= fLen; in setLength() [all …]
|
H A D | b2ivector.hxx | 121 B2IVector& setLength(double fLen);
|
H A D | b2dvector.hxx | 131 B2DVector& setLength(double fLen);
|
/aoo41x/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()
|
/aoo41x/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()
|
/aoo41x/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);
|
/aoo41x/main/svx/source/svdraw/ |
H A D | gradtrns.cxx | 70 const double fLen = (aFullVec.getLength() * (100.0 - (double)rG.aGradient.GetBorder())) / 100.0; in GradToVec() local 72 aStartPos = aEndPos + (aFullVec * fLen); in GradToVec() 93 const double fLen = (aFullVec.getLength() * (100.0 - (double)rG.aGradient.GetBorder())) / 100.0; in GradToVec() local 95 aEndPos = aStartPos + (aFullVec * fLen); in GradToVec() 117 const double fLen = (aFullVec.getLength() * (100.0 - (double)rG.aGradient.GetBorder())) / 100.0; in GradToVec() local 119 aStartPos = aEndPos + (aFullVec * fLen); in GradToVec() 152 const double fLen = (aFullVec.getLength() * (100.0 - (double)rG.aGradient.GetBorder())) / 100.0; in GradToVec() local 154 aStartPos = aEndPos + (aFullVec * fLen); in GradToVec()
|
/aoo41x/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()
|
/aoo41x/main/svx/inc/svx/ |
H A D | camera3d.hxx | 71 void SetFocalLength(double fLen); 72 void SetFocalLengthWithCorrect(double fLen);
|
/aoo41x/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()
|
/aoo41x/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()
|
/aoo41x/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()
|