#include "FITKAbsGeoModelOperFace.h" #include "FITK_Interface/FITKInterfaceModel/FITKAbstractModel.h" namespace Interface { void FITKAbsGeoModelOperFace::add(VirtualShape* geoCommandID) { m_tempVShapes.append(geoCommandID); } void FITKAbsGeoModelOperFace::add(QList geoCommandIDs) { m_tempVShapes.append(geoCommandIDs); } void FITKAbsGeoModelOperFace::remove(int index) { m_tempVShapes.removeAt(index); } void FITKAbsGeoModelOperFace::clear() { m_tempVShapes.clear(); } void FITKAbsGeoModelOperFace::setType(GeoFaceOperType t) { _faceOperType = t; } FITKAbsGeoModelOperFace::GeoFaceOperType FITKAbsGeoModelOperFace::getType() { return _faceOperType; } QList FITKAbsGeoModelOperFace::getVShapes() { return m_tempVShapes; } QList FITKAbsGeoModelOperFace::getModelOperFacesID() { QList _geoCommands; for (int i = 0; i < m_tempVShapes.size(); i++) { _geoCommands.append(m_tempVShapes[i]->CmdId); } return _geoCommands; } void FITKAbsGeoModelOperFace::setTolerance(double tolerance) { _tolerance = tolerance; } double FITKAbsGeoModelOperFace::getTolerance() { return _tolerance; } FITKGeoEnum::FITKGeometryComType FITKAbsGeoModelOperFaceFillGaps::getGeometryCommandType() { return FITKGeoEnum::FITKGeometryComType::FGTFillGapsFace; } FITKGeoEnum::FITKGeometryComType FITKAbsGeoModelOperFaceFillHoles::getGeometryCommandType() { return FITKGeoEnum::FITKGeometryComType::FGTFillHolesFace; } FITKGeoEnum::FITKGeometryComType FITKAbsGeoModelOperFaceDeleteFloatingEdge::getGeometryCommandType() { return FITKGeoEnum::FITKGeometryComType::FGTDeleteFloatingEdge; } void FITKAbsGeoModelOperFaceDeleteFloatingEdge::setMFace(VirtualShape* vface) { m_face = vface; } VirtualShape* FITKAbsGeoModelOperFaceDeleteFloatingEdge::getMFace() { return m_face; } }