/dports/print/gutenprint/gutenprint-5.3.3/test/ |
H A D | curve.c | 609 if (curve2) in piecewise_curve_checks() 626 if (curve2) in piecewise_curve_checks() 688 if (curve2 != NULL && stp_curve_resample(curve2, 95) == 0) in main() 698 if (curve2) in main() 763 if (curve2) in main() 872 if (curve2) in main() 895 if (curve2) in main() 919 if (curve2) in main() 945 if (curve2) in main() 1194 if (curve2) in main() [all …]
|
/dports/print/gimp-gutenprint/gutenprint-5.3.3/test/ |
H A D | curve.c | 609 if (curve2) in piecewise_curve_checks() 626 if (curve2) in piecewise_curve_checks() 688 if (curve2 != NULL && stp_curve_resample(curve2, 95) == 0) in main() 698 if (curve2) in main() 763 if (curve2) in main() 872 if (curve2) in main() 895 if (curve2) in main() 919 if (curve2) in main() 945 if (curve2) in main() 1194 if (curve2) in main() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/gel/vsol/tests/ |
H A D | test_vsol_digital_curve_3d.cxx | 57 vsol_digital_curve_3d_sptr curve1, curve2; in test_vsol_digital_curve_3d() local 61 bool split_test = split(dc, 1.5, curve1, curve2); in test_vsol_digital_curve_3d() 62 TEST("split curve at 1.5", split_test && curve1 && curve2, true); in test_vsol_digital_curve_3d() 67 std::cout << "curve 2: " << *curve2 << std::endl in test_vsol_digital_curve_3d() 68 << curve2->point(0)->get_p() << std::endl; in test_vsol_digital_curve_3d() 70 && curve2->size() == 4, true); in test_vsol_digital_curve_3d() 76 split_test = split(dc, index, curve1, curve2); in test_vsol_digital_curve_3d() 81 std::cout << "curve 2: " << *curve2 << std::endl; in test_vsol_digital_curve_3d() 83 && curve2->size() == 2, true); in test_vsol_digital_curve_3d() 89 split_test = split(dc, index, curve1, curve2); in test_vsol_digital_curve_3d() [all …]
|
H A D | test_vsol_digital_curve_2d.cxx | 73 vsol_digital_curve_2d_sptr curve1, curve2; in test_vsol_digital_curve_2d() local 77 bool split_test = split(dc, 1.5, curve1, curve2); in test_vsol_digital_curve_2d() 78 TEST("split curve at 1.5", split_test && curve1 && curve2, true); in test_vsol_digital_curve_2d() 82 && curve2->size() == 4, true); in test_vsol_digital_curve_2d() 84 << "curve 2: " << *curve2 << std::endl; in test_vsol_digital_curve_2d() 89 split_test = split(dc, 3.0, curve1, curve2); in test_vsol_digital_curve_2d() 90 TEST("split curve at 3.0", split_test && curve1 && curve2, true); in test_vsol_digital_curve_2d() 94 && curve2->size() == 2, true); in test_vsol_digital_curve_2d() 96 << "curve 2: " << *curve2 << std::endl; in test_vsol_digital_curve_2d() 101 split_test = split(dc, 4.0, curve1, curve2); in test_vsol_digital_curve_2d() [all …]
|
/dports/graphics/nurbs++/nurbs++-3.0.11/examples/nurbs/ |
H A D | tclose.cpp | 26 PlNurbsCurvef curve2 ; in main() local 38 curve2.globalInterpClosedH(Pw,deg) ; in main() 41 cout << "U2 = " << curve2.knot() << endl ; in main() 42 cout << "P2 = " << curve2.ctrlPnts() << endl ; in main() 43 cout << "D2 = " << curve2.degree() << endl ; in main() 50 curve2.drawImg(image,Color(0,255,0),0.01) ; in main() 56 curve2.writePS("tnClosedA.ps",1,2.0,5,false) ; in main() 60 curve1 = curve2 ; in main() 63 cout << "Testing if it worked: c1(0) = " << curve2(0) << endl ; in main() 65 cout << " c1(0.01) = " << curve2(0.01) << endl ; in main() [all …]
|
/dports/science/axom/axom-0.6.1/src/axom/primal/tests/ |
H A D | primal_bezier_intersect.cpp | 69 auto p2 = curve2.evaluate(t[i]); in checkIntersections() 144 curve2, in TEST() 169 curve2, in TEST() 194 curve2, in TEST() 241 curve2, in TEST() 248 checkIntersections(curve2, in TEST() 284 BezierCurveType curve2(data2, order); in TEST() local 292 curve2, in TEST() 348 curve2, in TEST() 381 BezierCurveType curve2(data2, order); in TEST() local [all …]
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/lyon_geom-0.15.3/src/ |
H A D | cubic_bezier_intersections.rs | 24 curve2: &CubicBezierSegment<S>, in cubic_bezier_intersections_t() 29 || curve1 == curve2 59 let point2 = midpoint(&curve2.from, &curve2.to); 84 &curve2, 287 &curve2, 296 } else if curve2.from == curve2.to { 376 curve2, 392 curve2, 404 curve2, 447 curve2, [all …]
|
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/lyon_geom-0.15.2/src/ |
H A D | cubic_bezier_intersections.rs | 24 curve2: &CubicBezierSegment<S>, in cubic_bezier_intersections_t() 29 || curve1 == curve2 59 let point2 = midpoint(&curve2.from, &curve2.to); 84 &curve2, 287 &curve2, 296 } else if curve2.from == curve2.to { 376 curve2, 392 curve2, 404 curve2, 447 curve2, [all …]
|
/dports/math/octave-forge-matgeom/matgeom-1.2.3/inst/meshes3d/ |
H A D | triangulateCurvePair.m | 28 function [vertices, facets] = triangulateCurvePair(curve1, curve2) 38 % curve2 = [linspace(0, 10, 100)' 2 * sin(t') 2*ones(100,1)]; 41 % drawPolyline3d(curve2, 'g'); 43 % [v, f] = triangulateCurvePair(curve1, curve2); 61 n2 = size(curve2, 1); 70 if distancePoints(p1, curve2(1,:)) > distancePoints(p1, curve2(end,:)) 71 curve2 = curve2(end:-1:1,:); variable 77 vertices = [curve1 ; curve2]; 92 dist1 = distancePoints(curve1(currentIndex1, :), curve2(nextIndex2,:)); 96 % keep current vertex of curve1, use next vertex on curve2 [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/mul/msm/tests/ |
H A D | test_curves.cxx | 36 msm_curve curve2; in test_curve() local 37 curve2.config_from_stream(params2); in test_curve() 38 std::cout<<curve2<<std::endl; in test_curve() 39 TEST("Name",curve2.name(),"fred"); in test_curve() 40 TEST("Open",curve2.open(),false); in test_curve() 41 TEST("First",curve2.index()[0],2); in test_curve() 42 TEST("Last",curve2.index()[2],9); in test_curve()
|
/dports/graphics/py-pyqtgraph/pyqtgraph-0.12.3/pyqtgraph/graphicsItems/ |
H A D | FillBetweenItem.py | 12 def __init__(self, curve1=None, curve2=None, brush=None, pen=None): argument 15 if curve1 is not None and curve2 is not None: 16 self.setCurves(curve1, curve2) 17 elif curve1 is not None or curve2 is not None: 32 def setCurves(self, curve1, curve2): argument 46 curves = [curve1, curve2] 52 curve2.sigPlotChanged.connect(self.curveChanged) 53 self.setZValue(min(curve1.zValue(), curve2.zValue())-1)
|
/dports/converters/wkhtmltopdf/qt-5db36ec/tests/auto/qeasingcurve/ |
H A D | tst_qeasingcurve.cpp | 475 QEasingCurve curve2; in operators() local 477 curve2 = curve; in operators() 488 curve2 = curve; in operators() 489 curve2.setOvershoot(qreal(1.70158)); in operators() 491 QVERIFY(curve2 == curve); in operators() 494 QVERIFY(curve2 != curve); in operators() 495 curve2.setOvershoot(3.0); in operators() 496 QVERIFY(curve2 == curve); in operators() 498 curve2.setType(QEasingCurve::Linear); in operators() 500 QVERIFY(curve2 != curve); in operators() [all …]
|
/dports/math/sisl/SISL-SISL-4.6.0-44-g9114631/src/ |
H A D | s1537.c | 182 SISLCurve *curve1=SISL_NULL, *curve2=SISL_NULL; local 214 start, &end, &curve2, &pointpar, &numpt, &kstat); 222 newin1 = curve2->in; 228 s6chpar(curve2->ecoef, newin2, newin1, idim, newcoeff); 232 if (((*rsurf) = newSurf(newin1, newin2, order1, order2, curve2->et, 238 (*rsurf)->cuopen_1 = curve2->cuopen; 268 if (curve2 != SISL_NULL) freeCurve(curve2);
|
H A D | s1535.c | 202 SISLCurve *curve2=SISL_NULL; local 282 order1, start, &end, &curve2, &pointpar, &numpt, &kstat); 289 newin1 = curve2->in; 295 s6chpar(curve2->ecoef, newin2, newin1, idim, coeffposder); 299 if (((*rsurf) = newSurf(newin1, newin2, order1, order2, curve2->et, 305 (*rsurf)->cuopen_1 = curve2->cuopen; 347 if(curve2 != SISL_NULL) freeCurve(curve2);
|
/dports/graphics/dia/dia-0.97.3/objects/SADT/ |
H A D | arrow.c | 330 BezPoint curve2[2]; in draw_tunnel() local 341 curve1[0].type = curve2[0].type = BEZ_MOVE_TO; in draw_tunnel() 342 curve1[0].p1 = curve2[0].p1 = *end; in draw_tunnel() 345 point_add(&curve1[0].p1,&vt1); point_add(&curve2[0].p1,&vt1); in draw_tunnel() 349 point_add(&curve1[0].p1,&vt2); point_sub(&curve2[0].p1,&vt2); in draw_tunnel() 355 curve1[1].type = curve2[1].type = BEZ_CURVE_TO; in draw_tunnel() 356 curve1[1].p1 = curve1[0].p1; curve2[1].p1 = curve2[0].p1; in draw_tunnel() 357 point_add(&curve1[1].p1,&vt1); point_add(&curve2[1].p1,&vt1); in draw_tunnel() 359 curve1[1].p2 = curve1[1].p1; curve2[1].p2 = curve2[1].p1; in draw_tunnel() 361 curve1[1].p3 = curve1[1].p2; curve2[1].p3 = curve2[1].p2; in draw_tunnel() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/Bisector/ |
H A D | Bisector_BisecCC.cxx | 439 curve2 ->Transform(T); in Transform() 780 if (P1.Distance(curve2->Value(curve2->FirstParameter())) < Precision::Confusion()) { in ValueByInt() 782 curve2->D1(U2,P2,Tan2); in ValueByInt() 792 if (P1.Distance(curve2->Value(curve2->LastParameter())) < Precision::Confusion()) { in ValueByInt() 794 curve2->D1(U2,P2,Tan2); in ValueByInt() 904 P2 = curve2->Value(U2); in ValueByInt() 1085 curve2->D2(V0,P2,Tv,Tvv); in Values() 1218 P2 = curve2->Value(U2); in Extension() 1403 else if (I == 2) return curve2; in Handle() 1499 else if (I == 2) curve2 = C; in Curve() [all …]
|
/dports/math/sisl/SISL-SISL-4.6.0-44-g9114631/doc/manual/func/ |
H A D | s1715.tex | 6 the direction of the curve is turned. If {\fov curve2} is to be joined at the 12 {\fov curve1}, {\fov curve2}, {\fov end1}, {\fov end2}, {\fov newcurve}, {\fov stat}) 15 \>\> SISLCurve \> *{\fov curve2};\\ 24 \>\> {\fov curve2} \> - \> Second curve to join.\\ 46 \>\> SISLCurve \> *{\fov curve2};\\ 53 … {\fov curve1}, {\fov curve2}, {\fov end1}, {\fov end2}, \&{\fov newcurve}, \&{\fov stat});
|
H A D | s1716.tex | 7 If {\fov curve2} is to be joined at the end, the direction of this 15 {\fov curve1}, {\fov curve2}, {\fov epsge}, {\fov newcurve}, {\fov stat}) 18 \>\> SISLCurve \> *{\fov curve2};\\ 26 \>\> {\fov curve2} \> - \> Second curve to join.\\ 47 \>\> SISLCurve \> *{\fov curve2};\\ 53 {\fov curve1}, {\fov curve2}, {\fov epsge}, \&{\fov newcurve}, \&{\fov stat});
|
H A D | s1332.tex | 8 … {\fov curve1}, {\fov curve2}, {\fov epsge}, {\fov point}, {\fov surf}, {\fov stat}) 11 \>\> SISLCurve \> *{\fov curve2};\\ 23 \>\> {\fov curve2} \> - \> \begin{minipg2} 46 \>\> curve \> *{\fov curve2};\\ 53 … {\fov curve1}, {\fov curve2}, {\fov epsge}, {\fov point}, \&{\fov surf}, \&{\fov stat});
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bcvr/ |
H A D | bcvr_cvmatch.cxx | 284 pointx = curve2->x(previ2); in getMappingPointFromT() 285 pointy = curve2->y(previ2); in getMappingPointFromT() 289 pointx = curve2->x(i2); in getMappingPointFromT() 290 pointy = curve2->y(i2); in getMappingPointFromT() 297 pointx = curve2->x(previ2); in getMappingPointFromT() 298 pointy = curve2->y(previ2); in getMappingPointFromT() 304 total_s += curve2->s(i); in getMappingPointFromT() 307 double cur_s = curve2->s(curi2); in getMappingPointFromT() 315 pointx = curve2->x(curi2-1)*(1-diff_t) + curve2->x(curi2)*diff_t; in getMappingPointFromT() 316 pointy = curve2->y(curi2-1)*(1-diff_t) + curve2->y(curi2)*diff_t; in getMappingPointFromT() [all …]
|
/dports/misc/valentina/valentina-5b7e98bf48a86e3c444423a9f03533440a39aad9/src/libs/vtools/visualization/path/ |
H A D | vistoolpointofintersectioncurves.cpp | 71 auto curve2 = Visualization::data->GeometricObject<VAbstractCurve>(object2Id); in RefreshGeometry() local 72 … DrawPath(visCurve2, curve2->GetPath(), curve2->DirectionArrows(), supportColor, Qt::SolidLine, in RefreshGeometry() 76 … VToolPointOfIntersectionCurves::FindPoint(curve1->GetPoints(), curve2->GetPoints(), vCrossPoint, in RefreshGeometry()
|
/dports/math/openturns/openturns-1.18/python/doc/examples/data_analysis/estimate_stochastic_processes/ |
H A D | plot_estimate_spectral_density_function.py | 91 curve2 = ot.Curve(plotSample.getMarginal([0, 2])) variable 92 curve2.setColor('red') 93 curve2.setLegend('Cauchy model') 96 graph.add(curve2)
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/skia/skia/src/pathops/ |
H A D | SkOpEdgeBuilder.cpp | 221 SkPoint* curve2 = v2 != SkPath::kLine_Verb ? &pair[2] : cStorage[1]; in walk() local 222 if (can_add_curve(v1, curve1) && can_add_curve(v2, curve2)) { in walk() 224 fCurrentContour->addCurve(v2, curve2); in walk() 251 SkPoint* curve2 = v2 != SkPath::kLine_Verb ? pair[1].fPts : cStorage[1]; in walk() local 252 if (can_add_curve(v1, curve1) && can_add_curve(v2, curve2)) { in walk() 254 fCurrentContour->addCurve(v2, curve2, pair[1].fW); in walk() 277 SkPoint* curve2 = v2 == SkPath::kCubic_Verb ? &pair[3] : cStorage[1]; in walk() local 278 if (can_add_curve(v1, curve1) && can_add_curve(v2, curve2)) { in walk() 280 fCurrentContour->addCurve(v2, curve2); in walk()
|
/dports/math/cgal/CGAL-5.3/include/CGAL/Algebraic_kernel_d/ |
H A D | exceptions.h | 49 Polynomial curve1,curve2; variable 55 : curve1(c), curve2(c),one_curve_failure(true) in Zero_resultant_exception() 59 : curve1(c1),curve2(c2),one_curve_failure(false) in Zero_resultant_exception()
|
/dports/math/openturns/openturns-1.18/python/doc/pyplots/ |
H A D | WelchFactory.py | 72 curve2 = ot.Curve(plotSample.getMarginal(ind)) variable 73 curve2.setColor('red') 74 curve2.setLegend('Cauchy model') 77 graph.add(curve2)
|