All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

GSMInterfaces Interface CATIGSMCylinder

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

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


interface CATIGSMCylinder

Interface to cylinder feature.
Role: Allows you to access data of the Cylinder feature created by using an element, a direction and two length values

See also:
CATIGSMFactory.CreateCylinder


Method Index


o GetCenter()
Gets the center of the cylinder.
o GetDir()
Gets the cylinder direction.
o GetFirstLimitValue(CATICkeParm_var&)
Gets the first length value.
o GetFirstLimitValue(double&)
Gets the first length value.
o GetOrientation(CATBoolean&)
Gets the orientation of the extrude.
o GetRadius(CATICkeParm_var&)
Gets the radius value.
o GetRadius(double&)
Gets the first length value.
o GetSecondLimitValue(CATICkeParm_var&)
Gets the second length value.
o GetSecondLimitValue(double&)
Gets the second length value.
o InvertOrientation()
Inverts the orientation of the extrude.
o SetCenter(CATISpecObject_var)
Sets the center of the cylinder.
o SetDir(CATIGSMDirection_var)
Sets the direction of the cylinder.
o SetFirstLimitValue(CATICkeParm_var)
Sets the first length value.
o SetFirstLimitValue(double)
Sets the first length value.
o SetOrientation(CATBoolean)
Sets the orientation of the extrude.
o SetRadius(CATICkeParm_var)
Sets the radius value.
o SetRadius(double)
Sets the radius value.
o SetSecondLimitValue(CATICkeParm_var)
Sets the second length value.
o SetSecondLimitValue(double)
Sets the second length value.

Methods


o GetCenter
public virtual CATISpecObject_var GetCenter()= 0
Gets the center of the cylinder.
Returns:
Center of cylinder
o GetDir
public virtual CATIGSMDirection_var GetDir()= 0
Gets the cylinder direction.
Returns:
direction
o GetFirstLimitValue
public virtual HRESULT GetFirstLimitValue(CATICkeParm_var& ohLength1)=0
Gets the first length value.
Parameters:
ohLength1
first length value
See also:
CATICkeParm
o GetFirstLimitValue
public virtual HRESULT GetFirstLimitValue(double& oLength1) = 0
Gets the first length value.
Parameters:
oLength1
first length value
o GetOrientation
public virtual HRESULT GetOrientation(CATBoolean& oOrient)=0
Gets the orientation of the extrude. TRUE means that the natural orientation of the direction is the right one.
Parameters:
oOrient
Extrude orientation
o GetRadius
public virtual HRESULT GetRadius(CATICkeParm_var& ohRadius)=0
Gets the radius value.
Parameters:
ohRadius
Radius value
See also:
CATICkeParm
o GetRadius
public virtual HRESULT GetRadius(double& oRadius) = 0
Gets the first length value.
Parameters:
oRadius
Radius value
o GetSecondLimitValue
public virtual HRESULT GetSecondLimitValue(CATICkeParm_var& ohLength2)=0
Gets the second length value.
Parameters:
ohLength2
second length value
See also:
CATICkeParm
o GetSecondLimitValue
public virtual HRESULT GetSecondLimitValue(double& oLength2) = 0
Gets the second length value.
Parameters:
oLength2
first length value
o InvertOrientation
public virtual HRESULT InvertOrientation()=0
Inverts the orientation of the extrude.
TRUE means that the direction is inverted
o SetCenter
public virtual HRESULT SetCenter( const CATISpecObject_var ihCenter) = 0
Sets the center of the cylinder.
Parameters:
ihCenter
Center of the Cylinder
o SetDir
public virtual HRESULT SetDir( const CATIGSMDirection_var ihDir) = 0
Sets the direction of the cylinder.
Parameters:
ihDir
Direction of the cylinder
See also:
CATIGSMDirection
o SetFirstLimitValue
public virtual HRESULT SetFirstLimitValue( const CATICkeParm_var ihLength1) = 0
Sets the first length value.
Parameters:
ihLength1
New first length value
See also:
CATICkeParm
o SetFirstLimitValue
public virtual HRESULT SetFirstLimitValue(double iLength1) = 0
Sets the first length value.
Parameters:
iLength1
New first length value
o SetOrientation
public virtual HRESULT SetOrientation(CATBoolean iOrient)=0
Sets the orientation of the extrude.
TRUE means that the direction is inverted
Parameters:
iOrient
TRUE or FALSE
o SetRadius
public virtual HRESULT SetRadius( const CATICkeParm_var ihRadius) = 0
Sets the radius value.
Parameters:
ihRadius
New radius value
See also:
CATICkeParm
o SetRadius
public virtual HRESULT SetRadius(double iRadius) = 0
Sets the radius value.
Parameters:
iRadius
New first radius
o SetSecondLimitValue
public virtual HRESULT SetSecondLimitValue( const CATICkeParm_var iOfs2) = 0
Sets the second length value.
Parameters:
ihLength2
New second length value
See also:
CATICkeParm
o SetSecondLimitValue
public virtual HRESULT SetSecondLimitValue(double iLength2) = 0
Sets the second length value.
Parameters:
iLength2
New second length value

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

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