3DCoat Core API
The 3DCoat API documentation.
Loading...
Searching...
No Matches
coat::NutAcornParams Class Reference
Inheritance diagram for coat::NutAcornParams:
coat::NutHeadBaseParams coat::NutLowAcornParams coat::NutSelfLockParams coat::NutTShapedParams

Public Member Functions

 NutAcornParams ()
 constructor.
 
 NutAcornParams (float d, float h, float h1)
 constructor.
 
NutAcornParamsfacetHeight (const float &_h)
 set the facet height.
 
float facetHeight () const
 get the facet height.
 
virtual NutHeadBaseParamscopy (NutHeadBaseParams *p=nullptr)
 copies the NutAcornParams object.
 
- Public Member Functions inherited from coat::NutHeadBaseParams
 NutHeadBaseParams ()
 constructor.
 
 NutHeadBaseParams (NutType t, float d, float h)
 constructor.
 
NutHeadBaseParamsdiameter (const float &d)
 set the diameter.
 
float diameter () const
 get the diameter.
 
NutHeadBaseParamsheight (const float &h)
 set the height.
 
float height () const
 get the height.
 
 operator void * () const
 () operator
 
NutHeadBaseParamstype (int t)
 set the nut type.
 
int type () const
 set the nut type.
 

Constructor & Destructor Documentation

◆ NutAcornParams()

coat::NutAcornParams::NutAcornParams ( float d,
float h,
float h1 )

constructor.

Parameters
ddiameter
hheight
h1facet height

Member Function Documentation

◆ copy()

virtual NutHeadBaseParams * coat::NutAcornParams::copy ( NutHeadBaseParams * p = nullptr)
virtual

copies the NutAcornParams object.

Parameters
ppointer to the NutAcornParams object to copy. If the pointer equals to null then the object is duplicated
Returns
the pointer to a copy of an NutAcornParams object.

Reimplemented from coat::NutHeadBaseParams.

◆ facetHeight() [1/2]

float coat::NutAcornParams::facetHeight ( ) const

get the facet height.

Returns
facet height value.

◆ facetHeight() [2/2]

NutAcornParams & coat::NutAcornParams::facetHeight ( const float & _h)

set the facet height.

Parameters
_hheight value.
Returns
NutAcornParams reference

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