mirror of https://github.com/CGAL/cgal
Don't uselessly repeat the template parameters inside the class.
This commit is contained in:
parent
667ca8f417
commit
c527ab2c5c
|
|
@ -114,7 +114,7 @@ namespace CGAL {
|
||||||
|
|
||||||
|
|
||||||
explicit
|
explicit
|
||||||
Kd_tree_rectangle(const Kd_tree_rectangle<FT,D>& r)
|
Kd_tree_rectangle(const Kd_tree_rectangle& r)
|
||||||
: max_span_coord_(r.max_span_coord_)
|
: max_span_coord_(r.max_span_coord_)
|
||||||
{
|
{
|
||||||
lower_ = r.lower_;
|
lower_ = r.lower_;
|
||||||
|
|
@ -216,8 +216,8 @@ namespace CGAL {
|
||||||
const T* lower() const {return lower_;}
|
const T* lower() const {return lower_;}
|
||||||
const T* upper() const {return upper_;}
|
const T* upper() const {return upper_;}
|
||||||
|
|
||||||
Kd_tree_rectangle<FT,D>&
|
Kd_tree_rectangle&
|
||||||
operator=(const Kd_tree_rectangle<FT,D>& r)
|
operator=(const Kd_tree_rectangle& r)
|
||||||
{
|
{
|
||||||
CGAL_assertion(dimension() == r.dimension());
|
CGAL_assertion(dimension() == r.dimension());
|
||||||
if (this != &r) {
|
if (this != &r) {
|
||||||
|
|
@ -295,7 +295,7 @@ namespace CGAL {
|
||||||
|
|
||||||
|
|
||||||
explicit
|
explicit
|
||||||
Kd_tree_rectangle(const Kd_tree_rectangle<FT,Dynamic_dimension_tag>& r)
|
Kd_tree_rectangle(const Kd_tree_rectangle& r)
|
||||||
: coords_(new FT[2*r.dim]), dim(r.dim),
|
: coords_(new FT[2*r.dim]), dim(r.dim),
|
||||||
max_span_coord_(r.max_span_coord_)
|
max_span_coord_(r.max_span_coord_)
|
||||||
{
|
{
|
||||||
|
|
@ -407,8 +407,8 @@ namespace CGAL {
|
||||||
const T* lower() const {return coords_;}
|
const T* lower() const {return coords_;}
|
||||||
const T* upper() const {return coords_ + dim;}
|
const T* upper() const {return coords_ + dim;}
|
||||||
|
|
||||||
Kd_tree_rectangle<FT,Dynamic_dimension_tag>&
|
Kd_tree_rectangle&
|
||||||
operator=(const Kd_tree_rectangle<FT,Dynamic_dimension_tag>& r)
|
operator=(const Kd_tree_rectangle& r)
|
||||||
{
|
{
|
||||||
CGAL_assertion(dimension() == r.dimension());
|
CGAL_assertion(dimension() == r.dimension());
|
||||||
if (this != &r) {
|
if (this != &r) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue