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/FITKAbsGeoModelSphere.h

92 lines
2.4 KiB
C

/**
*
* @file FITKOCCModelSphere.h
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*
*/
#ifndef __FITK_ABSGEO_MODEL_SPHERE_H__
#define __FITK_ABSGEO_MODEL_SPHERE_H__
#include "FITKInterfaceGeometryAPI.h"
#include "FITKAbsGeoCommand.h"
namespace Interface
{
/**
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
class FITKInterfaceGeometryAPI FITKAbsGeoModelSphere :
public FITKAbsGeoCommand
{
public:
/**
* @brief Construct a new FITKOCCModelSphere object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
explicit FITKAbsGeoModelSphere() = default;
/**
* @brief Destroy the FITKOCCModelSphere object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
virtual ~FITKAbsGeoModelSphere();
/**
* @brief
* @param[i] p1
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
void setLocation(double* p1);
/**
* @brief
* @param[o] p1
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
void getLocation(double* p1);
/**
* @brief
* @param[i] r
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
void setRadius(double r);
/**
* @brief
* @return double
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
double getRadius() const;
/**
* @brief
* @return FITKGeoEnum::FITKGeometryComType
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-12
*/
FITKGeoEnum::FITKGeometryComType getGeometryCommandType() override;
protected:
/**
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
double _location[3] = { 0,0,0 };
/**
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
double _radius{ 0 };
};
}
#endif