+ removed unneeded pure virtual method getFaces from PropertyComplexGeoData

+ extend interface of ComplexGeoData::getPoints to also return normals if available
This commit is contained in:
wmayer
2016-03-04 17:16:57 +01:00
parent 288841cf98
commit 0ea6a2ed0d
16 changed files with 24 additions and 56 deletions

View File

@@ -133,13 +133,6 @@ Base::BoundBox3d PropertyPartShape::getBoundingBox() const
return box;
}
void PropertyPartShape::getFaces(std::vector<Base::Vector3d> &aPoints,
std::vector<Data::ComplexGeoData::Facet> &aTopo,
float accuracy, uint16_t flags) const
{
_Shape.getFaces(aPoints, aTopo, accuracy, flags);
}
void PropertyPartShape::transformGeometry(const Base::Matrix4D &rclTrf)
{
aboutToSetValue();

View File

@@ -67,10 +67,6 @@ public:
//@{
/** Returns the bounding box around the underlying mesh kernel */
Base::BoundBox3d getBoundingBox() const;
/** Get faces from object with given accuracy */
virtual void getFaces(std::vector<Base::Vector3d> &Points,
std::vector<Data::ComplexGeoData::Facet> &Topo,
float Accuracy, uint16_t flags=0) const;
//@}
/** @name Python interface */