Avoid undefined call to pure virtual function
This commit is contained in:
@@ -166,8 +166,12 @@ protected:
|
|||||||
|
|
||||||
/// \name Overload theses methods
|
/// \name Overload theses methods
|
||||||
//@{
|
//@{
|
||||||
/// Prepare mesh, e.g. add properties
|
/** \brief Prepare mesh, e.g. add properties
|
||||||
virtual bool prepare( MeshType& _m ) = 0;
|
*
|
||||||
|
* You have to reimplement this function to setup your mesh. The default implementation
|
||||||
|
* will always return false and therefore block your algorithm.
|
||||||
|
*/
|
||||||
|
virtual bool prepare( MeshType& /*_m*/ ) { return false; };
|
||||||
|
|
||||||
/// Subdivide mesh \c _m \c _n times
|
/// Subdivide mesh \c _m \c _n times
|
||||||
virtual bool subdivide( MeshType& _m, size_t _n, const bool _update_points = true) = 0;
|
virtual bool subdivide( MeshType& _m, size_t _n, const bool _update_points = true) = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user