Moved functions's bodies

This commit is contained in:
Mael Rouxel-Labbé 2018-05-03 14:52:52 +02:00
parent 6863410d21
commit c238d7822d
1 changed files with 29 additions and 30 deletions

View File

@ -1031,7 +1031,7 @@ construct_point_on_curve(const Point_3& starting_point,
}
/// @cond DEVELOPERS
template <class MD_>
typename Mesh_domain_with_polyline_features_3<MD_>::Corner_index
Mesh_domain_with_polyline_features_3<MD_>::
@ -1064,6 +1064,34 @@ add_corners(InputIterator first, InputIterator end,
return indices_out;
}
template <class MD_>
typename Mesh_domain_with_polyline_features_3<MD_>::Corner_index
Mesh_domain_with_polyline_features_3<MD_>::
register_corner(const Point_3& p, const Curve_index& curve_index)
{
// 'add_corner' will itself seek if 'p' is already a corner, and, in that case,
// return the Corner_index that has been assigned to this position.
Corner_index index = add_corner(p);
corners_tmp_incidences_[index].insert(curve_index);
return index;
}
template <class MD_>
typename Mesh_domain_with_polyline_features_3<MD_>::Corner_index
Mesh_domain_with_polyline_features_3<MD_>::
add_corner_with_context(const Point_3& p, const Surface_patch_index& surface_patch_index)
{
Corner_index index = add_corner(p);
Surface_patch_index_set& incidences = corners_incidences_[index];
incidences.insert(surface_patch_index);
return index;
}
/// @endcond
template <class MD_>
template <typename InputIterator, typename IndicesOutputIterator>
@ -1398,36 +1426,7 @@ get_incidences(Curve_index id) const
return it->second;
}
/// @endcond
template <class MD_>
typename Mesh_domain_with_polyline_features_3<MD_>::Corner_index
Mesh_domain_with_polyline_features_3<MD_>::
register_corner(const Point_3& p, const Curve_index& curve_index)
{
// 'add_corner' will itself seek if 'p' is already a corner, and, in that case,
// return the Corner_index that has been assigned to this position.
Corner_index index = add_corner(p);
corners_tmp_incidences_[index].insert(curve_index);
return index;
}
template <class MD_>
typename Mesh_domain_with_polyline_features_3<MD_>::Corner_index
Mesh_domain_with_polyline_features_3<MD_>::
add_corner_with_context(const Point_3& p, const Surface_patch_index& surface_patch_index)
{
Corner_index index = add_corner(p);
Surface_patch_index_set& incidences = corners_incidences_[index];
incidences.insert(surface_patch_index);
return index;
}
/// @cond DEVELOPERS
template <class MD_>
template <typename InputIterator>
typename Mesh_domain_with_polyline_features_3<MD_>::Curve_index