fix -Wextra in FreeCADApp

This commit is contained in:
wmayer
2016-09-21 16:05:36 +02:00
parent f408f3180b
commit 71df967fdf
14 changed files with 115 additions and 32 deletions

View File

@@ -84,13 +84,13 @@ public:
virtual void getLinesFromSubelement(
const Segment*,
std::vector<Base::Vector3d> &Points,
std::vector<Line> &lines) const {}
std::vector<Line> &lines) const;
/** Get faces from segment */
virtual void getFacesFromSubelement(
const Segment*,
std::vector<Base::Vector3d> &Points,
std::vector<Base::Vector3d> &PointNormals,
std::vector<Facet> &faces) const {}
std::vector<Facet> &faces) const;
//@}
/** @name Placement control */
@@ -133,19 +133,18 @@ public:
virtual Base::BoundBox3d getBoundBox(void)const=0;
/** Get point from line object intersection */
virtual Base::Vector3d getPointFromLineIntersection(
const Base::Vector3f& Base,
const Base::Vector3f& Dir) const
{ return Base::Vector3d(); }
const Base::Vector3f& base,
const Base::Vector3f& dir) const;
/** Get points from object with given accuracy */
virtual void getPoints(std::vector<Base::Vector3d> &Points,
std::vector<Base::Vector3d> &Normals,
float Accuracy, uint16_t flags=0) const {}
float Accuracy, uint16_t flags=0) const;
/** Get lines from object with given accuracy */
virtual void getLines(std::vector<Base::Vector3d> &Points,std::vector<Line> &lines,
float Accuracy, uint16_t flags=0) const {}
float Accuracy, uint16_t flags=0) const;
/** Get faces from object with given accuracy */
virtual void getFaces(std::vector<Base::Vector3d> &Points,std::vector<Facet> &faces,
float Accuracy, uint16_t flags=0) const {}
float Accuracy, uint16_t flags=0) const;
//@}
protected: