All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

GSMInterfaces Interface CATIGSMLine

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

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


interface CATIGSMLine

Interface to line feature.
Role: Allows you to set/change the type of the line and to modify the orientation of the line. Line types :

Legal values : LinePtPt = 0 LinePtDir = 1 LineAngle = 2 LineTangency = 3 LineNormal = 4 LineExplicit = 30


Method Index


o GetFirstUptoElem(CATISpecObject_var&)
Gets the first upto element.
o GetLineType(int&)
Gets the line type.
o GetOrientation(CATGSMOrientation&)
Gets the line orientation.
o GetSecondUptoElem(CATISpecObject_var&)
Gets the second upto element.
o InvertOrientation()
Inverts the line orientation.
o SetFirstUptoElem(CATISpecObject_var)
Sets the first upto element.
o SetOrientation(CATGSMOrientation)
Sets the line orientation.
o SetSecondUptoElem(CATISpecObject_var)
Sets the second upto element.

Methods


o GetFirstUptoElem
public virtual HRESULT GetFirstUptoElem(CATISpecObject_var& oFirstUpto) = 0
Gets the first upto element.
Parameters:
oFirstUpto
o GetLineType
public virtual HRESULT GetLineType(int& oT) = 0
Gets the line type.
Parameters:
oT
Type of Plane
o GetOrientation
public virtual HRESULT GetOrientation(CATGSMOrientation& oOrientation) = 0
Gets the line orientation. Orientation allows to reverse the line direction from the reference point. For a line of L length, it is the same as creating this line with -L length.
Parameters:
oOrientation
orientation
o GetSecondUptoElem
public virtual HRESULT GetSecondUptoElem(CATISpecObject_var& oSecondUpto) = 0
Gets the second upto element.
Parameters:
oSecondUpto
o InvertOrientation
public virtual HRESULT InvertOrientation()= 0
Inverts the line orientation.
o SetFirstUptoElem
public virtual HRESULT SetFirstUptoElem( const CATISpecObject_var iFirstUpto) = 0
Sets the first upto element.
Parameters:
iFirstUpto
o SetOrientation
public virtual HRESULT SetOrientation( const CATGSMOrientation iOrientation) = 0
Sets the line orientation. Orientation allows to reverse the line direction from the reference point. For a line of L length, it is the same as creating this line with -L length.
Parameters:
iOrientation
orientation
o SetSecondUptoElem
public virtual HRESULT SetSecondUptoElem( const CATISpecObject_var iSecondUpto) = 0
Sets the second upto element.
Parameters:
iSecondUpto

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

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