Home
last modified time | relevance | path

Searched refs:sin (Results 1 – 25 of 209) sorted by relevance

123456789

/trunk/main/chart2/source/tools/
H A DThreeDHelper.cxx513 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 DRelativePositionHelper.cxx244 …::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 DLabelPositionHelper.cxx145 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 DShapeFactory.cxx880 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 Dcalendar_hijri.cxx158 + 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 Dfigurewipe.cxx48 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 Dcanvasdemo.cxx228 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 Danalysishelper.cxx2003 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 Dbessel.cxx348 *(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 DSlsAnimationFunction.cxx49 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 Dsocket.cxx760 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 Ddxf2mtf.cxx319 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 DChartInDraw.java247 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 Dsvptest.cxx174 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 DDBaseNumericFunctions.java72 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 Dframelink.cxx628 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 Dsocket.c1110 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 Dsocket.c1129 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 Db3dhommatrix.cxx203 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 Dpolygontubeprimitive3d.cxx284 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 Doutdev4.cxx180 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 Dmath.hxx403 inline double sin(double d) in sin() function
406 return ::sin( d ); in sin()
/trunk/main/basegfx/source/tools/
H A Dgradienttools.cxx77 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 DOGLTrans_TransitionImpl.cxx404 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 DVDiagram.cxx350 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()

Completed in 239 milliseconds

123456789