Added skeleton of regular static filtering operations

This commit is contained in:
Mael Rouxel-Labbé 2017-03-31 17:05:00 +02:00
parent ed034fde47
commit 7a6a3e3690
2 changed files with 104 additions and 0 deletions

View File

@ -0,0 +1,55 @@
// Copyright (c) 2017 INRIA Sophia-Antipolis (France).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
// You can redistribute it and/or modify it under the terms of the GNU
// General Public License as published by the Free Software Foundation,
// either version 3 of the License, or (at your option) any later version.
//
// Licensees holding a valid commercial license may use this file in
// accordance with the commercial license agreement provided with the software.
//
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
//
// $URL$
// $Id$
//
//
// Author(s) : Mael Rouxel-Labbé
#ifndef CGAL_PERIODIC_3_REGULAR_TRIANGULATION_STATICALLY_FILTERED_TRAITS_3_H
#define CGAL_PERIODIC_3_REGULAR_TRIANGULATION_STATICALLY_FILTERED_TRAITS_3_H
#include <CGAL/license/Periodic_3_triangulation_3.h>
#include <CGAL/internal/Static_filters/Periodic_3_power_side_of_oriented_power_sphere_3.h>
namespace CGAL {
// The `Traits` argument is supposed to provide exact primitives.
template < typename Traits >
class Periodic_3_regular_triangulation_statically_filtered_traits_3
: public Traits
{
typedef Periodic_3_regular_triangulation_statically_filtered_traits_3<Traits> Self;
public:
#if 0
typedef internal::Static_filters_predicates::
Periodic_3_power_side_of_oriented_power_sphere_3<Traits>
Power_side_of_oriented_power_sphere_3;
Power_side_of_oriented_power_sphere_3
power_side_of_oriented_power_sphere_3_object() const
{
return Power_side_of_oriented_power_sphere_3(&this->_domain,
&this->_domain_e,
&this->_domain_f);
}
#endif
};
} //namespace CGAL
#endif // CGAL_PERIODIC_3_REGULAR_TRIANGULATION_STATICALLY_FILTERED_TRAITS_3_H

View File

@ -0,0 +1,49 @@
// Copyright (c) 2017 INRIA Sophia-Antipolis (France).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org); you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 3 of the License,
// or (at your option) any later version.
//
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
//
// $URL$
// $Id$
//
// Author(s) : Mael Rouxel-Labbé
#ifndef CGAL_INTERNAL_STATIC_FILTERS_PERIODIC_3_POWER_TEST_3_H
#define CGAL_INTERNAL_STATIC_FILTERS_PERIODIC_3_POWER_TEST_3_H
#include <CGAL/license/Periodic_3_triangulation_3.h>
#include <CGAL/Profile_counter.h>
#include <CGAL/internal/Static_filters/Static_filter_error.h>
#include <CGAL/internal/Static_filters/tools.h>
#include <CGAL/Periodic_3_offset_3.h>
#include <cmath>
namespace CGAL {
namespace internal {
namespace Static_filters_predicates {
template <typename K_base>
class Periodic_3_power_side_of_oriented_power_sphere_3:
public K_base::Power_side_of_oriented_power_sphere_3
{
// @todo
};
} // namespace Static_filters_predicates
} // namespace internal
} //namespace CGAL
#endif // CGAL_INTERNAL_STATIC_FILTERS_PERIODIC_3_POWER_TEST_3_H