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

Public Member Functions

 acorn ()
 acorn (float d, float h, float h1)
 constructor. More...
acornfacetHeight (const float &_h)
 set the facet height. More...
float facetHeight () const
 get the facet height. More...
virtual basecopy (base *p=nullptr)
 copies the acorn object. More...
- Public Member Functions inherited from coat::nut::base
 base ()
 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

◆ acorn()

coat::nut::acorn::acorn ( float  d,
float  h,
float  h1 


h1facet height

Member Function Documentation

◆ copy()

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

copies the acorn object.

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

Reimplemented from coat::nut::base.

◆ facetHeight() [1/2]

float coat::nut::acorn::facetHeight ( ) const

get the facet height.

facet height value.

◆ facetHeight() [2/2]

acorn & coat::nut::acorn::facetHeight ( const float &  _h)

set the facet height.

_hheight value.
acorn reference

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