CATGSMUseItf Interface CATIGSMUseRevol

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


interface CATIGSMUseRevol

Interface to revolution feature.
Role: Allows you to access data of the Revolution feature created by using an element, an axis and two angle values

LICENSING INFORMATION: Creation of volume result requires GSO License
if GSO License is not granted , settting of Volume context has not effect

See also:
CATIGSMUseFactory.CreateRevol


Method Index


o GetAxisOfRevolution()
Gets the revolution axis.
o GetBeginAngle(double&)
Gets the first angle value.
o GetBeginAngle(CATICkeParm_var&)
Gets the first angle value.
o GetContext(CATGSMFeatureContextType&)
Gets context type for existing feature.
o GetEndAngle(double&)
Gets the second angle value.
o GetEndAngle(CATICkeParm_var&)
Gets the second angle value.
o GetOrientation(CATBoolean&)
Gets the orientation of the revolution.
o GetProfil()
Gets the profile of revolution.
o InvertOrientation()
Inverts the orientation of the revolution.
o SetAxisOfRevolution(CATIMmiMechanicalFeature_var)
Sets the revolution axis.
o SetBeginAngle(double)
Sets the firt angle value.
o SetBeginAngle(CATICkeParm_var)
Sets the firt angle value.
o SetContext(CATGSMFeatureContextType)
Sets context type to generate a Surface or Volume.
o SetEndAngle(double)
Sets the second angle value.
o SetEndAngle(CATICkeParm_var)
Sets the second angle value.
o SetOrientation(CATBoolean)
Sets the orientation of the revolution.
o SetProfil(CATIMmiMechanicalFeature_var)
Sets the profile.

Methods


o GetAxisOfRevolution
public virtual CATIMmiMechanicalFeature_var GetAxisOfRevolution()= 0
Gets the revolution axis.
TThe profile must not cross the revolution axis
Returns:
revolution axis
o GetBeginAngle
public virtual HRESULT GetBeginAngle(double& oAng1) = 0
Gets the first angle value.
Parameters:
oAng1
first angle value.
o GetBeginAngle
public virtual HRESULT GetBeginAngle(CATICkeParm_var& oAng1) = 0
Gets the first angle value.
Parameters:
oAng1
first angle value.
o GetContext
public virtual HRESULT GetContext(CATGSMFeatureContextType& oContextType) = 0
Gets context type for existing feature.
Parameters:
oContextType
CATGSMSurfaceCtxt if the result is surface, CATGSMVolumeCtxt if it is volume
See also:
CATGSMFeatureContextType
o GetEndAngle
public virtual HRESULT GetEndAngle(double& oAng2) = 0
Gets the second angle value.
Parameters:
oAng2
second angle value.
o GetEndAngle
public virtual HRESULT GetEndAngle(CATICkeParm_var& oAng2) = 0
Gets the second angle value.
Parameters:
oAng2
second angle value.
o GetOrientation
public virtual HRESULT GetOrientation(CATBoolean& oOrient)=0
Gets the orientation of the revolution.
Parameters:
oOrient
TRUE means that the natural orientation of the axis is taken. FALSE means that the opposite orientation is taken
o GetProfil
public virtual CATIMmiMechanicalFeature_var GetProfil()= 0
Gets the profile of revolution.
The profile must not cross the revolution axis
Returns:
profile
o InvertOrientation
public virtual HRESULT InvertOrientation()=0
Inverts the orientation of the revolution.
o SetAxisOfRevolution
public virtual HRESULT SetAxisOfRevolution( const CATIMmiMechanicalFeature_var iElem1) = 0
Sets the revolution axis.
Parameters:
iElem1
New revoution axis.
o SetBeginAngle
public virtual HRESULT SetBeginAngle(double iElem1) = 0
Sets the firt angle value.
Parameters:
iElem1
New first angle value.
o SetBeginAngle
public virtual HRESULT SetBeginAngle( const CATICkeParm_var iAng1) =0
Sets the firt angle value.
Parameters:
iAng1
New first angle value.
o SetContext
public virtual HRESULT SetContext( const CATGSMFeatureContextType iContextType) = 0
Sets context type to generate a Surface or Volume.
Parameters:
iContextType
CATGSMSurfaceCtxt to generate a surface, CATGSMVolumeCtxt (requires GSO License) to generate a volume
See also:
CATGSMFeatureContextType
o SetEndAngle
public virtual HRESULT SetEndAngle(double iElem1) = 0
Sets the second angle value.
Parameters:
iElem1
New second angle value.
o SetEndAngle
public virtual HRESULT SetEndAngle( const CATICkeParm_var iAng2) =0
Sets the second angle value.
Parameters:
iAng2
New second angle value.
o SetOrientation
public virtual HRESULT SetOrientation(CATBoolean iOrient)=0
Sets the orientation of the revolution.
Parameters:
oOrient
TRUE means that the natural orientation of the axis is taken. FALSE means that the opposite orientation is taken
o SetProfil
public virtual HRESULT SetProfil( const CATIMmiMechanicalFeature_var iElem1) = 0
Sets the profile.
Parameters:
iElem1
New Profile.

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

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.