new c++ triangulator