C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
FastenersValues Class Reference

The parameters of fastener elements. More...

#include <op_shell_parameter.h>

Public Types

enum  MbeFastenerType { ft_CountersunkHeadRivet = 0 , ft_UniversalHeadRivet , ft_RoundHeadRivet , ft_FlatHeadRivet }
 Fastener Types. More...
 

Public Member Functions

 FastenersValues (MbeFastenerType ft, double d)
 Constructor of fastener based on type and diameter. More...
 
 FastenersValues (MbeFastenerType ft, double d, double a, double dd, double hd, double hh, ThreeStates ho)
 Constructor of fastener based on type, diameter, angle and side length. More...
 
MbeFastenerType GetType () const
 Return type of fastener.
 
double GetDiameter () const
 Return diameter value.
 
void SetDiameter (double d)
 Set diameter value.
 
double GetAngle () const
 Return angle value.
 
void SetAngle (double a)
 Set angle value.
 
double GetDepth () const
 Return chamfer depth value.
 
void SetDepth (double d)
 Set chamfer depth value.
 
double GetHeadDiameter () const
 Return chamfer depth value.
 
void SetHeadDiameter (double hd)
 Set chamfer depth value.
 
double GetHeadHeight () const
 Return head height value.
 
void SetHeadHeight (double hh)
 Set head height value.
 
ThreeStates RivetAndHole () const
 Hole only?
 
void Init (const FastenersValues &other)
 Initialization function.
 
FastenersValuesoperator= (const FastenersValues &other)
 Assignment operator.
 

Detailed Description

The parameters of fastener elements.

The parameters of fastener elements.

Member Enumeration Documentation

◆ MbeFastenerType

Fastener Types.

Enumerator
ft_CountersunkHeadRivet 

(semi)Countersunk head rivet.

ft_UniversalHeadRivet 

Universal head rivet.

ft_RoundHeadRivet 

Round head rivet.

ft_FlatHeadRivet 

Flat head rivet.

Constructor & Destructor Documentation

◆ FastenersValues() [1/2]

FastenersValues::FastenersValues ( MbeFastenerType  ft,
double  d 
)
inline

Constructor of fastener based on type and diameter.

Constructor of fastener based on type and diameter.

Parameters
[in]ft- Fastener type.
[in]d- Fastener diameter.

◆ FastenersValues() [2/2]

FastenersValues::FastenersValues ( MbeFastenerType  ft,
double  d,
double  a,
double  dd,
double  hd,
double  hh,
ThreeStates  ho 
)
inline

Constructor of fastener based on type, diameter, angle and side length.

Constructor of fastener based on type, diameter, angle and side length.

Parameters
[in]ft- Fastener type.
[in]d- Fastener diameter.
[in]a- Angle.
[in]dd- Depth.
[in]hd- Head base diameter
[in]hh- Head height.
[in]ho- Create hole only.

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