This is implementation of a part of the following paper:
Wenzel Jakob, Marco Tarini, Daniele Panozzo, and Olga Sorkine-Hornung. 2015.
Instant field-aligned meshes.
*ACM Trans. Graph.* 34, 6, Article 189 (November 2015), 15 pages. DOI:https://doi.org/10.1145/2816795.2818078