\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.6.2 - dD Geometry Kernel
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Kernel_d::Squared_distance_d Concept Reference

Definition

Operations

A model of this concept must provide:

Kernel_d::FT operator() (const Kernel_d::Point_d &p, const Kernel_d::Point_d &q)
 computes the square of the Euclidean distance between the two points \( p\) and \( q\). More...
 

Member Function Documentation

Kernel_d::FT Kernel_d::Squared_distance_d::operator() ( const Kernel_d::Point_d p,
const Kernel_d::Point_d q 
)

computes the square of the Euclidean distance between the two points \( p\) and \( q\).

Precondition
The dimensions of \( p\) and \( q\) are the same.