Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (CGAL/GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Compute angle between two vectors
- Date: Fri, 03 Mar 2017 15:07:45 +0100
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:KG+IYh38jJZGMBIwsmDT+DRfVm0co7zxezQtwd8ZseMUKPad9pjvdHbS+e9qxAeQG96KtrQf16GL7OjJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fdbghMhDexe71/IRq5oQjRtMQdnJdvJLs2xhbVuHVDZv5YxXlvJVKdnhb84tm/8Zt++ClOuPwv6tBNX7zic6s3UbJXAjImM3so5MLwrhnMURGP5noHXWoIlBdDHhXI4wv7Xpf1tSv6q/Z91SyHNsD4Ubw4RTKv5LptRRT1iikIKiQ5/XnXhMJukaxVrhGvpxtxzIHWboGaO/Vwcb/GcNMGXGpMRNpdWzBAD46+aYYEEuoPPfxfr4n4v1YCox2wChOxBOP11DBIgGP21rAm3eQgFwHJwhYvH88Tu3jQstj7NbsfX+auwKfJ0zrDaPZW1inh6IjSchEvoeuDUq5sccrW00kuFwbJgluNooHiOzOazPkNs3KF4OpmSeKjkXQnqwB3ojex3Mgsl5LEiZ4ayl/e8SV12oE1Jce3SENiZ9OvDZVetyafN4RsQ8MiRXlltzo1yrIcvZ63Zi8KyI4oxxLHZPyIbY+I4hf9W+aNOzd5hHxld6ijiBau9kig0O39WtOo31ZNqypIlMTHuHMV1xHL5cWKS+Fx8lq91TuPzQze6O5JLVopmafUKJMt2rE9m5sJvUjeHSL7ll/6gaCSe0k+5+Sl5evqb7P7rZGGLYB0kBvxMqE2l8y/H+s4Ng8OUnCG9eigzrHj+Er5TKhIg/A4iKXZtYrVJcUfpqKgBA9Vz5oj5wy4Dze40NQUh38HI0xZeB6fjojpPU/BIOzgAPqwglmgiipny+zGM7H7AJjAIWLPnKrucLt+80JczRA8zdFb55JaELEBJ/fzV1f1tNPCEx85KRK7w+D7CNlnzIMeWGSPDbGDP6PPqlKH+u0vLPOIZIMPvzb9Mfcl6+b0jXAlgV8dYbWp3ZwPZX+kEfRpOUGZbWPxjdcACmcFohc+TPfxiFCZSj5SZ3OyX7om6T0hCYKmC53DRoG3j7Cb0ie7BM4eWmcTAV+FFTLkdp6PRuwXQCOUOM5o1DIeBpa7TIp0nzWnqRX3zaYvFOvS9yQF/dLI+/FRoMLekhQ/6SZlIc2Wz2aXXiA+1jcMTiIs0aZj51Z8zFqKzIBzjPVcU9tJ6KUaAU8BKZfAwrkiWJjJUQXbc4LRRQ==
- Organization: GeometryFactory
Le Friday, March 3, 2017 1:32:41 PM CET Thomas Holzmann a écrit :
> Is there a way to normalize exact vectors (without sqrt). When I could
> compute an exact unit vector, the inexact angle computation would not be
> a problem...
I do not think so. Let's take for example the vector {1., 1., 1.}. Its
normalize version is:
{ 1./sqrt(3.), 1./sqrt(3.), 1./sqrt(3.) }
I think you cannot normalize vectors without being able to compute sqrt. You
can probably compute *approximately normalized* vectors, though.
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
- [cgal-discuss] Compute angle between two vectors, Thomas Holzmann, 03/03/2017
- Re: [cgal-discuss] Compute angle between two vectors, Laurent Rineau (CGAL/GeometryFactory), 03/03/2017
- Re: [cgal-discuss] Compute angle between two vectors, Thomas Holzmann, 03/03/2017
- Re: [cgal-discuss] Compute angle between two vectors, Laurent Rineau (CGAL/GeometryFactory), 03/03/2017
- Re: [cgal-discuss] Compute angle between two vectors, Thomas Holzmann, 03/03/2017
- Re: [cgal-discuss] Compute angle between two vectors, Laurent Rineau (CGAL/GeometryFactory), 03/03/2017
- Re: [cgal-discuss] Compute angle between two vectors, Thomas Holzmann, 03/03/2017
- Re: [cgal-discuss] Compute angle between two vectors, Laurent Rineau (CGAL/GeometryFactory), 03/03/2017
Archive powered by MHonArc 2.6.18.