DATAKIT API  V2025.1
Dtk_mesh_circle_data Class Reference

This class gathers circle datas. More...

Public Member Functions

 Dtk_mesh_circle_data ()
 Default constructor. More...
 
Dtk_dir get_axis () const
 Return the circle/cylinder axis. More...
 
Dtk_pnt get_center () const
 Return the circle/cylinder center. More...
 
double get_radius () const
 Return the circle/cylinder radius. More...
 
void set_axis (Dtk_dir inAxis)
 Used to set the circle/cylinder axis. More...
 
void set_center (Dtk_pnt inCenter)
 Used to set the circle/cylinder center. More...
 
void set_radius (double inRadius)
 Used to set the circle/cylinder radius. More...
 
 ~Dtk_mesh_circle_data ()
 Default destructor. More...
 

Detailed Description

This class gathers circle datas.

Constructor & Destructor Documentation

◆ Dtk_mesh_circle_data()

Dtk_mesh_circle_data::Dtk_mesh_circle_data ( )

Default constructor.

◆ ~Dtk_mesh_circle_data()

Dtk_mesh_circle_data::~Dtk_mesh_circle_data ( )

Default destructor.

Member Function Documentation

◆ get_axis()

Dtk_dir Dtk_mesh_circle_data::get_axis ( ) const

Return the circle/cylinder axis.

◆ get_center()

Dtk_pnt Dtk_mesh_circle_data::get_center ( ) const

Return the circle/cylinder center.

◆ get_radius()

double Dtk_mesh_circle_data::get_radius ( ) const

Return the circle/cylinder radius.

◆ set_axis()

void Dtk_mesh_circle_data::set_axis ( Dtk_dir  inAxis)

Used to set the circle/cylinder axis.

Parameters
inAxis: axis

◆ set_center()

void Dtk_mesh_circle_data::set_center ( Dtk_pnt  inCenter)

Used to set the circle/cylinder center.

Parameters
inCenter: center

◆ set_radius()

void Dtk_mesh_circle_data::set_radius ( double  inRadius)

Used to set the circle/cylinder radius.

Parameters
inRadius: radius