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

135 lines
3.7 KiB
C

/**
*
* @file FITKOCCModelCylinder.h
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*
*/
#ifndef __FITK_ABSGEO_MODEL_CYLINDER_H__
#define __FITK_ABSGEO_MODEL_CYLINDER_H__
#include "FITKInterfaceGeometryAPI.h"
#include "FITKAbsGeoCommand.h"
namespace Interface
{
/**
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
class FITKInterfaceGeometryAPI FITKAbsGeoModelCylinder :
public FITKAbsGeoCommand
{
public:
/**
* @brief Construct a new FITKOCCModelCylinder object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
explicit FITKAbsGeoModelCylinder() = default;
/**
* @brief Destroy the FITKOCCModelCylinder object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
virtual ~FITKAbsGeoModelCylinder();
/**
* @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] dir 线
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
void setDirection(double* dir);
/**
* @brief 线
* @param[o] dir 线
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
void getDirection(double* dir);
/**
* @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
* @param[i] length
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
void setLength(double length);
/**
* @brief
* @return double
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
double getLength( ) 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 _direction[3] = { 0,0,0 };
/**
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
double _radius{ 0 };
/**
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
double _length{ 0 };
};
}
#endif