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/FITKInterfaceMeshGen/FITKRegionMeshSizeCylinder.h

159 lines
4.5 KiB
C

/**
*
* @file FITKRegionMeshSizeCylinder.h
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-17
*
*/
#ifndef _FITK_REGION_MESH_SIZE_CYLINDER_H___
#define _FITK_REGION_MESH_SIZE_CYLINDER_H___
#include "FITKRegionMeshSize.h"
namespace Interface
{
/**
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-17
*/
class FITKInterfaceMeshGenAPI FITKRegionMeshSizeCylinder :
public FITKAbstractRegionMeshSize
{
public:
/**
* @brief Construct a new FITKRegionMeshSizeCylinder object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-17
*/
explicit FITKRegionMeshSizeCylinder();
/**
* @brief Destroy the FITKRegionMeshSizeCylinder object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-17
*/
virtual ~FITKRegionMeshSizeCylinder() = default;
/**
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-17
* @return RegionType
*/
virtual RegionType getRegionType() override;
/**
* @brief
* @param[i] p1
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
void setLocation(double* p1);
/**
* @brief
* @param[i] p1
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-22
*/
void getLocation(double* p1);
/**
* @brief 线
* @param[i] d 线
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
void setDirection(double* d);
/**
* @brief 线
* @param[i] d 线
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-22
*/
void getDirection(double* d);
/**
* @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-07-22
*/
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-07-22
*/
double getLength() const;
/**
* @brief
* @param[i] fac
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
void setRadialFraction(double fac);
/**
* @brief
* @return double
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-22
*/
double getRadialFraction() const;
/**
* @brief 线线
* @param[o] axis axis[0-2] axis[3-5]
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
void getPlaneAxis(double* axis);
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] = { 1,0,0 };
/**
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
double _radius{ 5.0 };
/**
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-06-05
*/
double _length{ 10.0 };
/**
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-16
*/
double _radiusFaction{ 0.5 };
};
}
#endif