+ removed unneeded pure virtual method getFaces from PropertyComplexGeoData
+ extend interface of ComplexGeoData::getPoints to also return normals if available
This commit is contained in:
@@ -138,6 +138,7 @@ public:
|
||||
{ return Base::Vector3d(); }
|
||||
/** 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 {}
|
||||
/** Get lines from object with given accuracy */
|
||||
virtual void getLines(std::vector<Base::Vector3d> &Points,std::vector<Line> &lines,
|
||||
|
||||
@@ -357,9 +357,6 @@ public:
|
||||
//@{
|
||||
virtual const Data::ComplexGeoData* getComplexData() const = 0;
|
||||
virtual Base::BoundBox3d getBoundingBox() const = 0;
|
||||
virtual void getFaces(std::vector<Base::Vector3d> &Points,
|
||||
std::vector<Data::ComplexGeoData::Facet> &Topo,
|
||||
float Accuracy, uint16_t flags=0) const = 0;
|
||||
//@}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user