CGAL 6.1 - 2D and 3D Linear Geometry Kernel
Loading...
Searching...
No Matches

Functions

template<typename Kernel >
FT CGAL::squared_length (const CGAL::Vector_2< Kernel > &v)
 compute the squared length of vector v.
 
template<typename Kernel >
FT CGAL::squared_length (const CGAL::Segment_2< Kernel > &s)
 compute the squared length of segment s.
 
template<typename Kernel >
FT CGAL::squared_length (const CGAL::Vector_3< Kernel > &v)
 compute the squared length of vector v.
 
template<typename Kernel >
FT CGAL::squared_length (const CGAL::Segment_3< Kernel > &s)
 compute the squared length of segment s.
 

Function Documentation

◆ squared_length() [1/4]

template<typename Kernel >
FT CGAL::squared_length ( const CGAL::Segment_2< Kernel > &  s)

#include <CGAL/Kernel/global_functions.h>

compute the squared length of segment s.

◆ squared_length() [2/4]

template<typename Kernel >
FT CGAL::squared_length ( const CGAL::Segment_3< Kernel > &  s)

#include <CGAL/Kernel/global_functions.h>

compute the squared length of segment s.

◆ squared_length() [3/4]

template<typename Kernel >
FT CGAL::squared_length ( const CGAL::Vector_2< Kernel > &  v)

#include <CGAL/Kernel/global_functions.h>

compute the squared length of vector v.

◆ squared_length() [4/4]

template<typename Kernel >
FT CGAL::squared_length ( const CGAL::Vector_3< Kernel > &  v)

#include <CGAL/Kernel/global_functions.h>

compute the squared length of vector v.