3DCoat Core API
The 3DCoat API documentation.
Public Member Functions | List of all members
coat::nut::clamplever Class Reference
Inheritance diagram for coat::nut::clamplever:
coat::nut::base

Public Member Functions

 clamplever ()
 constructor.
 
 clamplever (float d, float h)
 constructor. More...
 
clampleverholderDiameter (const float &_d)
 set the diameter of the holder. More...
 
clampleverlength (const float &_l)
 set the length. More...
 
float holderDiameter () const
 get the diameter of the holder. More...
 
float length () const
 get the length. More...
 
virtual basecopy (base *p=nullptr)
 copies the clamplever object. More...
 
- Public Member Functions inherited from coat::nut::base
 base ()
 constructor.
 
 base (Type t, float d, float h)
 constructor. More...
 
basediameter (const float &d)
 set the diameter. More...
 
float diameter () const
 get the diameter. More...
 
baseheight (const float &h)
 set the height. More...
 
float height () const
 get the height. More...
 
 operator void * () const
 () operator
 
basetype (int t)
 set the nut type. More...
 
int type () const
 set the nut type. More...
 
virtual basecopy (base *p=nullptr)
 copies the object. More...
 

Constructor & Destructor Documentation

◆ clamplever()

coat::nut::clamplever::clamplever ( float  d,
float  h 
)

constructor.

Parameters
ddiameter
hheight

Member Function Documentation

◆ copy()

virtual base * coat::nut::clamplever::copy ( base p = nullptr)
virtual

copies the clamplever object.

Parameters
ppointer to the clamplever object to copy. If the pointer equals to null then the object is duplicated
Returns
the pointer to a copy of an clamplever object.

Reimplemented from coat::nut::base.

◆ holderDiameter() [1/2]

float coat::nut::clamplever::holderDiameter ( ) const

get the diameter of the holder.

Returns
holder diameter

◆ holderDiameter() [2/2]

clamplever & coat::nut::clamplever::holderDiameter ( const float &  _d)

set the diameter of the holder.

Parameters
_ddiameter
Returns
clamplever reference

◆ length() [1/2]

float coat::nut::clamplever::length ( ) const

get the length.

Returns
length value

◆ length() [2/2]

clamplever & coat::nut::clamplever::length ( const float &  _l)

set the length.

Parameters
_llength
Returns
clamplever reference

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