/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/common/preview_items/ |
H A D | arc_geom_manager.cpp | 162 double ccwAngle = m_endAngle - m_startAngle; in setEnd() local 165 ccwAngle += 2 * M_PI; in setEnd() 167 double cwAngle = std::abs( ccwAngle - 2 * M_PI ); in setEnd() 169 if( std::min( ccwAngle, cwAngle ) >= M_PI_2 ) in setEnd() 172 m_clockwise = cwAngle < ccwAngle; in setEnd()
|
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/libslic3r/GCode/ |
H A D | SeamPlacer.cpp | 367 float ccwAngle = penalties[i]; in get_seam() local 369 ccwAngle = - ccwAngle; in get_seam() 371 if (ccwAngle <- float(0.6 * PI)) in get_seam() 374 else if (ccwAngle > float(0.6 * PI)) in get_seam() 377 else if (ccwAngle < 0.f) { in get_seam() 379 penalty = penaltyFlatSurface * bspline_kernel(ccwAngle * float(PI * 2. / 3.)); in get_seam() 381 assert(ccwAngle >= 0.f); in get_seam() 383 …vexVertex + (penaltyFlatSurface - penaltyConvexVertex) * bspline_kernel(ccwAngle * float(PI * 2. /… in get_seam()
|
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/geometry/ |
H A D | qgscircularstring.cpp | 171 double p1Angle = QgsGeometryUtils::ccwAngle( pt1.y() - centerY, pt1.x() - centerX ); in segmentBoundingBox() 172 double p2Angle = QgsGeometryUtils::ccwAngle( pt2.y() - centerY, pt2.x() - centerX ); in segmentBoundingBox() 173 double p3Angle = QgsGeometryUtils::ccwAngle( pt3.y() - centerY, pt3.x() - centerX ); in segmentBoundingBox() 809 double p1Angle = QgsGeometryUtils::ccwAngle( pt1.y() - centerY, pt1.x() - centerX ); 1043 double angle = QgsGeometryUtils::ccwAngle( pt.y() - centerY, pt.x() - centerX ); in closestPointOnArc() 1044 double angle1 = QgsGeometryUtils::ccwAngle( pt1.y() - centerY, pt1.x() - centerX ); in closestPointOnArc() 1045 double angle2 = QgsGeometryUtils::ccwAngle( pt2.y() - centerY, pt2.x() - centerX ); in closestPointOnArc() 1046 double angle3 = QgsGeometryUtils::ccwAngle( pt3.y() - centerY, pt3.x() - centerX ); in closestPointOnArc()
|
H A D | qgsgeometryutils.cpp | 659 double QgsGeometryUtils::ccwAngle( double dy, double dx ) in ccwAngle() function in QgsGeometryUtils 769 double p1Angle = QgsGeometryUtils::ccwAngle( y1 - centerY, x1 - centerX ); in sweepAngle() 770 double p2Angle = QgsGeometryUtils::ccwAngle( y2 - centerY, x2 - centerX ); in sweepAngle() 771 double p3Angle = QgsGeometryUtils::ccwAngle( y3 - centerY, x3 - centerX ); in sweepAngle() 860 double p1Angle = QgsGeometryUtils::ccwAngle( cp1.y() - mY, cp1.x() - mX ); in circleTangentDirection() 861 double p2Angle = QgsGeometryUtils::ccwAngle( cp2.y() - mY, cp2.x() - mX ); in circleTangentDirection() 862 double p3Angle = QgsGeometryUtils::ccwAngle( cp3.y() - mY, cp3.x() - mX ); in circleTangentDirection()
|
H A D | qgsgeometryutils.h | 315 static double ccwAngle( double dy, double dx ) SIP_HOLDGIL;
|
/dports/graphics/qgis/qgis-3.22.3/src/core/geometry/ |
H A D | qgscircularstring.cpp | 343 double p1Angle = QgsGeometryUtils::ccwAngle( pt1.y() - centerY, pt1.x() - centerX ); in segmentBoundingBox() 344 double p2Angle = QgsGeometryUtils::ccwAngle( pt2.y() - centerY, pt2.x() - centerX ); in segmentBoundingBox() 345 double p3Angle = QgsGeometryUtils::ccwAngle( pt3.y() - centerY, pt3.x() - centerX ); in segmentBoundingBox() 1199 double p1Angle = QgsGeometryUtils::ccwAngle( pt1.y() - centerY, pt1.x() - centerX ); 1433 double angle = QgsGeometryUtils::ccwAngle( pt.y() - centerY, pt.x() - centerX ); in closestPointOnArc() 1434 double angle1 = QgsGeometryUtils::ccwAngle( pt1.y() - centerY, pt1.x() - centerX ); in closestPointOnArc() 1435 double angle2 = QgsGeometryUtils::ccwAngle( pt2.y() - centerY, pt2.x() - centerX ); in closestPointOnArc() 1436 double angle3 = QgsGeometryUtils::ccwAngle( pt3.y() - centerY, pt3.x() - centerX ); in closestPointOnArc()
|
H A D | qgsgeometryutils.cpp | 676 double QgsGeometryUtils::ccwAngle( double dy, double dx ) in ccwAngle() function in QgsGeometryUtils 786 const double p1Angle = QgsGeometryUtils::ccwAngle( y1 - centerY, x1 - centerX ); in sweepAngle() 787 const double p2Angle = QgsGeometryUtils::ccwAngle( y2 - centerY, x2 - centerX ); in sweepAngle() 788 const double p3Angle = QgsGeometryUtils::ccwAngle( y3 - centerY, x3 - centerX ); in sweepAngle() 877 const double p1Angle = QgsGeometryUtils::ccwAngle( cp1.y() - mY, cp1.x() - mX ); in circleTangentDirection() 878 const double p2Angle = QgsGeometryUtils::ccwAngle( cp2.y() - mY, cp2.x() - mX ); in circleTangentDirection() 879 const double p3Angle = QgsGeometryUtils::ccwAngle( cp3.y() - mY, cp3.x() - mX ); in circleTangentDirection()
|
H A D | qgsgeometryutils.h | 345 static double ccwAngle( double dy, double dx ) SIP_HOLDGIL;
|
/dports/graphics/qgis-ltr/qgis-3.16.16/python/core/auto_generated/geometry/ |
H A D | qgsgeometryutils.sip.in | 282 static double ccwAngle( double dy, double dx ) /HoldGIL/;
|
/dports/graphics/qgis/qgis-3.22.3/python/core/auto_generated/geometry/ |
H A D | qgsgeometryutils.sip.in | 315 static double ccwAngle( double dy, double dx ) /HoldGIL/;
|