C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

Parameters for the 3d-contour chamfers creation. More...

#include <op_curve_parameter.h>

+ Collaboration diagram for MbContourChamferParams:

Public Member Functions

 MbContourChamferParams (const MbCurve3D &initCurve, const std::vector< MbCornerChamferParams > &_params)
 Constructor by parameters.
 
 MbContourChamferParams (const MbCurve3D &initCurve)
 Constructor by the curve.
 
 MbContourChamferParams (const MbCurve &initCurve, const MbPlacement3D &_placement, const std::vector< MbCornerChamferParams > &_params)
 Constructor for the creation of a plane contour.
 
 MbContourChamferParams (const MbCurve &initCurve, const MbPlacement3D &_placement)
 Constructor for the creation of a plane contour.
 
 MbContourChamferParams (const MbCurve3D &initCurve, double _distance, double _distAngle, bool _type=false)
 Constructor by the curve with same chamfers on each joint.
 
 MbContourChamferParams (const MbCurve &initCurve, const MbPlacement3D &_placement, double _distance, double _distAngle, bool _type=false)
 Constructor by a plane contour with same chamfers on each joint.
 
void Add (const MbCornerChamferParams &par)
 Add to the vector of parameters.
 
void Add (size_t _index, double _distance, double _distAngle, bool _type=false)
 Add to the vector of parameters.
 
void Clear ()
 Clear the vector of parameters.
 
size_t GetSegmentsCount () const
 Get the number of segments.
 
const SPtr< MbCurve3D > & GetCurve () const
 Get the curve pointer.
 
const std::vector< MbCornerChamferParams > & GetParameters () const
 Get the set of parameters.
 
std::vector< MbCornerChamferParams > & SetParameters ()
 Get the set of parameters for modification.
 

Protected Attributes

SPtr< MbCurve3Dcurve
 The curve to be chamfered.
 
std::vector< MbCornerChamferParamsparams
 The set of parameters.
 
size_t segmentCount
 Numver of curve segments.
 

Detailed Description

Parameters for the 3d-contour chamfers creation.

Parameters for the 3d-contour chamfers creation.
Constructor takes in the pointer to the source curve and/or the vector of parameters <MbCornerChamferParams>. One can set the same chamfers for all the joints by passing the set of parameters without index instead of the parameter vector. The source curve can be one of the following types: 3d contour, 3d polyline, contour on a surface, polyline on a surface. For other types the successfull chamfer creation is not guaranteed. A polyline is transformed into a contour during the chamfering process.


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