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

HeadBaseParams struct of the head data. More...

#include <CorePrimAPI.h>

Public Member Functions

 HeadBaseParams ()
 constructor.
 
 HeadBaseParams (float _d, float _h)
 constructor.
 
HeadBaseParamsdiameter (float _d)
 set the diameter.
 
HeadBaseParamsheight (float _h)
 set the height.
 
 operator void * () const
 () operator
 

Public Attributes

float _diameter
 
float _height
 

Detailed Description

HeadBaseParams struct of the head data.

Examples
bolt_binary.cpp, boltheads.cpp, and screw.cpp.

Constructor & Destructor Documentation

◆ HeadBaseParams()

coat::HeadBaseParams::HeadBaseParams ( float _d,
float _h )

constructor.

Parameters
_ddiameter
_hheight

Member Function Documentation

◆ diameter()

HeadBaseParams & coat::HeadBaseParams::diameter ( float _d)

set the diameter.

Parameters
_ddiameter
Returns
HeadBaseParams reference

◆ height()

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

set the height.

Parameters
_hheight
Returns
HeadBaseParams reference

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