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

struct of the rim data More...

#include <CorePrimAPI.h>

Public Member Functions

 rim ()
 constructor.
 
 rim (float _d, float _h, float _d1, float _d2)
 constructor. More...
 
rimshoulderDiameter (float _d)
 set the shoulder diameter. More...
 
rimshoulderHeight (float _h)
 set the shoulder height. More...
 
riminRingDiameter (float _d)
 set the inner ring diameter. More...
 
rimoutRingDiameter (float _d)
 set the outer ring diameter. More...
 
 operator void * () const
 () operator
 

Public Attributes

float _shoulderDiameter
 
float _shoulderHeight
 
float _inRingDiameter
 
float _outRingDiameter
 

Detailed Description

struct of the rim data

Examples
bolt_rim.cpp.

Constructor & Destructor Documentation

◆ rim()

coat::boltHead::rim::rim ( float  _d,
float  _h,
float  _d1,
float  _d2 
)

constructor.

Parameters
_dshoulder diameter
_hshoulder height
_dlinner ring diameter
_d2outer ring diameter

Member Function Documentation

◆ inRingDiameter()

rim & coat::boltHead::rim::inRingDiameter ( float  _d)

set the inner ring diameter.

Parameters
_ddiameter
Returns
rim reference

◆ outRingDiameter()

rim & coat::boltHead::rim::outRingDiameter ( float  _d)

set the outer ring diameter.

Parameters
_ddiameter
Returns
rim reference

◆ shoulderDiameter()

rim & coat::boltHead::rim::shoulderDiameter ( float  _d)

set the shoulder diameter.

Parameters
_ddiameter
Returns
rim reference

◆ shoulderHeight()

rim & coat::boltHead::rim::shoulderHeight ( float  _h)

set the shoulder height.

Parameters
_hheight
Returns
rim reference

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