/dports/audio/sox/sox-14.4.2/src/ |
H A D | firfit.c | 30 int num_knots, n; member 52 lsx_valloc(log_freqs , p->num_knots); in make_filter() 53 lsx_valloc(gains, p->num_knots); in make_filter() 54 lsx_valloc(d , p->num_knots); in make_filter() 55 for (i = 0; i < p->num_knots; ++i) { in make_filter() 68 f > p->knots[p->num_knots - 1].f? gains[p->num_knots - 1] : in make_filter() 94 &p->knots[p->num_knots].f, &p->knots[p->num_knots].gain); in read_knots() 96 if (p->num_knots && p->knots[p->num_knots].f <= p->knots[p->num_knots - 1].f) { in read_knots() 100 lsx_revalloc(p->knots, ++p->num_knots + 1); in read_knots() 104 lsx_report("%i knots", p->num_knots); in read_knots() [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/io/alembic/exporter/ |
H A D | abc_writer_curves.cc | 139 const size_t num_knots = KNOTSU(nurbs); in do_write() local 143 knots.resize(num_knots + 2); in do_write() 145 for (int i = 0; i < num_knots; i++) { in do_write() 151 knots[num_knots - 1] = nurbs->knotsu[num_knots - 1]; in do_write() 155 knots[num_knots - 1] = (2.0f * nurbs->knotsu[num_knots - 1] - in do_write() 156 nurbs->knotsu[num_knots - 2]); in do_write()
|
H A D | abc_writer_nurbs.cc | 104 static void get_knots(std::vector<float> &knots, const int num_knots, float *nu_knots) in get_knots() argument 106 if (num_knots <= 1) { in get_knots() 112 knots.reserve(num_knots + 2); in get_knots() 116 for (int i = 0; i < num_knots; i++) { in get_knots() 121 knots.push_back(2.0f * knots[num_knots] - knots[num_knots - 1]); in get_knots()
|
/dports/cad/opencascade/opencascade-7.6.0/src/Convert/ |
H A D | Convert_ConicToBSplineCurve.cxx | 344 num_knots = 1, in BuildCosAndSin() local 392 num_knots = 2 ; in BuildCosAndSin() 399 num_knots = 3 ; in BuildCosAndSin() 405 num_knots = 2 ; in BuildCosAndSin() 473 KnotsPtr->SetValue(num_knots, ULast) ; in BuildCosAndSin() 475 MultsPtr->SetValue(num_knots,order) ; in BuildCosAndSin() 591 KnotsPtr->SetValue(num_knots, 1.); in BuildCosAndSin() 593 MultsPtr->SetValue(num_knots, num_poles); in BuildCosAndSin() 634 num_knots, in BuildCosAndSin() local 688 num_knots = 5 ; in BuildCosAndSin() [all …]
|
/dports/cad/libredwg/libredwg-0.12.4/test/unit-testing/ |
H A D | helix.c | 27 BITCODE_BL num_knots; in api_process() local 63 CHK_ENTITY_TYPE (helix, HELIX, num_knots, BL); in api_process() 91 for (i = 0; i < num_knots; i++) in api_process() 102 if (num_knots >= 10) in api_process() 107 if (num_knots) in api_process()
|
H A D | spline.c | 24 BITCODE_BL num_knots; in api_process() local 48 CHK_ENTITY_TYPE_W_OLD (spline, SPLINE, num_knots, BL); in api_process() 97 for (BITCODE_BL i = 0; i < num_knots; i++) in api_process() 111 if (num_knots) in api_process()
|
H A D | hatch.c | 144 CHK_SUBCLASS_TYPE (paths[i].segs[j], HATCH_PathSeg, num_knots, BL); in api_process()
|
H A D | mpolygon.c | 139 CHK_SUBCLASS_TYPE (paths[i].segs[j], HATCH_PathSeg, num_knots, BL); in api_process()
|
/dports/cad/opencascade/opencascade-7.6.0/src/GeomLib/ |
H A D | GeomLib_Interpolate.cxx | 45 num_knots, in GeomLib_Interpolate() local 69 num_knots = NumPoints + 2 * order - 2 ; in GeomLib_Interpolate() 70 num_controls = num_knots - order ; in GeomLib_Interpolate() 71 TColStd_Array1OfReal flat_knots(1,num_knots) ; in GeomLib_Interpolate()
|
/dports/cad/opencascade/opencascade-7.6.0/src/BSplCLib/ |
H A D | BSplCLib_2.cxx | 579 num_knots, in MovePointAndTangent() local 614 num_knots = FlatKnots.Length() ; in MovePointAndTangent() 615 num_poles = num_knots - order ; in MovePointAndTangent() 1158 num_knots ; in MergeBSplineKnots() local 1182 num_knots = 0 ; in MergeBSplineKnots() 1189 num_knots += 1 ; in MergeBSplineKnots() 1195 num_knots += 1 ; in MergeBSplineKnots() 1201 num_knots = 1 ; in MergeBSplineKnots() 1210 num_knots += 1 ; in MergeBSplineKnots() 1225 num_knots += 1 ; in MergeBSplineKnots() [all …]
|
/dports/math/R-cran-recipes/recipes/R/ |
H A D | ns.R | 97 num_knots <- args$df - degree - intercept functionVar 99 knots <- unname(quantile(x[ok], seq_len(num_knots) / (num_knots + 1L)))
|
H A D | bs.R | 102 num_knots <- args$df - degree - intercept functionVar 104 knots <- unname(quantile(x[ok], seq_len(num_knots) / (num_knots + 1L)))
|
/dports/graphics/blender/blender-2.91.0/source/blender/io/alembic/intern/ |
H A D | abc_reader_nurbs.cc | 81 const size_t num_knots = knots->size() - 2; in set_knots() local 82 nu_knots = static_cast<float *>(MEM_callocN(num_knots * sizeof(float), "abc_setsplineknotsu")); in set_knots() 84 for (size_t i = 0; i < num_knots; i++) { in set_knots()
|
/dports/graphics/rawstudio/rawstudio-2.0/librawstudio/ |
H A D | rs-dcp-file.c | 282 gint num_knots = entry->count / 2; in rs_dcp_file_get_tonecurve() local 288 ret = rs_spline_new(knots, num_knots, NATURAL); in rs_dcp_file_get_tonecurve()
|
/dports/cad/libredwg/libredwg-0.12.4/test/xmlsuite/ |
H A D | testsuite.c | 689 if (spline->num_knots) in add_spline() 691 int bufsize = spline->num_knots * 16; in add_spline() 696 for (unsigned i = 0; i < MIN(6,spline->num_knots); i++) in add_spline() 711 if (spline->num_knots > 6) in add_spline()
|
/dports/graphics/openshadinglanguage/OpenShadingLanguage-Release-1.11.15.0/testsuite/spline/ |
H A D | test.osl | 66 // array length == num_knots). Bug fixed 19-Dec-2013.
|
/dports/graphics/py-openshadinglanguage/OpenShadingLanguage-Release-1.11.15.0/testsuite/spline/ |
H A D | test.osl | 66 // array length == num_knots). Bug fixed 19-Dec-2013.
|
/dports/cad/opencascade/opencascade-7.6.0/src/Approx/ |
H A D | Approx_SameParameter.cxx | 409 Standard_Integer num_knots = aData.myNbPnt + 7; in Build() local 412 TColStd_Array1OfReal FlatKnots(1 ,num_knots); in Build() 488 Standard_Integer num_knots = aData.myNbPnt + 7; in Build() local 491 TColStd_Array1OfReal FlatKnots(1 ,num_knots); in Build()
|
/dports/cad/opencascade/opencascade-7.6.0/src/ProjLib/ |
H A D | ProjLib_ProjectOnPlane.cxx | 545 Standard_Integer num_knots ; in Load() local 631 num_knots = NewCurvePtr->NbKnots() ; in Load() 632 TColStd_Array1OfReal BsplineKnots(1,num_knots) ; in Load()
|
/dports/devel/upp/upp/bazaar/plugin/gdal/ogr/ogrsf_frmts/dgn/ |
H A D | dgnlib.h | 485 short num_knots; /*!< number of knots */ member
|
/dports/graphics/py-gdal/gdal-3.3.3/ogr/ogrsf_frmts/dgn/ |
H A D | dgnlib.h | 488 short num_knots; /*!< number of knots */ member
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/ogr/ogrsf_frmts/dgn/ |
H A D | dgnlib.h | 488 short num_knots; /*!< number of knots */
|
/dports/graphics/gdal/gdal-3.3.3/ogr/ogrsf_frmts/dgn/ |
H A D | dgnlib.h | 488 short num_knots; /*!< number of knots */ member
|
/dports/graphics/rawstudio/rawstudio-2.0/plugins/dcp/ |
H A D | dcp.c | 1409 gint num_knots = adobe_default_table_size; in read_profile() local 1417 dcp->tone_curve = rs_spline_new(knots, num_knots, NATURAL); in read_profile()
|
/dports/cad/libredwg/libredwg-0.12.4/src/ |
H A D | dwg.spec | 4164 SUB_FIELD_BL (segs[rcount2], num_knots, 95); 4166 if (FIELD_VALUE (segs[rcount2].num_knots > 10000)) 4169 _obj->segs[rcount2].num_knots); 4170 _obj->segs[rcount2].num_knots = 0; 4176 segs[rcount2].num_knots, 40); 4373 SUB_FIELD_BL (segs[rcount2], num_knots, 95); 4378 _obj->segs[rcount2].num_knots); 4379 _obj->segs[rcount2].num_knots = 0; 4385 segs[rcount2].num_knots, 40); 10783 FIELD_VECTOR (knots, BD, num_knots, 40); \ [all …]
|