All Frameworks Class Hierarchy This Framework Previous Next Indexes
DraftingInterfaces Interface CATIDrwDimTolerance
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATIDrwDimTolerance
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIDrwDimTolerance
Manages the dimension tolerance.
Method Index
- o
GetDisplayMode()
- Gets the tolerance display mode.
- o
GetFormat()
- Gets the tolerance format.
- o
GetLabel(CATUnicodeString&)
- Gets the tolerance name.
- o
GetLowerValue()
- Gets the tolerance lower value.
- o
GetToleranceType()
- Gets the tolerance type.
- o
GetUpperValue()
- Gets the tolerance upper value.
- o
SetDisplayMode(int)
- Sets the tolerance display mode.
- o
SetLabel(CATUnicodeString)
- Sets the tolerance name.
- o
SetLowerValue(double)
- Sets the tolerance lower value.
- o
SetToleranceType(int)
- Sets the tolerance type.
- o
SetUpperValue(double)
- Sets the tolerance upper value.
Methods
o GetDisplayMode
public virtual int GetDisplayMode( | )= 0 |
-
Gets the tolerance display mode.
- Returns:
- Display mode.
Legal values are: (see define definition file)
- Alphanumerical::
- CATDrwDimTolFractional
- Fractional.
- CATDrwDimTolSideBySide
- Side by side.
- Numerical::
- CATDrwDimTolUnresolved
- Unresolved (ex: 10 +/-0.25).
- CATDrwDimTolResolved
- Resolved (ex: 9.75 , 10.25).
o GetFormat
-
Gets the tolerance format.
- Returns:
- Format.
o GetLabel
-
Gets the tolerance name.
o GetLowerValue
public virtual double GetLowerValue( | )= 0 |
-
Gets the tolerance lower value.
- Returns:
- Lower value.
o GetToleranceType
public virtual int GetToleranceType( | )= 0 |
-
Gets the tolerance type.
- Returns:
- Tolerance type (see define definition file).
Legal values are:
- CATDrwDimTolNone
- No tolerance.
- CATDrwDimTolNumerical
- Numerical tolerance.
- CATDrwDimTolAlphaNumerical
- AlphaNumerical tolerance.
- CATDrwDimTolISOComb
- Multi-tolerance.
o GetUpperValue
public virtual double GetUpperValue( | )= 0 |
-
Gets the tolerance upper value.
- Returns:
- Upper value.
o SetDisplayMode
public virtual void SetDisplayMode( | const int | displayMode) = 0 |
-
Sets the tolerance display mode.
- Parameters:
-
- displayMode
- Display mode.
Legal values are: (see define definition file)
- Alphanumerical::
- CATDrwDimTolFractional
- Fractional.
- CATDrwDimTolSideBySide
- Side by side.
- Numerical::
- CATDrwDimTolUnresolved
- Unresolved (ex: 10 +/-0.25).
- CATDrwDimTolResolved
- Resolved (ex: 9.75 , 10.25).
Notes: Numeric tolerance values can not be different on main value and dual value. Only
tolerance name may be changed.
o SetLabel
-
Sets the tolerance name.
o SetLowerValue
public virtual void SetLowerValue( | const double | iLowerValue)= 0 |
-
Sets the tolerance lower value.
- Parameters:
-
- iLowerValue
- Lower value.
o SetToleranceType
public virtual void SetToleranceType( | int | ToleranceType) = 0 |
-
Sets the tolerance type.
- Parameters:
-
- ToleranceType
- Tolerance type (see define definition file).
Legal values are:
- CATDrwDimTolNone
- No tolerance.
- CATDrwDimTolNumerical
- Numerical tolerance.
- CATDrwDimTolAlphaNumerical
- AlphaNumerical tolerance.
- CATDrwDimTolISOComb
- Multi-tolerance.
o SetUpperValue
public virtual void SetUpperValue( | const double | iUpperValue)= 0 |
-
Sets the tolerance upper value.
- Parameters:
-
- iUpperValue
- Upper value.
This object is included in the file: CATIDrwDimTolerance.h
If needed, your Imakefile.mk should include the module: CATDraftingInterfaces