You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
141 lines
3.2 KiB
C++
141 lines
3.2 KiB
C++
#include "FITKAbsGeoModelOperSolid.h"
|
|
|
|
namespace Interface
|
|
{
|
|
// 倒角。
|
|
//@{
|
|
FITKGeoEnum::FITKGeometryComType FITKAbsGeoModelChamferSolid::getGeometryCommandType()
|
|
{
|
|
return FITKGeoEnum::FITKGeometryComType::FGTChamferSolid;
|
|
}
|
|
|
|
void FITKAbsGeoModelChamferSolid::setInputCmdId(int cmdId)
|
|
{
|
|
// 被倒角模型数据ID。
|
|
m_solidCmdId = cmdId;
|
|
}
|
|
|
|
int FITKAbsGeoModelChamferSolid::getInputCmdId()
|
|
{
|
|
return m_solidCmdId;
|
|
}
|
|
|
|
void FITKAbsGeoModelChamferSolid::setEdgeIds(QList<int> edgeIds)
|
|
{
|
|
// 被倒角边虚拓扑ID列表。
|
|
m_edgeVirtualIds = edgeIds;
|
|
}
|
|
|
|
QList<int> & FITKAbsGeoModelChamferSolid::getEgdeIds()
|
|
{
|
|
return m_edgeVirtualIds;
|
|
}
|
|
|
|
void FITKAbsGeoModelChamferSolid::setDistance(double dist)
|
|
{
|
|
// 倒角距离。
|
|
m_dist = dist;
|
|
}
|
|
|
|
double FITKAbsGeoModelChamferSolid::getDistance()
|
|
{
|
|
return m_dist;
|
|
}
|
|
//@}
|
|
|
|
// 倒圆。
|
|
//@{
|
|
FITKGeoEnum::FITKGeometryComType FITKAbsGeoModelFilletSolid::getGeometryCommandType()
|
|
{
|
|
return FITKGeoEnum::FITKGeometryComType::FGTFilletSolid;
|
|
}
|
|
|
|
void FITKAbsGeoModelFilletSolid::setInputCmdId(int cmdId)
|
|
{
|
|
// 被倒圆模型数据ID。
|
|
m_solidCmdId = cmdId;
|
|
}
|
|
|
|
int FITKAbsGeoModelFilletSolid::getInputCmdId()
|
|
{
|
|
return m_solidCmdId;
|
|
}
|
|
|
|
void FITKAbsGeoModelFilletSolid::setEdgeIds(QList<int> edgeIds)
|
|
{
|
|
// 被倒角边虚拓扑ID列表。
|
|
m_edgeVirtualIds = edgeIds;
|
|
}
|
|
|
|
QList<int> & FITKAbsGeoModelFilletSolid::getEgdeIds()
|
|
{
|
|
return m_edgeVirtualIds;
|
|
}
|
|
|
|
void FITKAbsGeoModelFilletSolid::setRadius(double radius)
|
|
{
|
|
// 倒圆半径。
|
|
m_radius = radius;
|
|
}
|
|
|
|
double FITKAbsGeoModelFilletSolid::getRadius()
|
|
{
|
|
return m_radius;
|
|
}
|
|
//@}
|
|
|
|
// 特征移除抽象类。
|
|
//@{
|
|
FITKGeoEnum::FITKGeometryComType FITKAbsGeoModelDefeatureSolid::getGeometryCommandType()
|
|
{
|
|
return FITKGeoEnum::FITKGeometryComType::FGTDefeature;
|
|
}
|
|
|
|
void FITKAbsGeoModelDefeatureSolid::setInputCmdId(int cmdId)
|
|
{
|
|
// 被移除特征模型数据ID。
|
|
m_solidCmdId = cmdId;
|
|
}
|
|
|
|
int FITKAbsGeoModelDefeatureSolid::getInputCmdId()
|
|
{
|
|
return m_solidCmdId;
|
|
}
|
|
|
|
void FITKAbsGeoModelDefeatureSolid::setFaceIds(QList<int> faceIds)
|
|
{
|
|
// 被移除特征面虚拓扑ID。
|
|
m_faceVirtualIds = faceIds;
|
|
}
|
|
|
|
QList<int> & FITKAbsGeoModelDefeatureSolid::getFaceIds()
|
|
{
|
|
return m_faceVirtualIds;
|
|
}
|
|
//@}
|
|
|
|
// 移除倒角。
|
|
//@{
|
|
FITKGeoEnum::FITKGeometryComType FITKAbsGeoModelRemoveChamferSolid::getGeometryCommandType()
|
|
{
|
|
return FITKGeoEnum::FITKGeometryComType::FGTRemoveChamfer;
|
|
}
|
|
//@}
|
|
|
|
// 移除倒圆。
|
|
//@{
|
|
FITKGeoEnum::FITKGeometryComType FITKAbsGeoModelRemoveFilletSolid::getGeometryCommandType()
|
|
{
|
|
return FITKGeoEnum::FITKGeometryComType::FGTRemoveFillet;
|
|
}
|
|
//@}
|
|
|
|
// 填补孔洞。
|
|
//@{
|
|
FITKGeoEnum::FITKGeometryComType FITKAbsGeoModelFillHoleSolid::getGeometryCommandType()
|
|
{
|
|
return FITKGeoEnum::FITKGeometryComType::FGTFillHole;
|
|
}
|
|
//@}
|
|
}
|