All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATTPSInterfaces Interface CATITPSDimensionLimits

System.IUnknown
  |
  +---CATITPSDimensionLimits
 

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


interface CATITPSDimensionLimits

Interface for accessing limits of tolerances dimension TPS.

See also:
CATTPSSingleLimit


Method Index


o GetDimensionLimitType(CATTPSDimLimType*)
Retrieves dimension limit type.
o GetGeneralTolName(CATUnicodeString*)
Retrieves the general tolerance name.
o GetLimits(double*,double*)
Retrieves limits (in millimeters).
o GetModifier(CATTPSSingleLimit*)
Retrieves single limit modifier.
o GetNominalValue(double*)
Retrieves nominal value (in millimeters).
o GetSingleLimit(double*)
Retrieves single limit value (in millimeters).
o GetSymetricValue(CATBoolean*)
Retrieves Symetric value.
o GetTabulatedLimit(wchar_t**)
Retrieves tabulated limit as string.
o SetDimensionLimitType(CATTPSDimLimType)
Valuate dimension limit type.
o SetLimits(double,double)
Sets limits (in millimeters).
o SetModifier(CATTPSSingleLimit)
Sets single limit modifier.
o SetSingleLimit(double)
Sets single limit value (in millimeters).
o SetSymetricValue(CATBoolean)
Valuate Symetric value.
o SetTabulatedLimit(wchar_t*)
Valuate tabulated limit as string.

Methods


o GetDimensionLimitType
public virtual HRESULT GetDimensionLimitType(CATTPSDimLimType* oType) = 0
Retrieves dimension limit type.
Parameters:
oType
See also:
CATTPSDimLimType
o GetGeneralTolName
public virtual HRESULT GetGeneralTolName(CATUnicodeString* oTolName) const = 0
Retrieves the general tolerance name.
Parameters:
oTolName
The name of the general tolerance
Returns:
S_OK : the general tolerance is retrieved. E_FAIL : There is no general tolerance on the dimension.
o GetLimits
public virtual HRESULT GetLimits(double* oBottom,
double* oUp) const = 0
Retrieves limits (in millimeters). Returned HR must be test because if single limit modifier is set, limits are invalids.
o GetModifier
public virtual HRESULT GetModifier(CATTPSSingleLimit* oModifier) const = 0
Retrieves single limit modifier.
o GetNominalValue
public virtual HRESULT GetNominalValue(double* oValue) const = 0
Retrieves nominal value (in millimeters).
o GetSingleLimit
public virtual HRESULT GetSingleLimit(double* oValue) const = 0
Retrieves single limit value (in millimeters).
o GetSymetricValue
public virtual HRESULT GetSymetricValue(CATBoolean* obSymetric) const = 0
Retrieves Symetric value.
Parameters:
obSymetric
TRUE if it is symetric
o GetTabulatedLimit
public virtual HRESULT GetTabulatedLimit(wchar_t** opTabulatedValueAsString) const = 0
Retrieves tabulated limit as string.
o SetDimensionLimitType
public virtual HRESULT SetDimensionLimitType(CATTPSDimLimType iType) = 0
Valuate dimension limit type.
Parameters:
iType
See also:
CATTPSDimLimType
o SetLimits
public virtual HRESULT SetLimits( const double iBottom,
const double iUp) = 0
Sets limits (in millimeters). iBottom must be less than iUp. Reset single limit modifier.
o SetModifier
public virtual HRESULT SetModifier( const CATTPSSingleLimit iModifier) = 0
Sets single limit modifier.
o SetSingleLimit
public virtual HRESULT SetSingleLimit( const double iValue) = 0
Sets single limit value (in millimeters).
o SetSymetricValue
public virtual HRESULT SetSymetricValue(CATBoolean ibSymetric) = 0
Valuate Symetric value.
Parameters:
ibSymetric
TRUE if it is symetric
o SetTabulatedLimit
public virtual HRESULT SetTabulatedLimit(wchar_t* ipTabulatedValueAsString) = 0
Valuate tabulated limit as string.

This object is included in the file: CATITPSDimensionLimits.h

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