#include <ModelHighAPI_Tools.h>
//==================================================================================================
-FeaturesAPI_Symmetry::FeaturesAPI_Symmetry(
- const std::shared_ptr<ModelAPI_Feature>& theFeature)
+FeaturesAPI_Symmetry::FeaturesAPI_Symmetry(const std::shared_ptr<ModelAPI_Feature>& theFeature)
: ModelHighAPI_Interface(theFeature)
{
initialize();
: ModelHighAPI_Interface(theFeature)
{
if(initialize()) {
- fillAttribute(theMainObjects, mymainObjects);
+ fillAttribute(theMainObjects, mainObjects());
GeomAPI_Shape::ShapeType aType = getShapeType(theObject);
if(aType == GeomAPI_Shape::VERTEX) {
setPoint(theObject);
//==================================================================================================
FeaturesAPI_Symmetry::~FeaturesAPI_Symmetry()
{
-
}
//==================================================================================================
//==================================================================================================
void FeaturesAPI_Symmetry::dump(ModelHighAPI_Dumper& theDumper) const
{
- std::cout << "DUMP SYMMETRY" << std::endl;
FeaturePtr aBase = feature();
const std::string& aDocName = theDumper.name(aBase->document());
theDumper << ", " << anAttrPlane;
}
- theDumper << ")" << std::endl;
+ theDumper << ")" << std::endl;
}
//==================================================================================================