+ removed unneeded pure virtual method getFaces from PropertyComplexGeoData
+ extend interface of ComplexGeoData::getPoints to also return normals if available
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user