CGAL 5.1 - 2D and 3D Linear Geometry Kernel

Functions

template<typename Kernel >
Kernel::FT CGAL::scalar_product (const CGAL::Vector_2< Kernel > &u, const CGAL::Vector_2< Kernel > &v)
 returns the scalar product of u and v. More...
 
template<typename Kernel >
Kernel::FT CGAL::scalar_product (const CGAL::Vector_3< Kernel > &u, const CGAL::Vector_3< Kernel > &v)
 returns the scalar product of u and v. More...
 

Function Documentation

◆ scalar_product() [1/2]

template<typename Kernel >
Kernel::FT CGAL::scalar_product ( const CGAL::Vector_2< Kernel > &  u,
const CGAL::Vector_2< Kernel > &  v 
)

#include <CGAL/Kernel/global_functions.h>

returns the scalar product of u and v.

◆ scalar_product() [2/2]

template<typename Kernel >
Kernel::FT CGAL::scalar_product ( const CGAL::Vector_3< Kernel > &  u,
const CGAL::Vector_3< Kernel > &  v 
)

#include <CGAL/Kernel/global_functions.h>

returns the scalar product of u and v.