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

base struct of the head data More...

#include <CorePrimAPI.h>

Public Member Functions

 base ()
 constructor.
 
 base (float _d, float _h)
 constructor. More...
 
basediameter (float _d)
 set the diameter. More...
 
baseheight (float _h)
 set the height. More...
 
 operator void * () const
 () operator
 

Public Attributes

float _diameter
 
float _height
 

Detailed Description

base struct of the head data

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

Constructor & Destructor Documentation

◆ base()

coat::boltHead::base::base ( float  _d,
float  _h 
)

constructor.

Parameters
_ddiameter
_hheight

Member Function Documentation

◆ diameter()

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

set the diameter.

Parameters
_ddiameter
Returns
base reference

◆ height()

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

set the height.

Parameters
_hheight
Returns
base reference

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