+ 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

@@ -91,13 +91,6 @@ void PropertyFemMesh::transformGeometry(const Base::Matrix4D &rclMat)
hasSetValue();
}
void PropertyFemMesh::getFaces(std::vector<Base::Vector3d> &aPoints,
std::vector<Data::ComplexGeoData::Facet> &aTopo,
float accuracy, uint16_t flags) const
{
_FemMesh->getFaces(aPoints, aTopo, accuracy, flags);
}
PyObject *PropertyFemMesh::getPyObject(void)
{
FemMeshPy* mesh = new FemMeshPy(&*_FemMesh);

View File

@@ -61,9 +61,6 @@ public:
/** Returns the bounding box around the underlying mesh kernel */
Base::BoundBox3d getBoundingBox() const;
void transformGeometry(const Base::Matrix4D &rclMat);
void getFaces(std::vector<Base::Vector3d> &Points,
std::vector<Data::ComplexGeoData::Facet> &Topo,
float Accuracy, uint16_t flags=0) const;
//@}
/** @name Python interface */