DATAKIT API  V2025.4
Dtk_feat_SpotPoint Class Reference

Spot Point (the node in the tree structure storing joint element features) More...

Public Types

enum  Finish {
  Class_A, Class_B, Class_C, Class_D,
  Unspecified_Finish
}
 
enum  Material {
  Glue1, Glue2, Sealant_material1, Sealant_material2,
  Unspecified_Material
}
 
enum  ProcessCategory { Welding, Adhesive, Sealant }
 
enum  ProcessType {
  Resistance, TIG_14, TIG_141, Laser,
  _135, _78, PLW, Unspecified_Welding,
  Structural_Adhesive, Non_Structural_Adhesive, Unspecified_Adhesive, Robot_Sealed,
  Sealed_by_hand, Unspecified_Sealant
}
 
enum  Regulation { Norm_A, Norm_B, None, Unspecified_Regulation }
 
enum  Robustness {
  Ordinary, Critical, Safety, Manufacturing,
  Unspecified_Robustness
}
 

Public Member Functions

double diameter () const
 Return SpotPoint diameter. More...
 
 Dtk_feat_SpotPoint ()
 Default Constructor. More...
 
 Dtk_feat_SpotPoint (const Dtk_feat_SpotPoint &spot)
 Copy Constructor. More...
 
 Dtk_feat_SpotPoint (const Dtk_pnt &p_location, const Dtk_dir &p_normal, double p_diameter, ProcessCategory p_category, ProcessType p_type, Robustness p_robustness, Regulation p_regulation, Finish p_finish)
 Parameters Constructor. More...
 
 Dtk_feat_SpotPoint (const Dtk_pnt &p_location, const Dtk_dir &p_normal, double p_diameter, ProcessCategory p_category, ProcessType p_type, Robustness p_robustness, Regulation p_regulation, Finish p_finish, Material p_material)
 Parameters Constructor. More...
 
Finish finish () const
 Return SpotPoint finish. More...
 
bool isGeometryFlag () const
 Return SpotPoint geometry flag. More...
 
bool isInspectionFlag () const
 Return SpotPoint inspection flag. More...
 
Dtk_pnt location () const
 Return SpotPoint location. More...
 
Dtk_string manufacturingCode () const
 Return SpotPoint manufacturing code. More...
 
Material material () const
 Return SpotPoint material. More...
 
Dtk_dir normal () const
 Return SpotPoint normal. More...
 
Dtk_feat_SpotPointoperator= (const Dtk_feat_SpotPoint &spot)
 Assignment operator. More...
 
ProcessCategory processCategory () const
 Return SpotPoint category. More...
 
ProcessType processType () const
 Return SpotPoint type. More...
 
Regulation regulation () const
 Return SpotPoint regulation. More...
 
Robustness robustness () const
 Return SpotPoint regulation. More...
 
void setDiameter (double p_diam)
 Set SpotPoint diameter. More...
 
void setFinish (Dtk_string const &p_finish)
 Set SpotPoint finish. More...
 
void setFinish (Finish p_finish)
 Set SpotPoint finish. More...
 
void setGeometryFlag (bool p_flag)
 Set SpotPoint geometry flag. More...
 
void setInspectionFlag (bool p_flag)
 Set SpotPoint inspection flag. More...
 
void setLocation (const Dtk_pnt &p_location)
 Set SpotPoint location. More...
 
void setLocation (double x, double y, double z)
 Returns SpotPoint location. More...
 
void setManufacturingCode (const Dtk_string &p_code)
 Set SpotPoint manufacturing code. More...
 
void setMaterial (Dtk_string const &p_material)
 Set SpotPoint material. More...
 
void setMaterial (Material p_material)
 Set SpotPoint material. More...
 
void setNormal (const Dtk_dir &p_normal)
 Set SpotPoint normal. More...
 
void setNormal (double x, double y, double z)
 Set SpotPoint normal. More...
 
void setProcessCategory (Dtk_string const &p_category)
 Set SpotPoint category. More...
 
void setProcessCategory (ProcessCategory p_category)
 Set SpotPoint category. More...
 
void setProcessType (Dtk_string const &p_type)
 Set SpotPoint type. More...
 
void setProcessType (ProcessType p_type)
 Set SpotPoint type. More...
 
void setRegulation (Dtk_string const &p_regulation)
 Set SpotPoint regulation. More...
 
void setRegulation (Regulation p_regulation)
 Set SpotPoint regulation. More...
 
void setRobustness (Dtk_string const &p_robustness)
 Set SpotPoint robustness. More...
 
void setRobustness (Robustness p_robustness)
 Set SpotPoint robustness. More...
 
 ~Dtk_feat_SpotPoint ()
 Destructor. More...
 

Detailed Description

Spot Point (the node in the tree structure storing joint element features)

Member Enumeration Documentation

◆ Finish

Enumerator
Class_A 
Class_B 
Class_C 
Class_D 
Unspecified_Finish 

◆ Material

Enumerator
Glue1 
Glue2 
Sealant_material1 
Sealant_material2 
Unspecified_Material 

◆ ProcessCategory

Enumerator
Welding 
Adhesive 
Sealant 

◆ ProcessType

Enumerator
Resistance 
TIG_14 
TIG_141 
Laser 
_135 
_78 
PLW 
Unspecified_Welding 
Structural_Adhesive 
Non_Structural_Adhesive 
Unspecified_Adhesive 
Robot_Sealed 
Sealed_by_hand 
Unspecified_Sealant 

◆ Regulation

Enumerator
Norm_A 
Norm_B 
None 
Unspecified_Regulation 

◆ Robustness

Enumerator
Ordinary 
Critical 
Safety 
Manufacturing 
Unspecified_Robustness 

Constructor & Destructor Documentation

◆ Dtk_feat_SpotPoint() [1/4]

Dtk_feat_SpotPoint::Dtk_feat_SpotPoint ( )

Default Constructor.

◆ Dtk_feat_SpotPoint() [2/4]

Dtk_feat_SpotPoint::Dtk_feat_SpotPoint ( const Dtk_feat_SpotPoint spot)

Copy Constructor.

◆ Dtk_feat_SpotPoint() [3/4]

Dtk_feat_SpotPoint::Dtk_feat_SpotPoint ( const Dtk_pnt p_location,
const Dtk_dir p_normal,
double  p_diameter,
ProcessCategory  p_category,
ProcessType  p_type,
Robustness  p_robustness,
Regulation  p_regulation,
Finish  p_finish 
)

Parameters Constructor.

Parameters
p_location: SpotPoint location
p_normal: SpotPoint normal
p_diameter: SpotPoint diameter
p_category: SpotPoint category
p_type: SpotPoint type
p_robustness: SpotPoint robustness
p_regulation: SpotPoint regulation
p_finish: SpotPoint finish
Remarks
in Debug throw an exception if type doesn't match category

◆ Dtk_feat_SpotPoint() [4/4]

Dtk_feat_SpotPoint::Dtk_feat_SpotPoint ( const Dtk_pnt p_location,
const Dtk_dir p_normal,
double  p_diameter,
ProcessCategory  p_category,
ProcessType  p_type,
Robustness  p_robustness,
Regulation  p_regulation,
Finish  p_finish,
Material  p_material 
)

Parameters Constructor.

Parameters
p_location: SpotPoint location
p_normal: SpotPoint normal
p_diameter: SpotPoint diameter
p_category: SpotPoint category
p_type: SpotPoint type
p_robustness: SpotPoint robustness
p_regulation: SpotPoint regulation
p_finish: SpotPoint finish
p_material: SpotPoint material
Remarks
in Debug throw an exception if type doesn't match category, idem for material

◆ ~Dtk_feat_SpotPoint()

Dtk_feat_SpotPoint::~Dtk_feat_SpotPoint ( )

Destructor.

Member Function Documentation

◆ diameter()

double Dtk_feat_SpotPoint::diameter ( ) const

Return SpotPoint diameter.

◆ finish()

Finish Dtk_feat_SpotPoint::finish ( ) const

Return SpotPoint finish.

◆ isGeometryFlag()

bool Dtk_feat_SpotPoint::isGeometryFlag ( ) const

Return SpotPoint geometry flag.

Remarks
only available with Welding

◆ isInspectionFlag()

bool Dtk_feat_SpotPoint::isInspectionFlag ( ) const

Return SpotPoint inspection flag.

◆ location()

Dtk_pnt Dtk_feat_SpotPoint::location ( ) const

Return SpotPoint location.

◆ manufacturingCode()

Dtk_string Dtk_feat_SpotPoint::manufacturingCode ( ) const

Return SpotPoint manufacturing code.

◆ material()

Material Dtk_feat_SpotPoint::material ( ) const

Return SpotPoint material.

◆ normal()

Dtk_dir Dtk_feat_SpotPoint::normal ( ) const

Return SpotPoint normal.

◆ operator=()

Dtk_feat_SpotPoint& Dtk_feat_SpotPoint::operator= ( const Dtk_feat_SpotPoint spot)

Assignment operator.

◆ processCategory()

ProcessCategory Dtk_feat_SpotPoint::processCategory ( ) const

Return SpotPoint category.

◆ processType()

ProcessType Dtk_feat_SpotPoint::processType ( ) const

Return SpotPoint type.

◆ regulation()

Regulation Dtk_feat_SpotPoint::regulation ( ) const

Return SpotPoint regulation.

◆ robustness()

Robustness Dtk_feat_SpotPoint::robustness ( ) const

Return SpotPoint regulation.

◆ setDiameter()

void Dtk_feat_SpotPoint::setDiameter ( double  p_diam)

Set SpotPoint diameter.

◆ setFinish() [1/2]

void Dtk_feat_SpotPoint::setFinish ( Dtk_string const &  p_finish)

Set SpotPoint finish.

◆ setFinish() [2/2]

void Dtk_feat_SpotPoint::setFinish ( Finish  p_finish)

Set SpotPoint finish.

◆ setGeometryFlag()

void Dtk_feat_SpotPoint::setGeometryFlag ( bool  p_flag)

Set SpotPoint geometry flag.

Remarks
only available with Welding

◆ setInspectionFlag()

void Dtk_feat_SpotPoint::setInspectionFlag ( bool  p_flag)

Set SpotPoint inspection flag.

◆ setLocation() [1/2]

void Dtk_feat_SpotPoint::setLocation ( const Dtk_pnt p_location)

Set SpotPoint location.

◆ setLocation() [2/2]

void Dtk_feat_SpotPoint::setLocation ( double  x,
double  y,
double  z 
)

Returns SpotPoint location.

◆ setManufacturingCode()

void Dtk_feat_SpotPoint::setManufacturingCode ( const Dtk_string p_code)

Set SpotPoint manufacturing code.

◆ setMaterial() [1/2]

void Dtk_feat_SpotPoint::setMaterial ( Dtk_string const &  p_material)

Set SpotPoint material.

Remarks
in Debug throw an exception if it's Welding category

◆ setMaterial() [2/2]

void Dtk_feat_SpotPoint::setMaterial ( Material  p_material)

Set SpotPoint material.

Remarks
in Debug throw an exception if it's Welding category

◆ setNormal() [1/2]

void Dtk_feat_SpotPoint::setNormal ( const Dtk_dir p_normal)

Set SpotPoint normal.

◆ setNormal() [2/2]

void Dtk_feat_SpotPoint::setNormal ( double  x,
double  y,
double  z 
)

Set SpotPoint normal.

◆ setProcessCategory() [1/2]

void Dtk_feat_SpotPoint::setProcessCategory ( Dtk_string const &  p_category)

Set SpotPoint category.

◆ setProcessCategory() [2/2]

void Dtk_feat_SpotPoint::setProcessCategory ( ProcessCategory  p_category)

Set SpotPoint category.

◆ setProcessType() [1/2]

void Dtk_feat_SpotPoint::setProcessType ( Dtk_string const &  p_type)

Set SpotPoint type.

Remarks
on Debug throw an exception if type doesn't match category

◆ setProcessType() [2/2]

void Dtk_feat_SpotPoint::setProcessType ( ProcessType  p_type)

Set SpotPoint type.

Remarks
on Debug throw an exception if type doesn't match category

◆ setRegulation() [1/2]

void Dtk_feat_SpotPoint::setRegulation ( Dtk_string const &  p_regulation)

Set SpotPoint regulation.

◆ setRegulation() [2/2]

void Dtk_feat_SpotPoint::setRegulation ( Regulation  p_regulation)

Set SpotPoint regulation.

◆ setRobustness() [1/2]

void Dtk_feat_SpotPoint::setRobustness ( Dtk_string const &  p_robustness)

Set SpotPoint robustness.

◆ setRobustness() [2/2]

void Dtk_feat_SpotPoint::setRobustness ( Robustness  p_robustness)

Set SpotPoint robustness.