All Frameworks Class Hierarchy This Framework Previous Next Indexes
ConstraintModeler Class CATDimTempCst
CATDimTempCst
Usage: you must use this class as is. You should never derive it.
public class CATDimTempCst
- Deprecated:
- V5R15
do not use
Class for temporary 3D constraint visualization.
Role: It is an adapter. This class contains all the necessary information allowing
to consider parameters as constraints.
Constructor and Destructor Index
- o
CATDimTempCst()
- Copy constructor.
- o
CATDimTempCst(CATCstType,CATBaseUnknown_var&,CATBoolean,CATBoolean)
- Constructs a CATDimTempCst.
- o
CATDimTempCst(CATDimTempCst&)
- Copy constructor.
- o
~CATDimTempCst()
- Destructor
Method Index
- o
GetSector()
- Gets angular sector.
- o
SetSector(int)
- Sets angular sector.
Data Member Index
- o
family
- Type of the pseudo constraint.
- o
half_value
- By default equal to False.
- o
result
- Default status of CstStatus_TRUE.
- o
value
- First value.
- o
value2
- Second value (chamfer).
Constructor and Destructor
o CATDimTempCst
-
Copy constructor.
o CATDimTempCst
-
Constructs a CATDimTempCst.
- Parameters:
-
- iFamily
- Initialized according to the parameter.
- iValue
- Initialized according to the parameter.
- iDriven
- Boolean.
- valid
- Boolean.
o CATDimTempCst
-
Copy constructor.
o ~CATDimTempCst
public virtual ~CATDimTempCst( | ) |
-
Destructor
Methods
o GetSector
public int GetSector( | )const |
-
Gets angular sector.
pt2 <
1 / 0 )
---/--- pt1
2/ 3
- Value
- Description
- 0*0
- sectors 0/2 : ang(pt1,pt2,+)
- 0*1
- sectors 1/3 : pi-ang(pt1,pt2,+)
- 1*0
- sectors 4/6 : 2*pi-ang(pt1,pt2,+)
- 1*1
- sectors 5/7 : pi+ang(pt1,pt2,+)
- Returns:
- A [0..7] vector. The sector's value is stored on 3 bits:
#define CATIDimCstCOMP180 0x1
#define CATIDimCstOPPOSITE 0x2
#define CATIDimCstCOMP360 0x4
First bit activated indicates the complementary to pi.
Second bit activated indicates the opposite side for the same value.
Third bit activated indicates the complementary to 2*pi.
o SetSector
public void SetSector( | int | iSector) |
-
Sets angular sector.
pt2 <
1 / 0 )
---/--- pt1
2/ 3
- Parameters:
-
- iSector
- A [0..7] vector.
see also GetSector() for further information.
Data Members
o family
public CATCstType family
-
Type of the pseudo constraint.
o half_value
public CATBoolean half_value
-
By default equal to False.
If True it means radius / half angle / half length.
o result
public CATCstStatus result
-
Default status of CstStatus_TRUE.
o value
public CATBaseUnknown_var value
-
First value.
o value2
public CATBaseUnknown_var value2
-
Second value (chamfer).
This object is included in the file: CATDimTempCst.h
If needed, your Imakefile.mk should include the module: CATConstraintModeler