Skip to content

Commit

Permalink
Point Set Processing: Remove documentation of deprecated functions
Browse files Browse the repository at this point in the history
  • Loading branch information
afabri committed Feb 6, 2024
1 parent 96f698c commit b020e1a
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 114 deletions.
12 changes: 0 additions & 12 deletions Point_set_3/include/CGAL/Point_set_3/IO/LAS.h
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,6 @@ bool read_LAS(const std::string& fname, CGAL::Point_set_3<Point, Vector>& point_

#ifndef CGAL_NO_DEPRECATED_CODE

/*!
\ingroup PkgPointSet3IODeprecated
\deprecated This function is deprecated since \cgal 5.3,
\link PkgPointSet3IO `CGAL::IO::read_LAS()` \endlink should be used instead.
*/
template <typename Point, typename Vector>
CGAL_DEPRECATED bool read_las_point_set(std::istream& is, ///< input stream.
CGAL::Point_set_3<Point, Vector>& point_set) ///< point set
Expand Down Expand Up @@ -404,12 +398,6 @@ bool write_LAS(const std::string& fname,

#ifndef CGAL_NO_DEPRECATED_CODE

/*!
\ingroup PkgPointSet3IODeprecated
\deprecated This function is deprecated since \cgal 5.3,
\link PkgPointSet3IO `CGAL::IO::write_LAS()` \endlink should be used instead.
*/
template <typename Point, typename Vector>
CGAL_DEPRECATED bool write_las_point_set(std::ostream& os, ///< output stream.
CGAL::Point_set_3<Point, Vector>& point_set) ///< point set
Expand Down
12 changes: 0 additions & 12 deletions Point_set_3/include/CGAL/Point_set_3/IO/OFF.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,6 @@ bool read_OFF(const std::string& fname, CGAL::Point_set_3<Point, Vector>& point_

#ifndef CGAL_NO_DEPRECATED_CODE

/*!
\ingroup PkgPointSet3IODeprecated
\deprecated This function is deprecated since \cgal 5.3,
\link PkgPointSet3IO `CGAL::IO::read_OFF()` \endlink should be used instead.
*/
template <typename Point, typename Vector>
CGAL_DEPRECATED bool read_off_point_set(std::istream& is, ///< input stream.
CGAL::Point_set_3<Point, Vector>& point_set) ///< point set.
Expand Down Expand Up @@ -190,12 +184,6 @@ bool write_OFF(const std::string& fname, const CGAL::Point_set_3<Point, Vector>&

#ifndef CGAL_NO_DEPRECATED_CODE

/*!
\ingroup PkgPointSet3IODeprecated
\deprecated This function is deprecated since \cgal 5.3,
\link PkgPointSet3IO `CGAL::IO::write_OFF()` \endlink should be used instead.
*/
template <typename Point, typename Vector>
CGAL_DEPRECATED bool write_off_point_set(std::ostream& os, ///< output stream.
const CGAL::Point_set_3<Point, Vector>& point_set) ///< point set
Expand Down
25 changes: 0 additions & 25 deletions Point_set_3/include/CGAL/Point_set_3/IO/PLY.h
Original file line number Diff line number Diff line change
Expand Up @@ -367,25 +367,6 @@ bool read_PLY(const std::string& fname, CGAL::Point_set_3<Point, Vector>& point_

#ifndef CGAL_NO_DEPRECATED_CODE

/*!
\ingroup PkgPointSet3IODeprecated
\deprecated This function is deprecated since \cgal 5.3,
\link PkgPointSet3IO `CGAL::IO::read_PLY()` \endlink should be used instead.
\brief reads a point set with properties from an input stream in \ascii or binary PLY format.
- the operator reads the vertex `point` property;
- if three PLY properties `nx`, `ny` and `nz` with type `float`
or `double` are found, the normal map is added;
- if any other PLY property is found, a "[name]" property map is
added, where `[name]` is the name of the PLY property.
The `comments` parameter can be omitted. If provided, it will be
used to store the potential comments found in the PLY
header. Each line starting by "comment " in the header is
appended to the `comments` string (without the "comment " word).
*/
template <typename Point, typename Vector>
CGAL_DEPRECATED bool read_ply_point_set(std::istream& is, ///< input stream.
CGAL::Point_set_3<Point, Vector>& point_set, ///< point set
Expand Down Expand Up @@ -744,12 +725,6 @@ bool write_PLY(const std::string& fname, const CGAL::Point_set_3<Point, Vector>&

#ifndef CGAL_NO_DEPRECATED_CODE

/*!
\ingroup PkgPointSet3IODeprecated
\deprecated This function is deprecated since \cgal 5.3,
\link PkgPointSet3IO `CGAL::IO::write_PLY()` \endlink should be used instead.
*/
template <typename Point, typename Vector>
CGAL_DEPRECATED bool write_ply_point_set(std::ostream& os,
const CGAL::Point_set_3<Point, Vector>& point_set,
Expand Down
12 changes: 0 additions & 12 deletions Point_set_3/include/CGAL/Point_set_3/IO/XYZ.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,6 @@ bool read_XYZ(const std::string& fname, CGAL::Point_set_3<Point, Vector>& point_

#ifndef CGAL_NO_DEPRECATED_CODE

/*!
\ingroup PkgPointSet3IODeprecated
\deprecated This function is deprecated since \cgal 5.3,
\link PkgPointSet3IO `CGAL::IO::read_XYZ()` \endlink should be used instead.
*/
template <typename Point, typename Vector>
CGAL_DEPRECATED bool read_xyz_point_set(std::istream& is, CGAL::Point_set_3<Point, Vector>& point_set)
{
Expand Down Expand Up @@ -187,12 +181,6 @@ bool write_XYZ(const std::string& fname, const CGAL::Point_set_3<Point, Vector>&

#ifndef CGAL_NO_DEPRECATED_CODE

/*!
\ingroup PkgPointSet3IODeprecated
\deprecated This function is deprecated since \cgal 5.3,
\link PkgPointSet3IO `CGAL::IO::write_XYZ()` \endlink should be used instead.
*/
template <typename Point, typename Vector>
CGAL_DEPRECATED bool write_xyz_point_set(std::ostream& os, const CGAL::Point_set_3<Point, Vector>& point_set)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ simplification, etc.).
\defgroup PkgPointSetProcessing3IO I/O Functions
\ingroup PkgPointSetProcessing3Ref

\defgroup PkgPointSetProcessing3IODeprecated I/O Functions (Deprecated)
\ingroup PkgPointSetProcessing3IO

\defgroup PkgPointSetProcessing3IOOff I/O (OFF Formats)
\ingroup PkgPointSetProcessing3Ref

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ Jet_fitting_3
Solver_interface
Shape_detection
Advancing_front_surface_reconstruction
Point_set_3
BGL
9 changes: 0 additions & 9 deletions Point_set_processing_3/include/CGAL/IO/read_las_points.h
Original file line number Diff line number Diff line change
Expand Up @@ -574,11 +574,7 @@ bool read_las_points(std::istream& is, ///< input stream.

/// \endcond

/**
\ingroup PkgPointSetProcessing3IODeprecated

\deprecated This function is deprecated since \cgal 5.3, `CGAL::IO::read_LAS_with_properties()` should be used instead.
*/
template <typename OutputIteratorValueType,
typename OutputIterator,
typename ... PropertyHandler>
Expand All @@ -602,11 +598,6 @@ CGAL_DEPRECATED bool read_las_points_with_properties(std::istream& is,

/// \endcond

/**
\ingroup PkgPointSetProcessing3IODeprecated
\deprecated This function is deprecated since \cgal 5.3, `CGAL::IO::read_LAS()` should be used instead.
*/
template <typename OutputIteratorValueType,
typename OutputIterator,
typename CGAL_NP_TEMPLATE_PARAMETERS>
Expand Down
6 changes: 0 additions & 6 deletions Point_set_processing_3/include/CGAL/IO/read_off_points.h
Original file line number Diff line number Diff line change
Expand Up @@ -410,12 +410,6 @@ bool read_off_points(std::istream& is, ///< input stream.

/// \endcond

/*!
\ingroup PkgPointSetProcessing3IODeprecated
\deprecated This function is deprecated since \cgal 5.3,
\link PkgPointSetProcessing3IOOff `CGAL::IO::read_OFF()` \endlink should be used instead.
*/
template <typename OutputIteratorValueType,
typename OutputIterator,
typename CGAL_NP_TEMPLATE_PARAMETERS>
Expand Down
11 changes: 0 additions & 11 deletions Point_set_processing_3/include/CGAL/IO/read_ply_points.h
Original file line number Diff line number Diff line change
Expand Up @@ -434,24 +434,13 @@ bool read_ply_points(std::istream& is, ///< input stream.

/// \endcond

/**
\ingroup PkgPointSetProcessing3IODeprecated
\deprecated This function is deprecated since \cgal 5.3,
\link PkgPointSetProcessing3IOPly `CGAL::IO::read_PLY_with_properties()` \endlink should be used instead.
*/
template <typename OutputIteratorValueType, typename OutputIterator, typename ... PropertyHandler>
CGAL_DEPRECATED bool read_ply_points_with_properties(std::istream& is, OutputIterator output, PropertyHandler&& ... properties)
{
return IO::read_PLY_with_properties(is, output, std::forward<PropertyHandler>(properties)...);
}

/**
\ingroup PkgPointSetProcessing3IODeprecated

\deprecated This function is deprecated since \cgal 5.3,
\link PkgPointSetProcessing3IOPly `CGAL::IO::read_PLY()` \endlink should be used instead.
*/
template <typename OutputIteratorValueType, typename OutputIterator, typename CGAL_NP_TEMPLATE_PARAMETERS>
CGAL_DEPRECATED bool read_ply_points(std::istream& is, OutputIterator output, const CGAL_NP_CLASS& np = parameters::default_values())
{
Expand Down
9 changes: 0 additions & 9 deletions Point_set_processing_3/include/CGAL/IO/write_las_points.h
Original file line number Diff line number Diff line change
Expand Up @@ -378,11 +378,6 @@ bool write_las_points(std::ostream& os, ///< output stream.

/// \endcond

/**
\ingroup PkgPointSetProcessing3IODeprecated
\deprecated This function is deprecated since \cgal 5.3, `CGAL::IO::write_LAS_with_properties()` should be used instead.
*/
template <typename PointRange,
typename PointMap,
typename ... PropertyHandler>
Expand All @@ -397,11 +392,7 @@ CGAL_DEPRECATED bool write_las_points_with_properties(std::ostream& os,
return IO::write_LAS_with_properties(os, points, point_property, std::forward<PropertyHandler>(properties)...);
}

/**
\ingroup PkgPointSetProcessing3IODeprecated

\deprecated This function is deprecated since \cgal 5.3, `CGAL::IO::write_LAS()` should be used instead.
*/
template <typename PointRange, typename CGAL_NP_TEMPLATE_PARAMETERS>
bool write_las_points(std::ostream& os, const PointRange& points, const CGAL_NP_CLASS& np = parameters::default_values())
{
Expand Down
10 changes: 0 additions & 10 deletions Point_set_processing_3/include/CGAL/IO/write_ply_points.h
Original file line number Diff line number Diff line change
Expand Up @@ -353,12 +353,7 @@ bool write_ply_points(std::ostream& os, ///< output stream.

/// \endcond

/**
\ingroup PkgPointSetProcessing3IODeprecated

\deprecated This function is deprecated since \cgal 5.3,
\link PkgPointSetProcessing3IOPly `CGAL::IO::write_PLY_with_properties()` \endlink should be used instead.
*/
template <typename PointRange,
typename ... PropertyHandler>
CGAL_DEPRECATED bool write_ply_points_with_properties(std::ostream& os, ///< output stream.
Expand All @@ -368,12 +363,7 @@ CGAL_DEPRECATED bool write_ply_points_with_properties(std::ostream& os, ///< out
return IO::write_PLY_with_properties(os, points, std::forward<PropertyHandler>(properties)...);
}

/**
\ingroup PkgPointSetProcessing3IODeprecated

\deprecated This function is deprecated since \cgal 5.3,
\link PkgPointSetProcessing3IOPly `CGAL::IO::write_PLY()` \endlink should be used instead.
*/
template <typename PointRange, typename CGAL_NP_TEMPLATE_PARAMETERS>
CGAL_DEPRECATED bool write_ply_points(std::ostream& os, const PointRange& points, const CGAL_NP_CLASS& np = parameters::default_values())
{
Expand Down
5 changes: 0 additions & 5 deletions Point_set_processing_3/include/CGAL/IO/write_xyz_points.h
Original file line number Diff line number Diff line change
Expand Up @@ -280,12 +280,7 @@ bool write_xyz_points(std::ostream& os, ///< output stream.

/// \endcond

/**
\ingroup PkgPointSetProcessing3IODeprecated

\deprecated This function is deprecated since \cgal 5.3,
\link PkgPointSetProcessing3IOXyz `CGAL::write_XYZ()` \endlink should be used instead.
*/
template <typename PointRange, typename CGAL_NP_TEMPLATE_PARAMETERS>
CGAL_DEPRECATED bool write_xyz_points(std::ostream& os, const PointRange& points, const CGAL_NP_CLASS& np = parameters::default_values())
{
Expand Down

0 comments on commit b020e1a

Please sign in to comment.