Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81683373
mesh_geom_spherical_traits.hh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Sep 7, 10:12
Size
2 KB
Mime Type
text/x-c
Expires
Mon, Sep 9, 10:12 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
20428293
Attached To
rAKA akantu
mesh_geom_spherical_traits.hh
View Options
/**
* @file mesh_geom_spherical_traits.hh
*
* @author Lucas Frérot <lucas.frerot@epfl.ch>
*
* @date creation: Tue Jun 2 2015
* @date last modification: Tue Jun 2 2015
*
* @brief Custom AABBGeomTraits to allow intersections in spherical kernel
*
* @section LICENSE
*
* Copyright (©) 2015 EPFL (Ecole Polytechnique Fédérale de Lausanne)
* Laboratory (LSMS - Laboratoire de Simulation en Mécanique des Solides)
*
* Akantu is free software: 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.
*
* Akantu is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
* A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Akantu. If not, see <http://www.gnu.org/licenses/>.
*
*/
/* -------------------------------------------------------------------------- */
#ifndef __AKANTU_MESH_GEOM_SPHERICAL_TRAITS_HH__
#define __AKANTU_MESH_GEOM_SPHERICAL_TRAITS_HH__
/* -------------------------------------------------------------------------- */
#include "mesh_geom_common.hh"
/* -------------------------------------------------------------------------- */
#define LINK_TYPEDEF(type) typedef typename SK::type type
#define TYPE_SEQ (Point_3) \
(Sphere_3) \
(Construct_sphere_3) \
(Compute_closest_point_3) \
(Has_on_bounded_side_3) \
(Compute_squared_radius_3) \
(Compute_squared_distance_3)
#define AKANTU_LINK_TYPEDEF_MACRO(r, macro, elem) macro(elem);
__BEGIN_AKANTU__
/// Class used as AABBGeomTraits in the CGAL AABB tree algorithm
template
<
class
SK
>
class
SphericalTraits
{
BOOST_PP_SEQ_FOR_EACH
(
AKANTU_LINK_TYPEDEF_MACRO
,
LINK_TYPEDEF
,
TYPE_SEQ
);
};
__END_AKANTU__
#endif
// __AKANTU_MESH_GEOM_SPHERICAL_KERNEL_HH__
Event Timeline
Log In to Comment