3DCoat Core API
The 3DCoat API documentation.
Loading...
Searching...
No Matches
coat::LambParams Class Reference

struct of the LambParams data More...

#include <CorePrimAPI.h>

Public Member Functions

 LambParams ()
 constructor.
 
 LambParams (float _l, float _dtop, float _dbottom, float _hh, float _h, float _thick)
 constructor.
 
LambParamslength (float _l)
 set the length.
 
LambParamsdiameterTop (float _d)
 set the top diameter.
 
LambParamsdiameterBottom (float _d)
 set the bottom diameter.
 
LambParamsheight (float _h)
 set the height.
 
LambParamsheadHeight (float _h)
 set the head height.
 
LambParamsthickness (float _t)
 set the thickness.
 
 operator void * () const
 () operator
 

Public Attributes

float _length
 
float _diameterTop
 
float _diameterBottom
 
float _headHeight
 
float _height
 
float _thickness
 

Detailed Description

struct of the LambParams data

Examples
boltheads.cpp.

Constructor & Destructor Documentation

◆ LambParams()

coat::LambParams::LambParams ( float _l,
float _dtop,
float _dbottom,
float _hh,
float _h,
float _thick )

constructor.

Parameters
_llength
_dtoptop diameter
_dbottombottom diameter
_hhhead height
_hheight
_thickthickness

Member Function Documentation

◆ diameterBottom()

LambParams & coat::LambParams::diameterBottom ( float _d)

set the bottom diameter.

Parameters
_dbottom diameter
Returns
LambParams reference

◆ diameterTop()

LambParams & coat::LambParams::diameterTop ( float _d)

set the top diameter.

Parameters
_dtop diameter
Returns
LambParams reference

◆ headHeight()

LambParams & coat::LambParams::headHeight ( float _h)

set the head height.

Parameters
_hheight
Returns
LambParams reference

◆ height()

LambParams & coat::LambParams::height ( float _h)

set the height.

Parameters
_hheight
Returns
LambParams reference

◆ length()

LambParams & coat::LambParams::length ( float _l)

set the length.

Parameters
_llength
Returns
LambParams reference

◆ thickness()

LambParams & coat::LambParams::thickness ( float _t)

set the thickness.

Parameters
_tthickness
Returns
LambParams reference

The documentation for this class was generated from the following file: