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

struct of the TShapedParams data More...

#include <CorePrimAPI.h>

Public Member Functions

 TShapedParams ()
 constructor.
 
 TShapedParams (float _d, float _h, float _w)
 constructor.
 
TShapedParamsdiameter (float _d)
 set the diameter.
 
TShapedParamsheight (float _h)
 set the height.
 
TShapedParamswidth (float _w)
 set the width.
 
 operator void * () const
 () operator
 

Public Attributes

float _diameter
 
float _height
 
float _width
 

Detailed Description

struct of the TShapedParams data

Constructor & Destructor Documentation

◆ TShapedParams()

coat::TShapedParams::TShapedParams ( float _d,
float _h,
float _w )

constructor.

Parameters
_ddiameter
_hheight
_wwidth

Member Function Documentation

◆ diameter()

TShapedParams & coat::TShapedParams::diameter ( float _d)

set the diameter.

Parameters
_ddiameter
Returns
TShapedParams reference

◆ height()

TShapedParams & coat::TShapedParams::height ( float _h)

set the height.

Parameters
_hheight
Returns
TShapedParams reference

◆ width()

TShapedParams & coat::TShapedParams::width ( float _w)

set the width.

Parameters
_wwidth
Returns
TShapedParams reference

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