All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ConstraintModelerInterfaces Interface CATICst

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATICst
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATICst

Interface to manage a constraint.
Role: This interface is used to manage a constraint. Each constraint is linked to a solving bloc.

See also:
CATIBloc, CATICstFactory, CATMfPossibleCst


Method Index


o ChangeSector(int)
Changes the angular sector.
o GetBloc(int&)
o GetBloc1()
o GetBloc2()
o GetBlocs(CATLISTV(CATBaseUnknown_var)&,CATLISTV(CATBaseUnknown_var)&,CATLISTV(CATBaseUnknown_var)&)
o GetCstAttr(CATCstAttrType&)
o GetCstAttrRealValue(CATCstAttrType&)
Returns the value of a specification as double.
o GetCstAttrValue(CATCstAttrType&)
Returns the value of a specification.
o GetCstMode()
Returns the mode.
o GetCstObjectType()
o GetCstType()
Returns the type as an enumeration.
o GetElement(int)
Returns an element.
o GetElement1()
o GetElement2()
o GetElement3()
o GetElements()
o GetElements(CATBaseUnknown_var&,CATBaseUnknown_var&,CATBaseUnknown_var&)
o GetRealValue()
o GetRealValue(int)
Returns the numerical value as double.
o GetRealValues()
o GetRootBloc()
o GetValue()
o GetValue(int)
o GetValues()
o ListCstAttr()
Returns the list of specifications.
o ReadAngle()
o ReadAngle(int)
o ReadDistance()
o ReadDistance(int)
o ReadSector()
Reads the angular sector.
o ReadStatus()
Reads the status.
o SetBloc1(CATIBloc_var)
o SetBloc2(CATIBloc_var)
o SetCstAttrRealValue(CATCstAttrType&,double,int)
Sets a real specification value.
o SetCstAttrValue(CATCstAttrType&,CATCstAttrVal&,int)
Sets a specification value.
o SetCstMode(CATCstMode)
Sets the mode.
o SetElement(int,CATBaseUnknown_var&)
Sets an element.
o SetRealValue(double)
o SetRealValue(int,double)
Sets a numerical value as double.
o SetValue(CATICkeParm_var&)
o SetValue(int,CATICkeParm_var&)
o UnsetRootBloc()

Methods


o ChangeSector
public virtual void ChangeSector(int iSector) =0
Changes the angular sector.
Parameters:
iSector
The angular sector from 1 to 4.
o GetBloc
public virtual CATLISTV(CATBaseUnknown_var) GetBloc( const int& inf) const =0
Deprecated:
V5R15 do not use Returns second influence bloc.
o GetBloc1
public virtual CATLISTV(CATBaseUnknown_var) GetBloc1()const =0
Deprecated:
V5R15 do not use Returns first influence bloc.
o GetBloc2
public virtual CATLISTV(CATBaseUnknown_var) GetBloc2()const =0
Deprecated:
V5R15 do not use Returns second influence bloc.
o GetBlocs
public virtual void GetBlocs(CATLISTV(CATBaseUnknown_var)& iInfl1,
CATLISTV(CATBaseUnknown_var)& iInfl2,
CATLISTV(CATBaseUnknown_var)& iInfl3) const =0
Deprecated:
V5R15 do not use Retrieves influence blocs.
Parameters:
iInfl1
The first influence bloc.
iInfl2
The second influence bloc.
iInfl3
The third influence bloc.
o GetCstAttr
public virtual CATICkeParm_var GetCstAttr( const CATCstAttrType& iName) const =0
Deprecated:
V5R15 use GetCstAttrValue( iName ) or GetCstAttrRealValue( iName ) and SetCstAttrValue( iName ) or SetCstAttrRealValue( iName ) Returns a specification as a literal.
Parameters:
iName
The specification type.
o GetCstAttrRealValue
public virtual double GetCstAttrRealValue( const CATCstAttrType& iName) const =0
Returns the value of a specification as double.
Parameters:
iName
The specification type.
Legal values: CATCstAttr_Crv1Param, CATCstAttr_Crv2Param, CATCstAttr_FsPercentage, CATCstAttr_FsGlobalTension, CATCstAttr_FsTension, CATCstAttr_FsCurvatureVariation.
o GetCstAttrValue
public virtual CATCstAttrVal GetCstAttrValue( const CATCstAttrType& iName) const =0
Returns the value of a specification.
Parameters:
iName
The specification type.
Legal values:
Legal values for iName Returns one of the values
CATCstAttr_Reference CATCstVal_Reference_Absolute
CATCstVal_Reference_Relative
CATCstAttr_Side CATCstVal_Side_Positive
CATCstVal_Side_Negative
CATCstVal_Side_Undefined
CATCstVal_Side_Signed_FromValue
CATCstVal_Side_Signed_FromOppositeValue
CATCstAttr_Orient CATCstVal_Orient_Same
CATCstVal_Orient_Opposite
CATCstVal_Orient_Undefined
CATCstAttr_Parallelism CATCstVal_Parallelism_Same
CATCstVal_Parallelism_Opposite
CATCstVal_Parallelism_Parallel
CATCstVal_Parallelism_NoParallel
CATCstAttr_RefAxis CATCstVal_RefAxis_1
CATCstVal_RefAxis_2
CATCstVal_RefAxis_3
CATCstAttr_Dimension CATCstVal_Dimension_x1
CATCstVal_Dimension_x2
CATCstAttr_DimensionAxis CATCstVal_DimensionAxis_1
CATCstVal_DimensionAxis_2
CATCstAttr_Direction CATCstVal_DirectionNone
CATCstVal_Direction_1
CATCstVal_Direction_2
CATCstVal_Direction_3
CATCstAttr_AngSector CATCstVal_AngSector_1
CATCstVal_AngSector_2
CATCstVal_AngSector_3
CATCstVal_AngSector_4
CATCstAttr_FsContinuity CATCstVal_FsContinuity_1,
CATCstVal_FsContinuity_2,
CATCstAttr_FsType CATCstVal_FsType_1
CATCstVal_FsType_2
CATCstAttr_FsModifiedElement CATCstVal_FsModifiedElement_1
CATCstVal_FsModifiedElement_2
o GetCstMode
public virtual CATCstMode GetCstMode()const =0
Returns the mode.
o GetCstObjectType
public virtual CATBaseUnknown_var GetCstObjectType()const =0
Deprecated:
V5R15 do not use Returns the type as a CATICstData interface.
o GetCstType
public virtual CATCstType GetCstType()const =0
Returns the type as an enumeration.
o GetElement
public virtual CATBaseUnknown_var GetElement( const int iNum) const =0
Returns an element.
Parameters:
iNum
The number of the element, from 1 to 3.
o GetElement1
public virtual CATBaseUnknown_var GetElement1()const =0
Deprecated:
V5R15 use GetElement(1) Returns the first element.
o GetElement2
public virtual CATBaseUnknown_var GetElement2()const =0
Deprecated:
V5R15 use GetElement(2) Returns the second element, equal to NULL_var if not defined.
o GetElement3
public virtual CATBaseUnknown_var GetElement3()const =0
Deprecated:
V5R15 use GetElement(3) Returns the third element, equal to NULL_var if not defined.
o GetElements
public virtual CATLISTV(CATBaseUnknown_var) GetElements()const =0
Deprecated:
V5R15 use a loop for i=1 to 3 on GetElement(int i) Returns the list of elements.
o GetElements
public virtual void GetElements(CATBaseUnknown_var& oElem1,
CATBaseUnknown_var& oElem2,
CATBaseUnknown_var& oElem3) const =0
Deprecated:
V5R15 use GetElement(1), GetElement(2), GetElement(3) Retrieves the elements.
Parameters:
oElem1
The first element.
oElem2
The second element.
oElem3
The third element.
o GetRealValue
public virtual double GetRealValue()const =0
Deprecated:
V5R15 use GetRealValue( 1 ) Returns the first numerical value as double.
o GetRealValue
public virtual double GetRealValue( const int num) const =0
Returns the numerical value as double.
Parameters:
iNum
The number of the numerical value.
o GetRealValues
public virtual CATListOfDouble GetRealValues()const =0
Deprecated:
V5R15 use a loop on GetRealValue( int num ) Returns the list of numerical values as double.
o GetRootBloc
public virtual CATIBloc_var GetRootBloc()const =0
Deprecated:
V5R15 do not use Returns the solving bloc.
o GetValue
public virtual CATICkeParm_var GetValue()const =0
Deprecated:
V5R15 use GetRealValue( 1 ) Returns the first numerical value as literal.
o GetValue
public virtual CATICkeParm_var GetValue( const int num) const =0
Deprecated:
V5R15 use GetRealValue( num ) Returns a numerical value as literal.
Parameters:
iNum
The number of the numerical value.
o GetValues
public virtual CATCkeListOf(Parm) GetValues()const =0
Deprecated:
V5R15 use a loop on GetRealValue( int num ) Returns the list of numerical values as literal.
o ListCstAttr
public virtual CATCkeListOf(Parm) ListCstAttr()const =0
Returns the list of specifications.
o ReadAngle
public virtual double ReadAngle()const =0
Deprecated:
V5R15 do not use Reads the first angle.
o ReadAngle
public virtual double ReadAngle( const int iNum) const =0
Deprecated:
V5R15 do not use Reads an angle.
Parameters:
iNum
The number of the angle.
o ReadDistance
public virtual double ReadDistance()const =0
Deprecated:
V5R15 do not use Reads the first distance.
o ReadDistance
public virtual double ReadDistance( const int iNum) const =0
Deprecated:
V5R15 do not use Reads a distance.
Parameters:
iNum
The number of the distance.
o ReadSector
public virtual int ReadSector()const =0
Reads the angular sector.
o ReadStatus
public virtual CATCstStatus ReadStatus()const =0
Reads the status.
o SetBloc1
public virtual void SetBloc1(CATIBloc_var iInfl) =0
Deprecated:
V5R15 do not use Sets the first influence bloc.
Parameters:
iInfl
The bloc.
o SetBloc2
public virtual void SetBloc2(CATIBloc_var iInfl) =0
Deprecated:
V5R15 do not use Sets the second influence bloc.
Parameters:
iInfl
The bloc.
o SetCstAttrRealValue
public virtual void SetCstAttrRealValue( const CATCstAttrType& iName,
const double iValue,
const int iDispatch= 1) =0
Sets a real specification value.
Parameters:
iName
The specification type.
Legal values: CATCstAttr_Crv1Param, CATCstAttr_Crv2Param, CATCstAttr_FsPercentage, CATCstAttr_FsGlobalTension, CATCstAttr_FsTension, CATCstAttr_FsCurvatureVariation.
iValue
The specification value.
iDispatch
Equals to 1, the method dispatchs an event, nothing otherwise.
o SetCstAttrValue
public virtual void SetCstAttrValue( const CATCstAttrType& iName,
const CATCstAttrVal& iValue,
const int iDispatch= 1) =0
Sets a specification value.
Parameters:
iName
The specification type.
iValue
The specification value.
Legal values for iName Legal values for iValue
CATCstAttr_Reference CATCstVal_Reference_Absolute
CATCstVal_Reference_Relative
CATCstAttr_Side CATCstVal_Side_Positive
CATCstVal_Side_Negative
CATCstVal_Side_Undefined
CATCstVal_Side_Signed_FromValue
CATCstVal_Side_Signed_FromOppositeValue
CATCstAttr_Orient CATCstVal_Orient_Same
CATCstVal_Orient_Opposite
CATCstVal_Orient_Undefined
CATCstAttr_Parallelism CATCstVal_Parallelism_Same
CATCstVal_Parallelism_Opposite
CATCstVal_Parallelism_Parallel
CATCstVal_Parallelism_NoParallel
CATCstAttr_RefAxis CATCstVal_RefAxis_1
CATCstVal_RefAxis_2
CATCstVal_RefAxis_3
CATCstAttr_Dimension CATCstVal_Dimension_x1
CATCstVal_Dimension_x2
CATCstAttr_DimensionAxis CATCstVal_DimensionAxis_1
CATCstVal_DimensionAxis_2
CATCstAttr_Direction CATCstVal_DirectionNone
CATCstVal_Direction_1
CATCstVal_Direction_2
CATCstVal_Direction_3
CATCstAttr_AngSector CATCstVal_AngSector_1
CATCstVal_AngSector_2
CATCstVal_AngSector_3
CATCstVal_AngSector_4
CATCstAttr_FsContinuity CATCstVal_FsContinuity_1,
CATCstVal_FsContinuity_2,
CATCstAttr_FsType CATCstVal_FsType_1
CATCstVal_FsType_2
CATCstAttr_FsModifiedElement CATCstVal_FsModifiedElement_1
CATCstVal_FsModifiedElement_2
iDispatch
Equals to 1, the method dispatchs an event, nothing otherwise.
o SetCstMode
public virtual void SetCstMode( const CATCstMode iMode) =0
Sets the mode.
Parameters:
iMode
The mode.
o SetElement
public virtual HRESULT SetElement( const int iNum,
const CATBaseUnknown_var& iElem) =0
Sets an element.
Parameters:
iNum
The number of the element, from 1 to 3.
iElem
The element.
Returns:
Error code of function.
o SetRealValue
public virtual void SetRealValue( const double iValue) =0
Deprecated:
V5R15 use SetRealValue( 1, value ) Sets the first numerical value as double.
Parameters:
iValue
The value.
o SetRealValue
public virtual void SetRealValue( const int iNum,
const double iValue) =0
Sets a numerical value as double.
Parameters:
iNum
The number of the numerical value.
iValue
The value.
o SetValue
public virtual void SetValue( const CATICkeParm_var& iValue) =0
Deprecated:
V5R15 use SetRealValue( 1, value ) Sets the first numerical value.
Parameters:
iValue
The value.
o SetValue
public virtual void SetValue( const int iNum,
const CATICkeParm_var& iValue) =0
Deprecated:
V5R15 use SetRealValue( iNum, value ) Sets a numerical value as literal.
Parameters:
iNum
The number of the numerical value.
iValue
The value.
o UnsetRootBloc
public virtual void UnsetRootBloc()=0
Deprecated:
V5R15 do not use Unsets the solving bloc.

This object is included in the file: CATICst.h
If needed, your Imakefile.mk should include the module: CATConstraintModelerItf

Copyright © 2003, Dassault Systèmes. All rights reserved.