Navigation:
Up
,
Table of Contents
,
Bibliography
,
Index
,
Title Page
CGAL::squared_distance
#include <
CGAL/constructions_d.h
>
FT
squared_distance
(
Point_d
<R> p,
Point_d
<R> 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.
Next:
Kernel_d
Navigation:
Table of Contents
,
Bibliography
,
Index
,
Title Page
The
CGAL Project
. Tue, December 21, 2004 .