Home
last modified time | relevance | path

Searched refs:currentAngle (Results 1 – 25 of 131) sorted by relevance

123456

/dports/biology/protomol/protomol/applications/iSGProtomol-app/forces/
H A DiSGAngleSystemForce.h24 const Angle& currentAngle,
30 const Angle& currentAngle,
95 int a1 = currentAngle.atom1; in calcAngle()
96 int a2 = currentAngle.atom2; in calcAngle()
97 int a3 = currentAngle.atom3; in calcAngle()
105 Real DeltaK = currentAngle.DeltaK; in calcAngle()
207 const Angle& currentAngle, in calcAngleEnergy() argument
215 a1 = currentAngle.atom1; in calcAngleEnergy()
216 a2 = currentAngle.atom2; in calcAngleEnergy()
217 a3 = currentAngle.atom3; in calcAngleEnergy()
[all …]
/dports/biology/protomol/protomol/framework/forces/
H A DAngleSystemForce.h24 const Angle& currentAngle,
30 const Angle& currentAngle,
92 const Angle& currentAngle, in calcAngle() argument
97 int a1 = currentAngle.atom1; in calcAngle()
98 int a2 = currentAngle.atom2; in calcAngle()
99 int a3 = currentAngle.atom3; in calcAngle()
181 const Angle& currentAngle, in calcAngleEnergy() argument
189 a1 = currentAngle.atom1; in calcAngleEnergy()
190 a2 = currentAngle.atom2; in calcAngleEnergy()
191 a3 = currentAngle.atom3; in calcAngleEnergy()
[all …]
/dports/security/keybase/client-v5.7.1/shared/ios/Pods/lottie-ios/lottie-swift/src/Private/NodeRenderSystem/Nodes/PathNodes/
H A DStarNode.swift97 var currentAngle = (rotation - 90).toRadians() in rebuildOutputs() variable
106 currentAngle += halfAnglePerPoint * (1 - partialPointAmount) in rebuildOutputs()
108 point.x = (partialPointRadius * cos(currentAngle)) in rebuildOutputs()
109 point.y = (partialPointRadius * sin(currentAngle)) in rebuildOutputs()
110 currentAngle += anglePerPoint * partialPointAmount / 2 in rebuildOutputs()
112 point.x = (outerRadius * cos(currentAngle)) in rebuildOutputs()
113 point.y = (outerRadius * sin(currentAngle)) in rebuildOutputs()
114 currentAngle += halfAnglePerPoint in rebuildOutputs()
133 point.x = (radius * cos(currentAngle)) in rebuildOutputs()
134 point.y = (radius * sin(currentAngle)) in rebuildOutputs()
[all …]
H A DPolygonNode.swift84 var currentAngle = (rotation - 90).toRadians() in rebuildOutputs() variable
87 var point = CGPoint(x: (outerRadius * cos(currentAngle)), in rebuildOutputs()
88 y: (outerRadius * sin(currentAngle))) in rebuildOutputs()
92 currentAngle += anglePerPoint; in rebuildOutputs()
95 point = CGPoint(x: (outerRadius * cos(currentAngle)), in rebuildOutputs()
96 y: (outerRadius * sin(currentAngle))) in rebuildOutputs()
118 currentAngle += anglePerPoint; in rebuildOutputs()
/dports/devel/shiboken2/pyside-setup-opensource-src-5.15.2/examples/tutorial/
H A Dt8.py93 self.currentAngle = 45
98 return self.currentAngle
106 if self.currentAngle == angle:
108 self.currentAngle = angle
110 self.emit(QtCore.SIGNAL("angleChanged(int)"), self.currentAngle)
114 painter.drawText(200, 200, "Angle = %d" % self.currentAngle)
H A Dt9.py93 self.currentAngle = 45
98 return self.currentAngle
106 if self.currentAngle == angle:
108 self.currentAngle = angle
110 self.emit(QtCore.SIGNAL("angleChanged(int)"), self.currentAngle)
120 painter.rotate(-self.currentAngle)
H A Dt10.py94 self.currentAngle = 45
100 return self.currentAngle
108 if self.currentAngle == angle:
110 self.currentAngle = angle
112 self.emit(QtCore.SIGNAL("angleChanged(int)"), self.currentAngle)
134 painter.rotate(-self.currentAngle)
/dports/devel/pyside2/pyside-setup-opensource-src-5.15.2/examples/tutorial/
H A Dt8.py93 self.currentAngle = 45
98 return self.currentAngle
106 if self.currentAngle == angle:
108 self.currentAngle = angle
110 self.emit(QtCore.SIGNAL("angleChanged(int)"), self.currentAngle)
114 painter.drawText(200, 200, "Angle = %d" % self.currentAngle)
H A Dt9.py93 self.currentAngle = 45
98 return self.currentAngle
106 if self.currentAngle == angle:
108 self.currentAngle = angle
110 self.emit(QtCore.SIGNAL("angleChanged(int)"), self.currentAngle)
120 painter.rotate(-self.currentAngle)
H A Dt10.py94 self.currentAngle = 45
100 return self.currentAngle
108 if self.currentAngle == angle:
110 self.currentAngle = angle
112 self.emit(QtCore.SIGNAL("angleChanged(int)"), self.currentAngle)
134 painter.rotate(-self.currentAngle)
/dports/devel/pyside2-tools/pyside-setup-opensource-src-5.15.2/examples/tutorial/
H A Dt8.py93 self.currentAngle = 45
98 return self.currentAngle
106 if self.currentAngle == angle:
108 self.currentAngle = angle
110 self.emit(QtCore.SIGNAL("angleChanged(int)"), self.currentAngle)
114 painter.drawText(200, 200, "Angle = %d" % self.currentAngle)
H A Dt9.py93 self.currentAngle = 45
98 return self.currentAngle
106 if self.currentAngle == angle:
108 self.currentAngle = angle
110 self.emit(QtCore.SIGNAL("angleChanged(int)"), self.currentAngle)
120 painter.rotate(-self.currentAngle)
H A Dt10.py94 self.currentAngle = 45
100 return self.currentAngle
108 if self.currentAngle == angle:
110 self.currentAngle = angle
112 self.emit(QtCore.SIGNAL("angleChanged(int)"), self.currentAngle)
134 painter.rotate(-self.currentAngle)
/dports/graphics/processing/processing-1.5.1/modes/java/libraries/video/examples/RadialPocky/
H A DRadialPocky.pde13 int currentAngle;
65 if (angles[i] == currentAngle) {
71 currentAngle++;
72 if (currentAngle == angleCount) currentAngle = 0;
/dports/java/jgraphx/jgraphx-4.2.2/src/com/mxgraph/swing/handler/
H A DmxRotationHandler.java83 protected double currentAngle; field in mxRotationHandler
182 currentAngle = initialAngle; in start()
262 currentAngle * mxConstants.DEG_PER_RAD); in mouseDragged()
272 currentAngle = ((pt.getX() > cx) ? -1 : 1) * Math.acos(dy / c) in mouseDragged()
275 dirty.add(mxUtils.getBoundingBox(currentState, currentAngle in mouseDragged()
307 deg += currentAngle * mxConstants.DEG_PER_RAD; in mouseReleased()
344 dirty = mxUtils.getBoundingBox(currentState, currentAngle in reset()
350 currentAngle = 0; in reset()
367 double deg = currentAngle * mxConstants.DEG_PER_RAD; in paint()
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/rlottie/src/vector/
H A Dvpath.cpp534 currentAngle += in addPolystar()
545 x = outerRadius * cosf(currentAngle); in addPolystar()
546 y = outerRadius * sinf(currentAngle); in addPolystar()
570 x = radius * cosf(currentAngle); in addPolystar()
571 y = radius * sinf(currentAngle); in addPolystar()
610 currentAngle += dTheta * angleDir; in addPolystar()
633 currentAngle = (currentAngle - 90.0f) * K_PI / 180.0f; in addPolygon()
634 x = radius * cosf(currentAngle); in addPolygon()
635 y = radius * sinf(currentAngle); in addPolygon()
650 x = (radius * cosf(currentAngle)); in addPolygon()
[all …]
/dports/graphics/rlottie/rlottie-0.2-49-g327fb7d/src/vector/
H A Dvpath.cpp537 currentAngle += in addPolystar()
548 x = outerRadius * cosf(currentAngle); in addPolystar()
549 y = outerRadius * sinf(currentAngle); in addPolystar()
573 x = radius * cosf(currentAngle); in addPolystar()
574 y = radius * sinf(currentAngle); in addPolystar()
613 currentAngle += dTheta * angleDir; in addPolystar()
636 currentAngle = (currentAngle - 90.0f) * K_PI / 180.0f; in addPolygon()
637 x = radius * cosf(currentAngle); in addPolygon()
638 y = radius * sinf(currentAngle); in addPolygon()
653 x = (radius * cosf(currentAngle)); in addPolygon()
[all …]
/dports/x11-toolkits/qt5-charts/kde-qtcharts-5.15.2p2/src/charts/linechart/
H A Dlinechartitem.cpp186 qreal currentAngle = 0; in updateGeometry() local
189 currentAngle = pd->toAngularCoordinate(currentSeriesPoint.x(), dummyOk); in updateGeometry()
194 if ((qAbs(currentAngle - previousAngle) > 180.0)) { in updateGeometry()
223 … if ((currentAngle < 0.0 || (currentAngle <= 180.0 && currentGeometryPoint.x() < rightMarginLine)) in updateGeometry()
226 …} else if ((currentAngle > 360.0 || (currentAngle > 180.0 &&currentGeometryPoint.x() > leftMarginL… in updateGeometry()
229 } else if (currentAngle > 0.0 && currentAngle < 360.0) { in updateGeometry()
248 if (previousAngle < 0.0 || currentAngle < 0.0 in updateGeometry()
249 || ((previousAngle <= 180.0 && currentAngle <= 180.0) in updateGeometry()
253 } else if (previousAngle > 360.0 || currentAngle > 360.0 in updateGeometry()
254 || ((previousAngle > 180.0 && currentAngle > 180.0) in updateGeometry()
/dports/editors/yudit/yudit-3.0.7/stoolkit/
H A DSHWConverter.cpp838 unsigned int currentAngle = 0; in rewriteGuideElementsV2() local
849 if (currentAngle > 12) in rewriteGuideElementsV2()
854 currentAngle); in rewriteGuideElementsV2()
860 currentAngle=0; in rewriteGuideElementsV2()
870 if (currentAngle > 12) in rewriteGuideElementsV2()
875 currentAngle); in rewriteGuideElementsV2()
881 currentAngle=0; in rewriteGuideElementsV2()
902 currentAngle=currentAngle*10 + (unsigned int) (buffer[i] - '0'); in rewriteGuideElementsV2()
920 if (currentAngle > 12) in rewriteGuideElementsV2()
925 currentAngle); in rewriteGuideElementsV2()
[all …]
/dports/devel/juce/JUCE-f37e9a1/examples/Audio/
H A DAudioSynthesiserDemo.h78 currentAngle = 0.0; in startNote()
117 auto currentSample = (float) (std::sin (currentAngle) * level * tailOff); in renderNextBlock()
122 currentAngle += angleDelta; in renderNextBlock()
140 auto currentSample = (float) (std::sin (currentAngle) * level); in renderNextBlock()
145 currentAngle += angleDelta; in renderNextBlock()
155 double currentAngle = 0.0, angleDelta = 0.0, level = 0.0, tailOff = 0.0;
/dports/www/wt/wt-4.6.1/src/Wt/Chart/
H A DWPieChart.C232 double currentAngle = startAngle_; in paint() local
296 currentAngle = endAngle; in paint()
450 double currentAngle = startAngle_; in drawPie() local
452 startAngles[i] = currentAngle; in drawPie()
463 double to90 = currentAngle - 90; in drawPie()
473 currentAngle = endAngle; in drawPie()
591 double currentAngle = startAngle_; in drawSlices() local
633 a = currentAngle - d; in drawSlices()
635 a = currentAngle + d; in drawSlices()
640 double a = currentAngle + spanAngle; in drawSlices()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/illusions/bbdou/
H A Dbbdou_bubble.cpp201 float currentAngle, radius; in calcBubbleTrail() local
244 currentAngle = (float)M_PI * 0.5F; in calcBubbleTrail()
246 currentAngle = (float)M_PI * 1.5F; in calcBubbleTrail()
253 currentAngle = (float)M_PI; in calcBubbleTrail()
255 currentAngle = 0.0; in calcBubbleTrail()
270 currentAngle += angleIncr; in calcBubbleTrail()
274 centerX + _vm->getRandom(8) - 2 + (int)(cos(currentAngle) * radius), in calcBubbleTrail()
275 centerY + _vm->getRandom(8) - 2 - (int)(sin(currentAngle) * radius)); in calcBubbleTrail()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/illusions/bbdou/
H A Dbbdou_bubble.cpp201 float currentAngle, radius; in calcBubbleTrail() local
244 currentAngle = (float)M_PI * 0.5F; in calcBubbleTrail()
246 currentAngle = (float)M_PI * 1.5F; in calcBubbleTrail()
253 currentAngle = (float)M_PI; in calcBubbleTrail()
255 currentAngle = 0.0; in calcBubbleTrail()
270 currentAngle += angleIncr; in calcBubbleTrail()
274 centerX + _vm->getRandom(8) - 2 + (int)(cos(currentAngle) * radius), in calcBubbleTrail()
275 centerY + _vm->getRandom(8) - 2 - (int)(sin(currentAngle) * radius)); in calcBubbleTrail()
/dports/www/firefox-esr/firefox-91.8.0/dom/base/
H A DWindowOrientationObserver.cpp37 uint16_t currentAngle = aConfiguration.angle(); in Notify() local
38 if (mAngle != currentAngle && mWindow->IsCurrentInnerWindow()) { in Notify()
39 mAngle = currentAngle; in Notify()
/dports/lang/spidermonkey78/firefox-78.9.0/dom/base/
H A DWindowOrientationObserver.cpp37 uint16_t currentAngle = aConfiguration.angle(); in Notify() local
38 if (mAngle != currentAngle && mWindow->IsCurrentInnerWindow()) { in Notify()
39 mAngle = currentAngle; in Notify()

123456