mirror of https://github.com/CGAL/cgal
remove internal from generated doc
This commit is contained in:
parent
069e43a5da
commit
fef1a43d35
|
|
@ -1,4 +1,3 @@
|
|||
/*!
|
||||
\example CGAL_ipelets/test_grabbers.cpp
|
||||
\example CGAL_ipelets/simple_triangulation.cpp
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -0,0 +1,16 @@
|
|||
# Created by the script cgal_create_cmake_script
|
||||
# This is the CMake script for compiling a CGAL application.
|
||||
|
||||
cmake_minimum_required(VERSION 3.1...3.23)
|
||||
project(CGAL_ipelets_Tests)
|
||||
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# create a target per cppfile
|
||||
file(
|
||||
GLOB cppfiles
|
||||
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
|
||||
foreach(cppfile ${cppfiles})
|
||||
create_single_source_cgal_program("${cppfile}")
|
||||
endforeach()
|
||||
|
|
@ -740,7 +740,11 @@ template <typename GT, typename MD>
|
|||
class Compact_mesh_cell_base_3<GT, MD, void>
|
||||
{
|
||||
public:
|
||||
#ifdef DOXYGEN_RUNNING
|
||||
typedef unspecified_type Triangulation_data_structure;
|
||||
#else
|
||||
typedef internal::Dummy_tds_3 Triangulation_data_structure;
|
||||
#endif
|
||||
typedef Triangulation_data_structure::Vertex_handle Vertex_handle;
|
||||
typedef Triangulation_data_structure::Cell_handle Cell_handle;
|
||||
template <typename TDS2>
|
||||
|
|
@ -761,7 +765,11 @@ template <typename GT,
|
|||
class Compact_mesh_cell_generator_3
|
||||
{
|
||||
public:
|
||||
#ifdef DOXYGEN_RUNNING
|
||||
typedef unspecified_type Triangulation_data_structure;
|
||||
#else
|
||||
typedef internal::Dummy_tds_3 Triangulation_data_structure;
|
||||
#endif
|
||||
typedef Triangulation_data_structure::Vertex_handle Vertex_handle;
|
||||
typedef Triangulation_data_structure::Cell_handle Cell_handle;
|
||||
template <typename TDS2>
|
||||
|
|
|
|||
|
|
@ -549,11 +549,15 @@ public:
|
|||
typedef int Curve_index;
|
||||
typedef int Corner_index;
|
||||
|
||||
#ifdef DOXYGEN_RUNNING
|
||||
typedef unspecified_type Index;
|
||||
#else
|
||||
typedef typename Mesh_3::internal::Index_generator_with_features<
|
||||
typename MeshDomain_3::Subdomain_index,
|
||||
Surface_patch_index,
|
||||
Curve_index,
|
||||
Corner_index>::type Index;
|
||||
#endif
|
||||
|
||||
typedef CGAL::Tag_true Has_features;
|
||||
typedef typename MeshDomain_3::R::FT FT;
|
||||
|
|
|
|||
|
|
@ -317,7 +317,11 @@ template<class GT,
|
|||
class MD,
|
||||
class Vb = Regular_triangulation_vertex_base_3<GT> >
|
||||
struct Mesh_vertex_base_3 {
|
||||
#ifdef DOXYGEN_RUNNING
|
||||
using Triangulation_data_structure = unspecified_type;
|
||||
#else
|
||||
using Triangulation_data_structure = internal::Dummy_tds_3;
|
||||
#endif
|
||||
using Vertex_handle = typename Triangulation_data_structure::Vertex_handle;
|
||||
using Cell_handle = typename Triangulation_data_structure::Cell_handle;
|
||||
|
||||
|
|
@ -335,7 +339,11 @@ template<class GT,
|
|||
class Index,
|
||||
class Vb = Regular_triangulation_vertex_base_3<GT> >
|
||||
struct Mesh_vertex_generator_3 {
|
||||
#ifdef DOXYGEN_RUNNING
|
||||
using Triangulation_data_structure = unspecified_type;
|
||||
#else
|
||||
using Triangulation_data_structure = internal::Dummy_tds_3;
|
||||
#endif
|
||||
using Vertex_handle = typename Triangulation_data_structure::Vertex_handle;
|
||||
using Cell_handle = typename Triangulation_data_structure::Cell_handle;
|
||||
|
||||
|
|
|
|||
|
|
@ -12,6 +12,17 @@ typedef CGAL::Polygon_2<Kernel> Polygon_2;
|
|||
namespace SMS = CGAL::Set_movable_separability_2;
|
||||
namespace casting = SMS::Single_mold_translational_casting;
|
||||
|
||||
template <typename Kernel>
|
||||
inline std::pair<typename Kernel::Direction_2, typename Kernel::Direction_2>
|
||||
get_segment_outer_circle(const typename Kernel::Segment_2 seg,
|
||||
const CGAL::Orientation orientation)
|
||||
{
|
||||
typename Kernel::Direction_2 forward( seg);
|
||||
typename Kernel::Direction_2 backward(-forward);
|
||||
return (orientation == CGAL::CLOCKWISE) ?
|
||||
std::make_pair(backward, forward) : std::make_pair(forward, backward);
|
||||
}
|
||||
|
||||
// The main program:
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
|
|
@ -33,8 +44,7 @@ int main(int argc, char* argv[])
|
|||
++index)
|
||||
{
|
||||
auto orientation = polygon.orientation();
|
||||
auto segment_outer_circle =
|
||||
SMS::internal::get_segment_outer_circle<Kernel>(*e_it, orientation);
|
||||
auto segment_outer_circle = get_segment_outer_circle<Kernel>(*e_it, orientation);
|
||||
auto d = segment_outer_circle.first;
|
||||
d = d.perpendicular(CGAL::CLOCKWISE);
|
||||
auto res = casting::is_pullout_direction(polygon, e_it, d);
|
||||
|
|
|
|||
|
|
@ -242,7 +242,12 @@ class Eigen_solver_traits<Eigen::BiCGSTAB<Eigen_sparse_matrix<double>::EigenType
|
|||
public:
|
||||
typedef EigenSolverT Solver;
|
||||
typedef Scalar NT;
|
||||
#ifdef DOXYGEN_RUNNING
|
||||
typedef unspecified_type Matrix;
|
||||
#else
|
||||
typedef internal::Get_eigen_matrix<EigenSolverT,NT>::type Matrix;
|
||||
#endif
|
||||
|
||||
typedef Eigen_vector<Scalar> Vector;
|
||||
|
||||
// Public operations
|
||||
|
|
|
|||
|
|
@ -2718,6 +2718,7 @@ collect_garbage(Visitor &visitor)
|
|||
garbage_ = false;
|
||||
}
|
||||
|
||||
#ifndef DOXYGEN_RUNNING
|
||||
namespace collect_garbage_internal {
|
||||
struct Dummy_visitor{
|
||||
template<typename A, typename B, typename C>
|
||||
|
|
@ -2726,6 +2727,7 @@ struct Dummy_visitor{
|
|||
};
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
template <typename P>
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in New Issue