Commit 253b9155 authored by Jan Möbius's avatar Jan Möbius

Silence some cppcheck warnings

parent ba4cbcbf
......@@ -93,13 +93,13 @@ public:
protected:
virtual void init_reference();
virtual void project_to_reference(VertexHandle _vh) const;
virtual void init_reference() override;
virtual void project_to_reference(VertexHandle _vh) const override;
void compute_curvature(Mesh& _mesh, OpenMesh::VPropHandleT<Scalar> _ph);
virtual bool is_too_long (VertexHandle _v0, VertexHandle _v1) const;
virtual bool is_too_short (VertexHandle _v0, VertexHandle _v1) const;
virtual bool is_too_long (VertexHandle _v0, VertexHandle _v1) const override;
virtual bool is_too_short (VertexHandle _v0, VertexHandle _v1) const override;
protected:
......
......@@ -98,13 +98,13 @@ public:
protected:
virtual bool is_too_long (VertexHandle _v0, VertexHandle _v1) const
virtual bool is_too_long (VertexHandle _v0, VertexHandle _v1) const override
{
return (Base::mesh_.point(_v0) -
Base::mesh_.point(_v1)).sqrnorm() > sqr_emax_;
}
virtual bool is_too_short (VertexHandle _v0, VertexHandle _v1) const
virtual bool is_too_short (VertexHandle _v0, VertexHandle _v1) const override
{
return (Base::mesh_.point(_v0) -
Base::mesh_.point(_v1)).sqrnorm() < sqr_emin_;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment