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.
AppFlow/FITK_Interface/FITKInterfaceGeometry/FITKAbsGeoModelBox.h

88 lines
2.4 KiB
C++

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#ifndef __FITK_ABSGEO_MODEL_BOX_H__
#define __FITK_ABSGEO_MODEL_BOX_H__
#include "FITKInterfaceGeometryAPI.h"
#include "FITKAbsGeoCommand.h"
namespace Interface
{
/**
* @brief 长方体
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
class FITKInterfaceGeometryAPI FITKAbsGeoModelBox :
public FITKAbsGeoCommand
{
// FITKCLASS(Interface, FITKAbsGeoModelBox);
public:
/**
* @brief Construct a new FITKOCCModelBox object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
explicit FITKAbsGeoModelBox() = default;
/**
* @brief Destroy the FITKOCCModelBox object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
virtual ~FITKAbsGeoModelBox() = 0;
/**
* @brief 设置第一点坐标xyz最小点
* @param[i] p1 坐标值
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
void setPoint1(double* p1);
/**
* @brief 设置长度
* @param[i] length 长度
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
void setLength(double* length);
/**
* @brief 获取第一点坐标xyz最小点
* @param[i] p1 坐标值
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
void getPoint1(double* p1);
/**
* @brief 获取长度x y z
* @param[o] length 长度值
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
void getLength(double* length);
/**
* @brief 获取几何命令类型
* @return FITKGeoEnum::FITKGeometryComType
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-12
*/
FITKGeoEnum::FITKGeometryComType getGeometryCommandType() override;
protected:
/**
* @brief 第一点坐标xyz最小点
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
double _point1[3] = { 0,0,0 };
/**
* @brief 第二点坐标xyz最大点
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
double _lengthParam[3] = { 0,0,0 };
};
}
#endif