Navigation:
Up
,
Table of Contents
,
Bibliography
,
Index
,
Title Page
2D Basic Constructions
Centerpoints
#include <
CGAL/basic_constructions_2.h
>
Point_2<R>
midpoint (
Point_2<R>
p,
Point_2<R>
q)
computes the midpoint of the segment
pq
.
Point_2<R>
circumcenter (
Point_2<R>
p,
Point_2<R>
q,
Point_2<R>
r)
compute the center of the circle passing through
p
,
q
, and
r
.
Precondition:
p
,
q
, and
r
are not collinear.
Next chapter:
2D Transformations
Navigation:
Up
,
Table of Contents
,
Bibliography
,
Index
,
Title Page
The GALIA project
. Jan 18, 2000.