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

struct of the lamb data More...

#include <CorePrimAPI.h>

Public Member Functions

 lamb ()
 constructor.
 
 lamb (float _l, float _dtop, float _dbottom, float _hh, float _h, float _thick)
 constructor. More...
 
lamblength (float _l)
 set the length. More...
 
lambdiameterTop (float _d)
 set the top diameter. More...
 
lambdiameterBottom (float _d)
 set the bottom diameter. More...
 
lambheight (float _h)
 set the height. More...
 
lambheadHeight (float _h)
 set the head height. More...
 
lambthickness (float _t)
 set the thickness. More...
 
 operator void * () const
 () operator
 

Public Attributes

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

Detailed Description

struct of the lamb data

Examples
boltheads.cpp.

Constructor & Destructor Documentation

◆ lamb()

coat::boltHead::lamb::lamb ( 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()

lamb & coat::boltHead::lamb::diameterBottom ( float  _d)

set the bottom diameter.

Parameters
_dbottom diameter
Returns
lamb reference

◆ diameterTop()

lamb & coat::boltHead::lamb::diameterTop ( float  _d)

set the top diameter.

Parameters
_dtop diameter
Returns
lamb reference

◆ headHeight()

lamb & coat::boltHead::lamb::headHeight ( float  _h)

set the head height.

Parameters
_hheight
Returns
lamb reference

◆ height()

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

set the height.

Parameters
_hheight
Returns
lamb reference

◆ length()

lamb & coat::boltHead::lamb::length ( float  _l)

set the length.

Parameters
_llength
Returns
lamb reference

◆ thickness()

lamb & coat::boltHead::lamb::thickness ( float  _t)

set the thickness.

Parameters
_tthickness
Returns
lamb reference

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