/trunk/main/chart2/source/tools/ |
H A D | ThreeDHelper.cxx | 513 if( (sin(R)*sin(E)*sin(z))>0.0) in convertElevationRotationDegToXYZAngleRad() 545 if( (sin(x)*sin(y)*sin(z)*cos(E))<0.0) in convertElevationRotationDegToXYZAngleRad() 752 double f13 = sin(x)*sin(z)+cos(x)*cos(z)*sin(y); in convertXYZAngleRadToElevationRotationDeg() 758 double f22 = cos(x)*cos(z)+sin(x)*sin(y)*sin(z); in convertXYZAngleRadToElevationRotationDeg() 837 E=acos( sin(x)*sin(y)*sin(z)); in convertXYZAngleRadToElevationRotationDeg() 839 if( (cos(y)*sin(z)*sin(R)*sin(E))<0.0 ) in convertXYZAngleRadToElevationRotationDeg() 851 E = acos(sin(x)*sin(y)*sin(z) ); in convertXYZAngleRadToElevationRotationDeg() 853 if( (cos(y)*sin(z)*sin(R)*sin(E))<0.0 ) in convertXYZAngleRadToElevationRotationDeg() 877 if( (sin(x)*sin(z)*sin(R))<0.0 ) in convertXYZAngleRadToElevationRotationDeg() 880 E=atan( cos(y)*sin(z)/(sin(R)*sin(x)*sin(y)*sin(z)) ); in convertXYZAngleRadToElevationRotationDeg() [all …]
|
H A D | RelativePositionHelper.cxx | 244 …::rtl::math::round( fXDelta * rtl::math::cos( fAnglePi ) + fYDelta * rtl::math::sin( fAnglePi )… in getCenterOfAnchoredObject() 246 …::rtl::math::round( - fXDelta * rtl::math::sin( fAnglePi ) + fYDelta * rtl::math::cos( fAnglePi )… in getCenterOfAnchoredObject()
|
/trunk/main/chart2/source/view/main/ |
H A D | LabelPositionHelper.cxx | 145 rfXCorrection = -aSize.Width *rtl::math::sin( beta ) in lcl_correctRotation_Left() 156 -aSize.Height*rtl::math::sin( beta )/2.0; in lcl_correctRotation_Left() 189 + aSize.Height*rtl::math::sin( beta )/2.0; in lcl_correctRotation_Right() 198 rfXCorrection = aSize.Width *rtl::math::sin( beta ) in lcl_correctRotation_Right() 235 - aSize.Height*rtl::math::sin( beta ); in lcl_correctRotation_Top() 277 +aSize.Height*rtl::math::sin( beta ); in lcl_correctRotation_Bottom() 285 rfYCorrection = aSize.Height*rtl::math::sin( beta ) in lcl_correctRotation_Bottom() 345 rfXCorrection = -aSize.Width*rtl::math::sin( beta ) in lcl_correctRotation_Left_Bottom() 377 rfXCorrection = aSize.Width*rtl::math::sin( beta ) in lcl_correctRotation_Right_Top() 384 rfXCorrection = aSize.Width*rtl::math::sin( beta ); in lcl_correctRotation_Right_Top() [all …]
|
H A D | ShapeFactory.cxx | 880 const double fSin = sin(fCurrentSegmentAngle/2.0); in getCircularArcBezierCoords() 1568 *pInnerSequenceY++ = fY - fHeightH * sin( i * fOmega ); in createPolyPolygon_Symbol() 1575 *pInnerSequenceX++ = fX - fWidthH * sin( i * fOmega); in createPolyPolygon_Symbol() 1584 *pInnerSequenceY++ = fY + fHeightH * sin( i * fOmega); in createPolyPolygon_Symbol() 1591 *pInnerSequenceX++ = fX + fWidthH * sin(i * fOmega); in createPolyPolygon_Symbol() 2394 aSize.Width*rtl::math::sin( fAnglePi ) in getSizeAfterRotation() 2398 + aSize.Height*rtl::math::sin( fAnglePi )); in getSizeAfterRotation()
|
/trunk/main/i18npool/source/calendar/ |
H A D | calendar_hijri.cxx | 158 + 0.0021 * sin(sa * 2) in NewMoon() 159 - 0.4068 * sin(ma) in NewMoon() 160 + 0.0161 * sin(2 * ma) in NewMoon() 161 - 0.0004 * sin(3 * ma) in NewMoon() 162 + 0.0104 * sin(tf) in NewMoon() 163 - 0.0051 * sin(sa + ma) in NewMoon() 164 - 0.0074 * sin(sa - ma) in NewMoon() 165 + 0.0004 * sin(tf + sa) in NewMoon() 166 - 0.0004 * sin(tf - sa) in NewMoon() 167 - 0.0006 * sin(tf + ma) in NewMoon() [all …]
|
/trunk/main/slideshow/source/engine/transitions/ |
H A D | figurewipe.cxx | 48 const double s60 = sin( basegfx::deg2rad(60.0) ); in createTriangleWipe() 49 const double s30 = sin( basegfx::deg2rad(30.0) ); in createTriangleWipe() 60 const double s60 = sin( basegfx::deg2rad(60.0) ); in createArrowHeadWipe() 61 const double s30 = sin( basegfx::deg2rad(30.0) ); in createArrowHeadWipe() 74 const double s = sin( basegfx::deg2rad(18.0) ); in createPentagonWipe() 79 figure.append( ::basegfx::B2DPoint( 0.0, 0.5 - c - sin(basegfx::deg2rad(36.0)) ) ); in createPentagonWipe() 88 const double s = sin( basegfx::deg2rad(30.0) ); in createHexagonWipe()
|
/trunk/main/canvas/workben/ |
H A D | canvasdemo.cxx | 228 geometry::RealPoint2D aSrc( RADIUS * cos (a), RADIUS * sin (a) ); in drawPolishDiamond() 237 RADIUS * sin (a) ), in drawPolishDiamond() 432 r * sin(i*2*M_PI/num_curves), //py in drawCurves() 434 r * 2 * sin((i*2*M_PI + 2*M_PI)/num_curves), //C1y in drawCurves() 436 r * 2 * sin((i*2*M_PI + 2*M_PI)/num_curves)); //C2y in drawCurves() 527 centery + r * sin(i*2 * M_PI/sides)); in drawRegularPolygon()
|
/trunk/main/scaddins/source/analysis/ |
H A D | analysishelper.cxx | 2003 r_ = sin( r ) * cosh( i ); in Sin() 2008 r = sin( r ); in Sin() 2024 i = -( sin( r ) * sinh( i ) ); in Cos() 2099 r = sin( 2.0 * r ) * fScale; in Tan() 2122 i = 2.0 * sin( r ) * sinh( i ) * fScale; in Sec() 2152 r = 1.0 / sin( r ); in Csc() 2166 r = sin( 2.0 * r ) * fScale; in Cot() 2189 i = cosh( r ) * sin( i ); in Sinh() 2208 i = sinh( r ) * sin( i ); in Cosh() 2227 i = - (2.0 * sinh( r ) * sin( i ) * fScale ); in Sech() [all …]
|
H A D | bessel.cxx | 348 *(rtl::math::sin(fX)-rtl::math::cos(fX)); in Bessely0() 402 *(rtl::math::sin(fX)+rtl::math::cos(fX)); in Bessely1()
|
/trunk/main/sd/source/ui/slidesorter/controller/ |
H A D | SlsAnimationFunction.cxx | 49 const double nResult (sin(nTime * M_PI/2)); in FastInSlowOut_Sine() 75 const double nResult (sin(nTime * M_PI)); in SlowInSlowOut_0to0_Sine() 86 return sin(nTime*M_PI*8); in Vibrate_Sine()
|
/trunk/main/sal/osl/w32/ |
H A D | socket.cxx | 760 struct sockaddr_in *sin= (struct sockaddr_in *)&(pSocketAddr->m_sockaddr); in __osl_hostentToHostAddr() local 762 &(sin->sin_addr.s_addr), in __osl_hostentToHostAddr() 864 const struct sockaddr_in *sin= (const struct sockaddr_in *)&(pAddr->m_sockaddr); in osl_createHostAddrByAddr() local 866 if (sin->sin_addr.s_addr == htonl(INADDR_ANY)) in osl_createHostAddrByAddr() 872 he= gethostbyaddr ((const sal_Char *)&(sin->sin_addr), in osl_createHostAddrByAddr() 873 sizeof (sin->sin_addr), in osl_createHostAddrByAddr() 874 sin->sin_family); in osl_createHostAddrByAddr()
|
/trunk/main/filter/source/graphicfilter/idxf/ |
H A D | dxf2mtf.cxx | 319 rE.aP0+DXFVector(rE.fRadius*cos(fAng),rE.fRadius*sin(fAng),0), in DrawCircleEntity() 329 rE.aP0+DXFVector(rE.fRadius*cos(fAng),rE.fRadius*sin(fAng),rE.fThickness), in DrawCircleEntity() 355 DXFVector aVS(cos(fA1/180.0*3.14159265359),sin(fA1/180.0*3.14159265359),0.0); in DrawArcEntity() 358 DXFVector aVE(cos((fA1+fdA)/180.0*3.14159265359),sin((fA1+fdA)/180.0*3.14159265359),0.0); in DrawArcEntity() 382 rE.aP0+DXFVector(rE.fRadius*cos(fAng),rE.fRadius*sin(fAng),0), in DrawArcEntity() 392 rE.aP0+DXFVector(rE.fRadius*cos(fAng),rE.fRadius*sin(fAng),rE.fThickness), in DrawArcEntity()
|
/trunk/main/odk/examples/DevelopersGuide/Charts/ |
H A D | ChartInDraw.java | 247 double fSinX = java.lang.Math.sin( java.lang.Math.PI / 180.0 * fAngle ); in testThreeD() 252 double fSinY = java.lang.Math.sin( java.lang.Math.PI / 180.0 * fAngle ); in testThreeD() 257 double fSinZ = java.lang.Math.sin( java.lang.Math.PI / 180.0 * fAngle ); in testThreeD()
|
/trunk/main/vcl/workben/ |
H A D | svptest.cxx | 174 double z1 = y * sin( angle_x ); in project() 177 double x2 = x1 * cos( angle_z ) + y1 * sin( angle_z ); in project() 334 double sind = sin( DELTA*M_PI/180.0 ); in Paint()
|
/trunk/main/connectivity/qa/complex/connectivity/dbase/ |
H A D | DBaseNumericFunctions.java | 72 sin(xRowRes); in testFunctions() 175 …private void sin(final XRowSet xRowRes) throws com.sun.star.uno.Exception, com.sun.star.beans.Unkn… in sin() method in DBaseNumericFunctions 178 assertTrue("SIN(PI()) failed!", (float) row.getDouble(1) == (float) java.lang.Math.sin(2)); in sin()
|
/trunk/main/svx/source/dialog/ |
H A D | framelink.cxx | 628 double fASin = sin( fTLBRAngle ); 635 double fBSin = sin( fBLTRAngle ); 1353 return lclD2L( nVerOffs / tan( fAngle ) + nDiagOffs / sin( fAngle ) ); in GetTLDiagOffset() 1358 return lclD2L( -nVerOffs / tan( fAngle ) + nDiagOffs / sin( fAngle ) ); in GetBLDiagOffset() 1363 return -lclD2L( -nVerOffs / tan( fAngle ) - nDiagOffs / sin( fAngle ) ); in GetBRDiagOffset() 1368 return -lclD2L( nVerOffs / tan( fAngle ) - nDiagOffs / sin( fAngle ) ); in GetTRDiagOffset()
|
/trunk/main/sal/osl/unx/ |
H A D | socket.c | 1110 struct sockaddr_in *sin= (struct sockaddr_in *)&(pSockAddr->m_sockaddr); in _osl_hostentToHostAddr() local 1112 &(sin->sin_addr.s_addr), in _osl_hostentToHostAddr() 1268 const struct sockaddr_in *sin= (const struct sockaddr_in *)&(pAddr->m_sockaddr); in osl_createHostAddrByAddr() local 1271 if (sin->sin_addr.s_addr == htonl(INADDR_ANY)) in osl_createHostAddrByAddr() 1274 he= gethostbyaddr((sal_Char *)&(sin->sin_addr), in osl_createHostAddrByAddr() 1275 sizeof (sin->sin_addr), in osl_createHostAddrByAddr() 1276 sin->sin_family); in osl_createHostAddrByAddr()
|
/trunk/main/sal/osl/os2/ |
H A D | socket.c | 1129 struct sockaddr_in *sin= (struct sockaddr_in *)&(pSockAddr->m_sockaddr); in _osl_hostentToHostAddr() local 1131 &(sin->sin_addr.s_addr), in _osl_hostentToHostAddr() 1288 const struct sockaddr_in *sin= (const struct sockaddr_in *)&(pAddr->m_sockaddr); in osl_createHostAddrByAddr() local 1291 if (sin->sin_addr.s_addr == htonl(INADDR_ANY)) in osl_createHostAddrByAddr() 1294 he= gethostbyaddr((sal_Char *)&(sin->sin_addr), in osl_createHostAddrByAddr() 1295 sizeof (sin->sin_addr), in osl_createHostAddrByAddr() 1296 sin->sin_family); in osl_createHostAddrByAddr()
|
/trunk/main/basegfx/source/matrix/ |
H A D | b3dhommatrix.cxx | 203 double fSin(sin(fAngleX)); in rotate() 217 double fSin(sin(fAngleY)); in rotate() 231 double fSin(sin(fAngleZ)); in rotate()
|
/trunk/main/drawinglayer/source/primitive3d/ |
H A D | polygontubeprimitive3d.cxx | 284 const double fSin(sin(-fAngle)); in getLineJoinSegments() 287 const double fMiterSin(bMiter ? sin(-(fAngle/2.0)) : 0.0); in getLineJoinSegments() 309 sin(fPos), in getLineJoinSegments()
|
/trunk/main/vcl/source/gdi/ |
H A D | outdev4.cxx | 180 fHeight * fabs( sin( fAngle ) ); in ImplDrawLinearGradient() 182 fWidth * fabs( sin( fAngle ) ); in ImplDrawLinearGradient() 431 double fDX = fWidth * fabs( cos( fAngle ) ) + fHeight * fabs( sin( fAngle ) ); in ImplDrawComplexGradient() 432 double fDY = fHeight * fabs( cos( fAngle ) ) + fWidth * fabs( sin( fAngle ) ); in ImplDrawComplexGradient() 1305 rInc = Size( nDist = FRound( nDist / sin( fAngle ) ), 0 ); in ImplCalcHatchValues()
|
/trunk/main/sal/inc/rtl/ |
H A D | math.hxx | 403 inline double sin(double d) in sin() function 406 return ::sin( d ); in sin()
|
/trunk/main/basegfx/source/tools/ |
H A D | gradienttools.cxx | 77 const double fAbsSin(fabs(sin(fAngle))); in init1DGradientInfo() 227 const double fAbsSin(fabs(sin(fAngle))); in initRectGradientInfo()
|
/trunk/main/slideshow/source/engine/OGLTrans/ |
H A D | OGLTrans_TransitionImpl.cxx | 404 y = -sin ((3*2*M_PI*t)/nParts); in makeIris() 433 ry = sin ((2*M_PI*i)/nParts); in makeIris() 549 …unScaledTexCoords.push_back( basegfx::B2DVector( cos(TempAngle - 3.1415926/2.0) , sin(TempAngle- 3… in makeRevolvingCircles() 825 y = height*(sin (a2) - sin (a1))/2; in interpolate()
|
/trunk/main/chart2/source/view/diagram/ |
H A D | VDiagram.cxx | 350 double sx = fabs(sin(m_fXAnglePi)); in adjustAspectRatio3d() 352 double sy = fabs(sin(m_fYAnglePi)); in adjustAspectRatio3d() 354 double sz = fabs(sin(m_fZAnglePi)); in adjustAspectRatio3d()
|