3DCoat Core API
The 3DCoat API documentation.
Public Member Functions | Public Attributes | List of all members
coat::boltHead::tshaped Struct Reference

struct of the tshaped data More...

#include <CorePrimAPI.h>

Public Member Functions

 tshaped ()
 constructor.
 
 tshaped (float _d, float _h, float _w)
 constructor. More...
 
tshapeddiameter (float _d)
 set the diameter. More...
 
tshapedheight (float _h)
 set the height. More...
 
tshapedwidth (float _w)
 set the width. More...
 
 operator void * () const
 () operator
 

Public Attributes

float _diameter
 
float _height
 
float _width
 

Detailed Description

struct of the tshaped data

Constructor & Destructor Documentation

◆ tshaped()

coat::boltHead::tshaped::tshaped ( float  _d,
float  _h,
float  _w 
)

constructor.

Parameters
_ddiameter
_hheight
_wwidth

Member Function Documentation

◆ diameter()

tshaped & coat::boltHead::tshaped::diameter ( float  _d)

set the diameter.

Parameters
_ddiameter
Returns
tshaped reference

◆ height()

tshaped & coat::boltHead::tshaped::height ( float  _h)

set the height.

Parameters
_hheight
Returns
tshaped reference

◆ width()

tshaped & coat::boltHead::tshaped::width ( float  _w)

set the width.

Parameters
_wwidth
Returns
tshaped reference

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