C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

Parameters of the sweeping operation. More...

#include <op_swept_parameter.h>

+ Inheritance diagram for EvolutionValues:
+ Collaboration diagram for EvolutionValues:

Public Types

enum  ModesList
 Moving method of generating object along the spine curve.
 

Public Member Functions

 EvolutionValues ()
 Default constructor. More...
 
 EvolutionValues (const EvolutionValues &other)
 Copy-constructor.
 
virtual ~EvolutionValues ()
 Destructor.
 
virtual bool IsEvolutionValues () const
 This is "evolution" parameters?
 
virtual bool IsSame (const SweptValues &other, double accuracy) const
 Determine whether an object is equal?
 
void CopyMode (const EvolutionValues &ev)
 Copy operation mode.
 
int GetMode () const
 Get operation mode.
 
bool IsParallel () const
 Whether generating curve is moved parallel to itself.
 
bool IsKeepingAngle () const
 Whether generating curve when moving preserves initial angle with spine.
 
bool IsOrthogonal () const
 Whether plane of generating curve is set and saved as orthogonal to spine.
 
bool BySurfaceNormal () const
 Whether generating object is moved according to surface normal.
 
void SetParallel ()
 Move generating curve parallel to itself.
 
void SetKeepingAngle ()
 Preserve initial angle between generatrix and spine when moving.
 
void SetOrthogonal ()
 Set and keep plane of generating curve as orthogonal to spine.
 
bool SetBySurfaceNormal (bool s)
 Move generating object according to surface normal.
 
double GetRange () const
 Get the function of curve scale.
 
bool AddData (MbFunction &_scaling, MbFunction &_winding)
 Add data. More...
 
const MbFunctionGetScaling () const
 Get the function of curve scale.
 
const MbFunctionGetWinding () const
 Get the function of curve rotation.
 
MbFunctionSetWinding ()
 Get the surface for guide curve MbSpine.
 
EvolutionValuesoperator= (const EvolutionValues &other)
 Assignment operator.
 
- 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 IsRevolutionValues () const
 This is rotation 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

double range
 The offset range of generating curve on the end of spine curve.
 
SPtr< MbFunctionscaling
 The function of curve scale.
 
SPtr< MbFunctionwinding
 The function of curve rotation.
 
c3d::ConstSurfaceSPtr surface
 The surface for guide curve control (for MbSpine).
 
- 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.
 

Protected Attributes

int mode
 Moving method of generating contour along the spine curve. More...
 

Detailed Description

Parameters of the sweeping operation.

The operation parameters of moving the generating curve along the spine curve.

Constructor & Destructor Documentation

◆ EvolutionValues()

EvolutionValues::EvolutionValues ( )
inline

Default constructor.

Constructor of sweeping operation parameters for construction of closed shell without the thin wall with keeping the angle inclination.

Member Function Documentation

◆ AddData()

bool EvolutionValues::AddData ( MbFunction _scaling,
MbFunction _winding 
)

Add data.

Add data about changes of generating contours on the surface along the guide curve.

Parameters
[in]_scaling- The scaling.
[in]_winding- The winding.

Member Data Documentation

◆ mode

int EvolutionValues::mode
protected

Moving method of generating contour along the spine curve.

Moving method of generating contour along the spine curve:
mode <= 0 - Generating curve is moved parallel to itself;
mode == 1 - Generating curve when moving preserves initial angle with spine;
mode == 2 - Plane of generating curve is set and saved as orthogonal to spine.
mode > 3 - Generating object is moved according to surface normal.


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