CGAL 6.2 - 2D and 3D Linear Geometry Kernel

Loading...
Searching...
No Matches
Functions
CGAL::squared_length()
Reference Manual » Global Kernel Functions

##

## 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`.