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

struct of the RimParams data More...

#include <CorePrimAPI.h>

Public Member Functions

 RimParams ()
 constructor.
 
 RimParams (float _d, float _h, float _d1, float _d2)
 constructor.
 
RimParamsshoulderDiameter (float _d)
 set the shoulder diameter.
 
RimParamsshoulderHeight (float _h)
 set the shoulder height.
 
RimParamsinRingDiameter (float _d)
 set the inner ring diameter.
 
RimParamsoutRingDiameter (float _d)
 set the outer ring diameter.
 
 operator void * () const
 () operator
 

Public Attributes

float _shoulderDiameter
 
float _shoulderHeight
 
float _inRingDiameter
 
float _outRingDiameter
 

Detailed Description

struct of the RimParams data

Examples
bolt_rim.cpp.

Constructor & Destructor Documentation

◆ RimParams()

coat::RimParams::RimParams ( float _d,
float _h,
float _d1,
float _d2 )

constructor.

Parameters
_dshoulder diameter
_hshoulder height
_dlinner ring diameter
_d2outer ring diameter

Member Function Documentation

◆ inRingDiameter()

RimParams & coat::RimParams::inRingDiameter ( float _d)

set the inner ring diameter.

Parameters
_ddiameter
Returns
RimParams reference

◆ outRingDiameter()

RimParams & coat::RimParams::outRingDiameter ( float _d)

set the outer ring diameter.

Parameters
_ddiameter
Returns
RimParams reference

◆ shoulderDiameter()

RimParams & coat::RimParams::shoulderDiameter ( float _d)

set the shoulder diameter.

Parameters
_ddiameter
Returns
RimParams reference

◆ shoulderHeight()

RimParams & coat::RimParams::shoulderHeight ( float _h)

set the shoulder height.

Parameters
_hheight
Returns
RimParams reference

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