C3D Toolkit
Kernel - 117950, Vision - 2.7.5.29
|
Parameters of rotation and extrusion. More...
#include <op_swept_parameter.h>
Public Member Functions | |
MbSweptSide () | |
Default constructor. More... | |
MbSweptSide (double sVal) | |
Constructor. More... | |
MbSweptSide (const MbSurface *surf) | |
Constructor to the surface. More... | |
MbSweptSide (const MbSurface *surf, MbeSenseValue sense) | |
Constructor to the surface. More... | |
MbSweptSide (const MbSweptSide &other) | |
Copy-constructor. More... | |
MbSweptSide (const MbSweptSide &other, MbRegDuplicate *ireg) | |
Copy-constructor with the registrator. More... | |
virtual | ~MbSweptSide () |
Destructor. | |
MbSweptSide & | operator= (const MbSweptSide &other) |
Assignment operator of data with using of the same surface. | |
const MbSurface * | GetSurface () const |
Get the surface. | |
MbSurface * | SetSurface () |
Get the surface. | |
void | SetSurface (const MbSurface *s) |
Replace surface. | |
MbeSenseValue | GetSameSense () const |
Get the attribute of coincidence between the surface normal and the face normal. | |
void | SetSameSense (MbeSenseValue sense) |
Set the attribute of coincidence between the surface normal and the face normal. | |
MbeSenseValue & | SetSameSense () |
Access to the attribute of coincidence between the surface normal and the face normal. | |
bool | IsStrictRake () const |
A sign of strict observance of the draft angle is set. | |
void | SetStrictRake (bool strict) |
Set a sign of strict observance of the draft angle. | |
bool | IsSame (const MbSweptSide &other, double accuracy) const |
Determine whether an object is equal? | |
Public Attributes | |
MbSweptWay | way |
Method of extrusion/rotation. | |
double | scalarValue |
Angle of rotation/depth of extrusion. | |
double | distance |
Distance from the surface. More... | |
double | rake |
Draft angle. More... | |
Protected Attributes | |
bool | strictRake |
Strict adherence to the specified draft angle. More... | |
c3d::SurfaceSPtr | surface |
The surface to construct up to. More... | |
MbeSenseValue | sameSense |
An attribute of coincidence between the surface normal and the face normal. More... | |
Parameters of rotation and extrusion.
Data about construction of rotation and extrusion in one of directions: forward or backward.
|
inline |
Default constructor.
Sets parameters of the operation with the method "to a given depth". For construction of operation the parameters need to change, for example: specify the depth of extrusion (angle of rotation).
|
inline |
Constructor.
Constructor by angle of rotation\depth of extrusion.
[in] | sVal | - Angle of rotation\depth of extrusion. |
MbSweptSide::MbSweptSide | ( | const MbSurface * | surf | ) |
Constructor to the surface.
Constructor to the surface. Distance from the surface is set to 0.0.
[in] | surf | - The surface to construct up to. |
MbSweptSide::MbSweptSide | ( | const MbSurface * | surf, |
MbeSenseValue | sense | ||
) |
Constructor to the surface.
Constructor to the surface. For array element.
[in] | surf | - The surface to construct up to. |
[in] | sense | - An attribute of coincidence between the normal of given surface and the face normal. Indicates at which side of the surface the must be located constructed shell. |
MbSweptSide::MbSweptSide | ( | const MbSweptSide & | other | ) |
Copy-constructor.
Copy-constructor of data with using of the same surface.
[in] | other | - Initial parameters. |
MbSweptSide::MbSweptSide | ( | const MbSweptSide & | other, |
MbRegDuplicate * | ireg | ||
) |
Copy-constructor with the registrator.
Copy-constructor with the registrator. Surface is copying.
[in] | other | - Initial parameters. |
double MbSweptSide::distance |
Distance from the surface.
Distance from the surface to construct up to. Set when constructing operation to the surface (way = sw_surface). distance < 0.0 when constructing operation back of surface, distance > 0.0 when constructing operation front of surface.
double MbSweptSide::rake |
Draft angle.
Draft angle when extruding.
Extrusion operation with draft can be constructed in the case of planar swept.
|
protected |
Strict adherence to the specified draft angle.
Strict adherence to the specified draft angle.
If set to true, each side face of a taper operation must be built strictly at the specified taper angle, otherwise, the operation will not be performed.
|
protected |
The surface to construct up to.
The surface to construct up to.
Set when constructing operation to the surface (way = sw_surface).
|
protected |
An attribute of coincidence between the surface normal and the face normal.
An attribute of coincidence between the face normal and the normal of surface to which to create operation.
Set when constructing operation to the surface (way = sw_surface).
Specifies the position of shell-result relative to the surface. Used when constructing the array of operations to the surface. If attributes of all the elements of array must be the same, then when constructing of the original operation need to set attribute which is equal to orient_BOTH (the direction is not determined). When constructing the attribute is determined and its value should be used for the construction of other elements of the array.