1 /* 2 subdivide.h: Subdivides edges in a triangle mesh until all edges 3 are below a specified maximum length 4 5 This file is part of the implementation of 6 7 Instant Field-Aligned Meshes 8 Wenzel Jakob, Daniele Panozzo, Marco Tarini, and Olga Sorkine-Hornung 9 In ACM Transactions on Graphics (Proc. SIGGRAPH Asia 2015) 10 11 All rights reserved. Use of this source code is governed by a 12 BSD-style license that can be found in the LICENSE.txt file. 13 */ 14 15 #pragma once 16 17 #include "common.h" 18 19 extern void subdivide(MatrixXu &F, MatrixXf &V, VectorXu &V2E, VectorXu &E2E, 20 VectorXb &boundary, VectorXb &nonmanifold, 21 Float maxLength, bool deterministic = false, 22 const ProgressCallback &progress = ProgressCallback()); 23