C3D Toolkit
Kernel - 117944, Vision - 2.7.3.11
|
Parameters for looking the lathe axis and construction of lathe elements for the solid. More...
#include <op_shell_parameter.h>
Public Member Functions | |
MbLatheCurvesParams (const MbSolid &sol, const MbAxis3D *axs, double ang, double stp) | |
Constructor of parameters for constructing curves of the lathe section of the body. More... | |
MbLatheCurvesParams (const MbLatheCurvesParams &other) | |
Copy constructor. | |
SPtr< const MbSolid > | GetSolid () const |
Solid. | |
const MbAxis3D * | GetAxis () const |
Lathe axis (may be null). | |
double | GetAngle () const |
The angle, managing the construction of segments which perpendicular to the axis, recomended M_PI_4-M_PI. | |
double | GetStep () const |
An anfgelar step (Math::deviateSag). | |
void | operator= (const MbLatheCurvesParams &other) |
Copy operator. | |
![]() | |
MbPrecision () | |
Default constructor. | |
MbPrecision (double _precision, double _deviation, double _tolerance=METRIC_EPSILON) | |
Constructor by the specified precision. | |
MbPrecision (const MbPrecision &other) | |
Copy-constructor. | |
~MbPrecision () | |
Destructor. | |
void | Init (const MbPrecision &other) |
Initialization function. | |
void | Init (double _precision) |
Initialization function. | |
MbPrecision & | operator= (const MbPrecision &other) |
Assignment operator. | |
bool | IsSame (const MbPrecision &other, double accuracy) const |
Determine whether an object is equal? | |
double | GetPrecision () const |
Get precision. | |
void | SetPrecision (double a) |
Set precision. | |
Additional Inherited Members | |
![]() | |
static double | GetMaxMetricTolerance () |
Get the maximum metric tolerance. More... | |
static double | GetMaxAngleTolerance () |
Get the maximum angular tolerance. More... | |
![]() | |
double | precision |
The metric precision of the construction of objects. | |
double | deviation |
The angular precision of the construction of objects. | |
double | tolerance |
The tolerance of the constructed objects. | |
Parameters for looking the lathe axis and construction of lathe elements for the solid.
Parameters for finding the lathe axis by rotation faces and constructing the curves of lathe-section in a plane.
MbLatheCurvesParams::MbLatheCurvesParams | ( | const MbSolid & | sol, |
const MbAxis3D * | axs, | ||
double | ang, | ||
double | stp | ||
) |
Constructor of parameters for constructing curves of the lathe section of the body.
Constructor of parameters for determining the lathe axis and constructing curves of the lathe section of the body.
[in] | sol | - Solid. |
[in] | axs | - Lathe axis (may be null). |
[in] | ang | - The angle, managing the construction of segments which perpendicular to the axis, recomended M_PI_4-M_PI. |
[in] | stp | - An anfgelar step (Math::deviateSag). |