C3D Toolkit  Kernel - 117958, Vision - 2.7.6.12

The parameters of revolution operation. More...

#include <op_swept_parameter.h>

+ Inheritance diagram for RevolutionValues:
+ Collaboration diagram for RevolutionValues:

Public Member Functions

 RevolutionValues ()
 Default constructor. More...
 
 RevolutionValues (double scalarValue1, double scalarValue2, int s)
 Constructor by revolution angles. More...
 
 RevolutionValues (const RevolutionValues &other)
 Copy-constructor on the same surfaces.
 
 RevolutionValues (const RevolutionValues &other, MbRegDuplicate *ireg)
 Copy-constructor.
 
virtual ~RevolutionValues ()
 Destructor.
 
virtual bool IsRevolutionValues () const
 This is rotation parameters?
 
virtual bool IsSame (const SweptValues &other, double accuracy) const
 Determine whether an object is equal?
 
RevolutionValuesoperator= (const RevolutionValues &other)
 Assignment operator on the same surfaces.
 
- Public Member Functions inherited from SweptValuesAndSides
 SweptValuesAndSides ()
 Default constructor. More...
 
 SweptValuesAndSides (double scalarValue1, double scalarValue2)
 Constructor by rotation angles and extrusion depths. More...
 
 SweptValuesAndSides (const SweptValuesAndSides &other)
 Copy-constructor of data on the same surfaces.
 
 SweptValuesAndSides (const SweptValuesAndSides &other, MbRegDuplicate *ireg)
 Constructor of complete copying of data.
 
virtual ~SweptValuesAndSides ()
 Destructor.
 
void operator= (const SweptValuesAndSides &other)
 Assignment operator of data copying on the same surfaces.
 
void Transform (const MbMatrix3D &matr, MbRegTransform *iReg=nullptr)
 Transform according to the matrix. More...
 
void Move (const MbVector3D &to, MbRegTransform *iReg=nullptr)
 Move along a vector. More...
 
void Rotate (const MbAxis3D &axis, double angle, MbRegTransform *iReg=nullptr)
 Rotate around an axis. More...
 
bool DuplicateSurfaces (MbRegDuplicate *ireg=nullptr)
 Make copies of surfaces. More...
 
const MbSurfaceGetSurface1 () const
 Get the surface along the positive direction.
 
const MbSurfaceGetSurface2 () const
 Get the surface along the negative direction.
 
MbSurfaceSetSurface1 ()
 Get the surface along the positive direction.
 
MbSurfaceSetSurface2 ()
 Get the surface along the negative direction.
 
void SetSurface1 (const MbSurface *s)
 Set the surface along the positive direction.
 
void SetSurface2 (const MbSurface *s)
 Set the surface along the negative direction.
 
void ExchangeSurfaces ()
 Swap surfaces.
 
bool IsRakeSet () const
 Is draft set.
 
bool IsThicknessSet () const
 Is thickness set.
 
- Public Member Functions inherited from SweptValues
 SweptValues ()
 Default constructor.
 
 SweptValues (double t1, double t2, bool c=true)
 Constructor by thicknesses and closedness.
 
 SweptValues (const SweptValues &other)
 Copy-constructor.
 
virtual ~SweptValues ()
 Destructor.
 
virtual bool IsExtrusionValues () const
 This is extrusion parameters?
 
virtual bool IsEvolutionValues () const
 This is "evolution" parameters?
 
virtual bool IsLoftedValues () const
 This is "lofted" parameters?
 
virtual bool IsRibValues () const
 This is "rib" parameters?
 
virtual bool IsSimilar (const MbSweptData &other) const
 Determine whether the objects are similar.
 
virtual bool SetEqual (const MbSweptData &other)
 Make objects equal.
 
void Init (const SweptValues &other)
 Function of copying data.
 
bool IsShellClosed () const
 Get the closedness state.
 
void SetShellClosed (bool cl)
 Set the closedness state.
 
bool CheckSelfInt () const
 Get the state of flag of checking self-intersection.
 
void SetCheckSelfInt (bool c)
 Set the state of flag of checking self-intersection.
 
bool MergeFaces () const
 Whether to merge similar faces.
 
void SetMergingFaces (bool mf)
 Whether to merge similar faces.
 
bool MergeEdges () const
 Whether to merge similar edges.
 
void SetMergingEdges (bool me)
 Whether to merge similar edges.
 
const MbMergingFlagsMergingFlags () const
 Get control flags of shell items merging.
 
void SetMergingFlags (const MbMergingFlags &f)
 Set control flags of shell items merging.
 
void operator= (const SweptValues &other)
 Assignment operator.
 

Public Attributes

int shape
 Topology shape. More...
 
- Public Attributes inherited from SweptValuesAndSides
MbSweptSide side1
 The parameters of extrusion/rotation along the forward direction.
 
MbSweptSide side2
 The parameters of extrusion/rotation along the backward direction.
 
- Public Attributes inherited from SweptValues
double thickness1
 Wall thickness (offset distance) along the forward direction. More...
 
double thickness2
 Wall thickness (offset distance) along the backward direction. More...
 
bool shellClosed
 Closedness of created shell.
 

Detailed Description

The parameters of revolution operation.

The parameters of revolution operation of curves with options along directions.

Constructor & Destructor Documentation

◆ RevolutionValues() [1/2]

RevolutionValues::RevolutionValues ( )
inline

Default constructor.

Constructor of revolution parameters for construction of closed shell of torus type without thin wall along the forward direction at full turn.

◆ RevolutionValues() [2/2]

RevolutionValues::RevolutionValues ( double  scalarValue1,
double  scalarValue2,
int  s 
)
inline

Constructor by revolution angles.

Constructor of revolution parameters for construction of closed shell without the thin wall. Method of construction in both directions - to a given depth (given angle).

Parameters
[in]scalarValue1- Revolution angle along the forward direction.
[in]scalarValue2- Revolution angle along the backward direction.
[in]s- Topology shape.

Member Data Documentation

◆ shape

int RevolutionValues::shape

Topology shape.

Topology shape: 0 - sphere, 1 - torus.
If swept is non-closed planar curve and axis of rotation lies on the curve plane, then is possible to construct revolution solids with the topology of sphere type. In this case the swept is being updated to the rotation axis. I


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