CGAL::project_along_d_axis

#include <CGAL/constructions_d.h>

Point_d<R> project_along_d_axis ( Point_d<R> p)
returns p projected along the d-axis onto the hyperspace spanned by the first d-1 standard base vectors.