CGAL 6.1 - 2D and 3D Linear Geometry Kernel
Loading...
Searching...
No Matches
Kernel::ComputeSquaredLength_2 Class Reference

#include <Concepts/FunctionObjectConcepts.h>

Definition

Refines
AdaptableUnaryFunction
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.
 
Kernel::FT operator() (const Kernel::Segment_2 &s)
 returns the squared length of s.
 

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.