Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: least distance between two points on a sphere

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: least distance between two points on a sphere


Chronological Thread 
  • From: Monique Teillaud <>
  • To:
  • Subject: Re: [cgal-discuss] Re: least distance between two points on a sphere
  • Date: Wed, 25 Jul 2012 11:13:53 +0200

Le 25/07/12 11:02, Monique Teillaud a écrit :
Le 25/07/12 10:57, cnng0315 a écrit :
sorry , I searched the whole directory of CGAL 4.0, but found no file
contains "ComputeApproximateSquaredLength_3 ", can you give me the exact
kernel that has "ComputeApproximateSquaredLength_3 "?

The information was written in my previous message already...

Here it is again
---
use the CGAL 3D Spherical Geometry Kernel
in particular SphericalKernel::ComputeApproximateSquaredLength_3
---

Looking at files is something, but reading the manual usually helps
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/contents.html
part IV, chapter 14

Actually, you have no chance to find ComputeApproximateSquaredLength_3 by grepping the source code files, since it is the name of a concept.

But if you read the manual, you will see that
CGAL::Spherical_kernel_3 is a model of SphericalKernel

Then you should normally find that
SphericalKernel::Compute_approximate_squared_length_3
is a model of SphericalKernel::ComputeApproximateSquaredLength_3.

But there is a bug in the manual, since it is written
SphericalKernel::ComputeApproximateSquaredLength_3
instead of
SphericalKernel::Compute_approximate_squared_length_3
I am going to fix this, it will be corrected in the next CGAL release.

--
Monique Teillaud
INRIA Sophia Antipolis - Méditerranée
http://www.inria.fr/sophia/members/Monique.Teillaud/



Archive powered by MHonArc 2.6.18.

Top of Page