├── .gitignore ├── README.rst ├── blender_utils └── __init__.py ├── ccode ├── aitken.c ├── area.c ├── bessel_ends.c ├── bez_to_points.c ├── bez_to_power.c ├── bspl.dat ├── bspl_kappas.c ├── c2_spline.c ├── check_flat.c ├── conic_weight.c ├── curvature_0.c ├── deboor.c ├── deboormain.c ├── decas.c ├── decas.ps ├── decasmain.c ├── differences.c ├── dist.c ├── fair1.ps ├── fair2.ps ├── fair_bspline.c ├── fair_surf.c ├── gamma_spline.c ├── height.c ├── hornbez.c ├── horner.c ├── int.ps ├── intersect.c ├── intersect_lines.c ├── intersect_points.c ├── l_u_system.c ├── length_2.c ├── locbspl.ps ├── minmax.c ├── minmax.ps ├── minmax_surf.c ├── netcoons.c ├── nurb_circ.dat ├── parameters.c ├── plot_b_kappa.c ├── plot_ratsurf.c ├── psplot_curve.c ├── psplot_net.c ├── psr.ps ├── ratbez.c ├── ratbez_kappas.c ├── ratbez_to_points.c ├── reparam.c ├── set_up_system.c ├── shear.ps ├── solve_system.c ├── stabil.ps ├── subdiv.c ├── tri_decas.c └── weight.ps ├── chap03 ├── P1.blend └── p1.py ├── chap04 ├── de_casteljau.blend └── de_casteljau.py ├── chap05 ├── subdivision.blend └── subdivision.py ├── chap06 ├── degree_reduction.blend └── degree_reduction.py ├── chap07 ├── __init__.py ├── p1.py ├── p2.py ├── p3.py └── test_p1.py ├── common ├── __init__.py ├── bezier.py ├── blossom.py └── test_bezier.py └── datasets ├── car.dat ├── car.obj └── fender_4curves.dat /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | __pycache__ 3 | -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/README.rst -------------------------------------------------------------------------------- /blender_utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/blender_utils/__init__.py -------------------------------------------------------------------------------- /ccode/aitken.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/aitken.c -------------------------------------------------------------------------------- /ccode/area.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/area.c -------------------------------------------------------------------------------- /ccode/bessel_ends.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/bessel_ends.c -------------------------------------------------------------------------------- /ccode/bez_to_points.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/bez_to_points.c -------------------------------------------------------------------------------- /ccode/bez_to_power.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/bez_to_power.c -------------------------------------------------------------------------------- /ccode/bspl.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/bspl.dat -------------------------------------------------------------------------------- /ccode/bspl_kappas.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/bspl_kappas.c -------------------------------------------------------------------------------- /ccode/c2_spline.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/c2_spline.c -------------------------------------------------------------------------------- /ccode/check_flat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/check_flat.c -------------------------------------------------------------------------------- /ccode/conic_weight.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/conic_weight.c -------------------------------------------------------------------------------- /ccode/curvature_0.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/curvature_0.c -------------------------------------------------------------------------------- /ccode/deboor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/deboor.c -------------------------------------------------------------------------------- /ccode/deboormain.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/deboormain.c -------------------------------------------------------------------------------- /ccode/decas.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/decas.c -------------------------------------------------------------------------------- /ccode/decas.ps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/decas.ps -------------------------------------------------------------------------------- /ccode/decasmain.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/decasmain.c -------------------------------------------------------------------------------- /ccode/differences.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/differences.c -------------------------------------------------------------------------------- /ccode/dist.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/dist.c -------------------------------------------------------------------------------- /ccode/fair1.ps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/fair1.ps -------------------------------------------------------------------------------- /ccode/fair2.ps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/fair2.ps -------------------------------------------------------------------------------- /ccode/fair_bspline.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/fair_bspline.c -------------------------------------------------------------------------------- /ccode/fair_surf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/fair_surf.c -------------------------------------------------------------------------------- /ccode/gamma_spline.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/gamma_spline.c -------------------------------------------------------------------------------- /ccode/height.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/height.c -------------------------------------------------------------------------------- /ccode/hornbez.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/hornbez.c -------------------------------------------------------------------------------- /ccode/horner.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/horner.c -------------------------------------------------------------------------------- /ccode/int.ps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/int.ps -------------------------------------------------------------------------------- /ccode/intersect.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/intersect.c -------------------------------------------------------------------------------- /ccode/intersect_lines.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/intersect_lines.c -------------------------------------------------------------------------------- /ccode/intersect_points.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/intersect_points.c -------------------------------------------------------------------------------- /ccode/l_u_system.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/l_u_system.c -------------------------------------------------------------------------------- /ccode/length_2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/length_2.c -------------------------------------------------------------------------------- /ccode/locbspl.ps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/locbspl.ps -------------------------------------------------------------------------------- /ccode/minmax.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/minmax.c -------------------------------------------------------------------------------- /ccode/minmax.ps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/minmax.ps -------------------------------------------------------------------------------- /ccode/minmax_surf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/minmax_surf.c -------------------------------------------------------------------------------- /ccode/netcoons.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/netcoons.c -------------------------------------------------------------------------------- /ccode/nurb_circ.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/nurb_circ.dat -------------------------------------------------------------------------------- /ccode/parameters.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/parameters.c -------------------------------------------------------------------------------- /ccode/plot_b_kappa.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/plot_b_kappa.c -------------------------------------------------------------------------------- /ccode/plot_ratsurf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/plot_ratsurf.c -------------------------------------------------------------------------------- /ccode/psplot_curve.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/psplot_curve.c -------------------------------------------------------------------------------- /ccode/psplot_net.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/psplot_net.c -------------------------------------------------------------------------------- /ccode/psr.ps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/psr.ps -------------------------------------------------------------------------------- /ccode/ratbez.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/ratbez.c -------------------------------------------------------------------------------- /ccode/ratbez_kappas.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/ratbez_kappas.c -------------------------------------------------------------------------------- /ccode/ratbez_to_points.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/ratbez_to_points.c -------------------------------------------------------------------------------- /ccode/reparam.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/reparam.c -------------------------------------------------------------------------------- /ccode/set_up_system.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/set_up_system.c -------------------------------------------------------------------------------- /ccode/shear.ps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/shear.ps -------------------------------------------------------------------------------- /ccode/solve_system.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/solve_system.c -------------------------------------------------------------------------------- /ccode/stabil.ps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/stabil.ps -------------------------------------------------------------------------------- /ccode/subdiv.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/subdiv.c -------------------------------------------------------------------------------- /ccode/tri_decas.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/tri_decas.c -------------------------------------------------------------------------------- /ccode/weight.ps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/ccode/weight.ps -------------------------------------------------------------------------------- /chap03/P1.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/chap03/P1.blend -------------------------------------------------------------------------------- /chap03/p1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/chap03/p1.py -------------------------------------------------------------------------------- /chap04/de_casteljau.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/chap04/de_casteljau.blend -------------------------------------------------------------------------------- /chap04/de_casteljau.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/chap04/de_casteljau.py -------------------------------------------------------------------------------- /chap05/subdivision.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/chap05/subdivision.blend -------------------------------------------------------------------------------- /chap05/subdivision.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/chap05/subdivision.py -------------------------------------------------------------------------------- /chap06/degree_reduction.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/chap06/degree_reduction.blend -------------------------------------------------------------------------------- /chap06/degree_reduction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/chap06/degree_reduction.py -------------------------------------------------------------------------------- /chap07/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chap07/p1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/chap07/p1.py -------------------------------------------------------------------------------- /chap07/p2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/chap07/p2.py -------------------------------------------------------------------------------- /chap07/p3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/chap07/p3.py -------------------------------------------------------------------------------- /chap07/test_p1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/chap07/test_p1.py -------------------------------------------------------------------------------- /common/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /common/bezier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/common/bezier.py -------------------------------------------------------------------------------- /common/blossom.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/common/blossom.py -------------------------------------------------------------------------------- /common/test_bezier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/common/test_bezier.py -------------------------------------------------------------------------------- /datasets/car.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/datasets/car.dat -------------------------------------------------------------------------------- /datasets/car.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/datasets/car.obj -------------------------------------------------------------------------------- /datasets/fender_4curves.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SirVer/cagd5e/HEAD/datasets/fender_4curves.dat --------------------------------------------------------------------------------