All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATTPSInterfaces Interface CATITPSSemanticGDTTolerance

System.IUnknown
  |
  +---CATITPSSemanticGDTTolerance
 

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


interface CATITPSSemanticGDTTolerance

Interface representing Semantic Geometrical Tolerance.

Example:
// example is optional CATITPSSemanticGDTTolerance* piTPSGDTTol = NULL; rc = piTPS->QueryInterface(IID_CATITPSSemanticGDTTolerance, (void**) &piTPSGDTTol);


Method Index


o GetDisplayLeadingZero(int*)
Retrieves the semantic Geometrical Tolerance DisplayLeadingZero.
o GetDisplayTrailingZero(int*)
Retrieves the semantic Geometrical Tolerance DisplayTrailingZero.
o GetPrecision(int*)
Retrieves the semantic Geometrical Tolerance precision.
o GetSeparator(int*)
Retrieves the semantic Geometrical Tolerance separator.
o SetDisplayLeadingZero(int)
Value the semantic Geometrical Tolerance DisplayLeadingZero.
o SetDisplayTrailingZero(int)
Value the semantic Geometrical Tolerance DisplayTrailingZero.
o SetPrecision(int)
Value the semantic Geometrical Tolerance precision.
o SetSeparator(int)
Value the semantic Geometrical Tolerance separator.

Methods


o GetDisplayLeadingZero
public virtual HRESULT GetDisplayLeadingZero(int* oDisplayLeadingZero) = 0
Retrieves the semantic Geometrical Tolerance DisplayLeadingZero.
Parameters:
oDisplayLeadingZero
semantic GDT LeadingZero 0 : the LeadingZero is not displayed 1 : the LeadingZero is displayed
o GetDisplayTrailingZero
public virtual HRESULT GetDisplayTrailingZero(int* oDisplayTrailingZero) = 0
Retrieves the semantic Geometrical Tolerance DisplayTrailingZero.
Parameters:
oDisplayTrailingZero
semantic GDT DisplayTrailingZero 0 : the TrailingZero is not displayed 1 : the TrailingZero is displayed
o GetPrecision
public virtual HRESULT GetPrecision(int* oPrecision) = 0
Retrieves the semantic Geometrical Tolerance precision.
Parameters:
oPrecision
semantic GDT precision
o GetSeparator
public virtual HRESULT GetSeparator(int* oSeparator) = 0
Retrieves the semantic Geometrical Tolerance separator.
Parameters:
oSeparator
semantic GDT separator all possible returns values with symbols corresponding are describe in the comment of the method SetSeparator
o SetDisplayLeadingZero
public virtual HRESULT SetDisplayLeadingZero(int iDisplayLeadingZero) = 0
Value the semantic Geometrical Tolerance DisplayLeadingZero.
Parameters:
iDisplayLeadingZero
semantic GDT LeadingZero 0 : to not display the LeadingZero 1 : to display the LeadingZero
o SetDisplayTrailingZero
public virtual HRESULT SetDisplayTrailingZero(int iDisplayTrailingZero) = 0
Value the semantic Geometrical Tolerance DisplayTrailingZero.
Parameters:
iTrailingZero
semantic GDT DisplayTrailingZero 0 : to not display the TrailingZero 1 : to display the TrailingZero
o SetPrecision
public virtual HRESULT SetPrecision(int iPrecision) = 0
Value the semantic Geometrical Tolerance precision.
Parameters:
iPrecision
semantic GDT precision
o SetSeparator
public virtual HRESULT SetSeparator(int iSeparator) = 0
Value the semantic Geometrical Tolerance separator.
Parameters:
iSeparator
semantic GDT separator integer value of iSeparator corresponding to: 0 "" 1 "/" 2 ":" 3 "(" 4 ")" 5 "\\" 6 "," 7 "<" 8 ">" 9 "X" 10 "*" 11 "." 12 ";" 13 "+" 14 "[" 15 "]" 16 "-" 17 "_" 18 " "

This object is included in the file: CATITPSSemanticGDTTolerance.h

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