1Qt port of geosimplify.js, https://github.com/mapbox/geosimplify-js 2 3Copyright (c) 2017, Daniel Patterson 4All rights reserved. 5 6Redistribution and use in source and binary forms, with or without modification, are 7permitted provided that the following conditions are met: 8 9 1. Redistributions of source code must retain the above copyright notice, this list of 10 conditions and the following disclaimer. 11 12 2. Redistributions in binary form must reproduce the above copyright notice, this list 13 of conditions and the following disclaimer in the documentation and/or other materials 14 provided with the distribution. 15 16THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 17EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 18MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 19COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 20EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 21SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 23TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 24SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 26--------------------------------- 27Based on simplify-js by Vladimir Agafonkin - http://mourner.github.io/simplify-js/ 28