All Frameworks Class Hierarchy This Framework Indexes
ConstraintModeler Class CATMfPossibleCst
Usage: you must use this class as is. You should never derive it.
public class CATMfPossibleCst
- Deprecated:
- V5R15
do not use
Class representing a constraint definition.
Role: A constraint definition can be used to create a constraint.
Distance values are in millimeters, angle values are in degrees.
- See also:
- CATICst, CATICstFactory
Constructor and Destructor Index
- o
CATMfPossibleCst(CATBaseUnknown_var&,CATBaseUnknown_var&,CATBaseUnknown_var&,CATICstData_var&,CATCstStatus,CATListOfCATUnicodeString,CATListOfCATUnicodeString,double,CATListOfDouble)
- Constructs a constraint definition.
- o
CATMfPossibleCst()
- Constructs an empty constraint definition.
- o
~CATMfPossibleCst()
-
- o
CATMfPossibleCst(CATMfPossibleCst&)
- Copy constructor.
Method Index
- o
Dump()
- Dumps the constraint definition.
- o
GetAttributes(CATListOfCATUnicodeString&,CATListOfCATUnicodeString&)
- Retrieves attributes names and attributes values.
- o
GetCstData()
- Returns type.
- o
GetDistanceOrAngle()
- Returns the first numerical value, a distance or an angle.
- o
GetDoubles()
- Returns numerical values.
- o
GetElement(int)
- Returns a constrained element.
- o
GetStatus()
- Returns status.
- o
Read(CATICstData_var&,CATCstStatus&,double&,CATListOfCATUnicodeString&,CATListOfCATUnicodeString&)
- Retrieves definition.
Constructor and Destructor
o CATMfPossibleCst
| public CATMfPossibleCst( | const | iElem1, |
| const | iElem2, |
| const | iElem3, |
| const | iCstData, |
| const | iStatus, |
| const | iListOfAttributeNames, |
| const | iListOfAttributeValues, |
| const | iDistanceOrAngle | =0, |
| const | iListOfDoubles | =NULL ) |
-
Constructs a constraint definition.
- Parameters:
-
- iElem1
- The first element.
- iElem2
- The second element, equal to NULL_var if not defined.
- iElem3
- The third element, equal to NULL_var if not defined.
- iCstData
- The constraint type.
- iStatus
- The constraint status.
- iListOfAttributeNames
- The list of attribute names.
- iListOfAttributeValues
- The list of attribute values.
- iDistanceOrAngle
- The first numerical value, a distance or an angle.
- iListOfDoubles
- The list of numerical values.
o CATMfPossibleCst
| public CATMfPossibleCst( | ) |
-
Constructs an empty constraint definition.
o ~CATMfPossibleCst
| public ~CATMfPossibleCst( | ) |
-
o CATMfPossibleCst
| public CATMfPossibleCst( | const | iCst) |
-
Copy constructor.
Methods
o Dump
-
Dumps the constraint definition.
o GetAttributes
| public GetAttributes( | | oListOfAttributeNames, |
| | oListOfAttributeValues) |
-
Retrieves attributes names and attributes values.
- Parameters:
-
- oListOfAttributeNames
- The list of attributes names.
- oListOfAttributeValues
- The list of attributes values.
o GetCstData
-
Returns type.
o GetDistanceOrAngle
| public GetDistanceOrAngle( | ) |
-
Returns the first numerical value, a distance or an angle.
o GetDoubles
-
Returns numerical values.
o GetElement
| public GetElement( | const | iElemNumber) |
-
Returns a constrained element.
- Parameters:
-
- iElemNumber
- The number of the element.
o GetStatus
-
Returns status.
o Read
| public Read( | | oCstData, |
| | oStatus, |
| | oDistanceOrAngle, |
| | oListOfAttributeNames, |
| | oListOfAttributeValues) |
-
Retrieves definition.
- Parameters:
-
- oCstData
- The constraint type.
- oStatus
- The constraint status.
- oDistancceOrAngle
- The first numerical value, a distance or an angle.
- oListOfAttributeNames
- The list of attribute names.
- oListOfAttributeValues
- The list of attribute values.
This object is included in the file: CATMfPossibleCst.h
If needed, your Imakefile.mk should include the module: CATConstraintModeler