%-------------------------------------------------------------------------
The BoundedDistortion code suite is an implementation of the paper 
"Bounded Distortion Mapping Spaces For Triangular Meshes"
Yaron Lipman, August 2012.
(V1.1 -- June 2013)

*A small modification over the paper is the relaxation method used for
linear constraints.


% new in V1.1
1) incorported L1 cone relaxation as suggested in 
    "Integer-Grid Maps for Reliable Quad Meshing Bommes et al. 2013. 
2) Incorporated nested spaces for monotone convergence as described in
    "Feature Matching with Bounded Distortion" Lipman et al. 2013.



%-------------------------------------------------------------------------
% How to use

Two example script are supplied, as described below. If interested, one can 
use these script to understand how to use the bounded distortion constraints
with different functionals. 

1) Disk-type mesh parameterization (BD-LSCM): script_mesh_parameterization.m
2) Planar mesh deformation (BD-ARAP): script_2d_mesh_deformer.m

Important: before you start using the code remember to change 
   the base_path in the scripts mentioned above to where you have placed 
   the root folder.


%-------------------------------------------------------------------------
% Credits

The code makes use of Matlab packages by:
1) Alec Jacobson, IGL lab (see http://igl.ethz.ch/). 
   Please contact Alec at jacobson@inf.ethz.ch, before using this 
   code outside of an informal setting, i.e. for comparisons in 
   an academic paper.
2) Gabriel Peyre, Toolbox Graph
   http://www.mathworks.com/matlabcentral/fileexchange/5355-toolbox-graph/content/toolbox_graph/toolbox_graph.m
   http://www.ceremade.dauphine.fr/~peyre/matlab/graph/content.html
