CGAL 5.1 - 2D and 3D Linear Geometry Kernel
Kernel::ComputeSquaredLength_2 Class Reference

#include <Concepts/FunctionObjectConcepts.h>

Definition

Refines:
AdaptableFunctor (with one argument)
See also
CGAL::Vector_2<Kernel>
CGAL::Segment_2<Kernel>

Operations

A model of this concept must provide:

Kernel::FT operator() (const Kernel::Vector_2 &v)
 returns the squared length of v. More...
 
Kernel::FT operator() (const Kernel::Segment_2 &s)
 returns the squared length of s. More...
 

Member Function Documentation

◆ operator()() [1/2]

Kernel::FT Kernel::ComputeSquaredLength_2::operator() ( const Kernel::Segment_2 s)

returns the squared length of s.

◆ operator()() [2/2]

Kernel::FT Kernel::ComputeSquaredLength_2::operator() ( const Kernel::Vector_2 v)

returns the squared length of v.