C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

Parameters of rotation and extrusion. More...

#include <op_swept_parameter.h>

+ Collaboration diagram for MbSweptSide:

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.
 
MbSweptSideoperator= (const MbSweptSide &other)
 Assignment operator of data with using of the same surface.
 
const MbSurfaceGetSurface () const
 Get the surface.
 
MbSurfaceSetSurface ()
 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.
 
MbeSenseValueSetSameSense ()
 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...
 

Detailed Description

Parameters of rotation and extrusion.

Data about construction of rotation and extrusion in one of directions: forward or backward.

Constructor & Destructor Documentation

◆ MbSweptSide() [1/6]

MbSweptSide::MbSweptSide ( )
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).

◆ MbSweptSide() [2/6]

MbSweptSide::MbSweptSide ( double  sVal)
inline

Constructor.

Constructor by angle of rotation\depth of extrusion.

Parameters
[in]sVal- Angle of rotation\depth of extrusion.

◆ MbSweptSide() [3/6]

MbSweptSide::MbSweptSide ( const MbSurface surf)

Constructor to the surface.

Constructor to the surface. Distance from the surface is set to 0.0.

Parameters
[in]surf- The surface to construct up to.

◆ MbSweptSide() [4/6]

MbSweptSide::MbSweptSide ( const MbSurface surf,
MbeSenseValue  sense 
)

Constructor to the surface.

Constructor to the surface. For array element.

Parameters
[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() [5/6]

MbSweptSide::MbSweptSide ( const MbSweptSide other)

Copy-constructor.

Copy-constructor of data with using of the same surface.

Parameters
[in]other- Initial parameters.

◆ MbSweptSide() [6/6]

MbSweptSide::MbSweptSide ( const MbSweptSide other,
MbRegDuplicate ireg 
)

Copy-constructor with the registrator.

Copy-constructor with the registrator. Surface is copying.

Parameters
[in]other- Initial parameters.

Member Data Documentation

◆ distance

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.

◆ rake

double MbSweptSide::rake

Draft angle.

Draft angle when extruding.
Extrusion operation with draft can be constructed in the case of planar swept.

◆ strictRake

bool MbSweptSide::strictRake
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.

◆ surface

c3d::SurfaceSPtr MbSweptSide::surface
protected

The surface to construct up to.

The surface to construct up to.
Set when constructing operation to the surface (way = sw_surface).

◆ sameSense

MbeSenseValue MbSweptSide::sameSense
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.


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