This library provide 2 method for spline fitting, which named AlglibSplineFitting and ConcaveHullParamSplineFitting.
- AlglibSplineFitting support the spline with y=f(x) form and x must be monotonous.(ALGLIB.Linear/nonlinear least squares)
├── CMakeLists.txt
├── README.md
├── alglib # ALGLIB src files
├── alglib_spline_fitting.cpp # spline fitting use alglib.spline1dfit
├── alglib_spline_fitting.h # include file
├── chp_spline_fitting.cpp # concave hull parameter spline fitting cpp
├── chp_spline_fitting.h # concave hull parameter spline fitting include file
├── test.cpp # a test executable file
├── test.py # convert data to geojson
├── concavehull # concave calculator
│ ├── concavehull.hpp
│ └── delaunator.hpp
└── example # how to use dll library
│ ├── CMakeLists.txt
│ ├── demo.cpp
│ ├── include
│ └── lib
└── utils # geometric tools
├── geometry.cpp
└── geometry.h
- Create Folder and Excute CMAKE Command
mkdir build
cd build
cmake ..
make & make install
- Copy the
include
andlib
folder frominstall
toexample
cp -r install/* example
- Jump into
example
folder and excute command
cd example
mkdir build
cd build
cmake ..
make