All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

GSMInterfaces Interface CATIGSMCombine

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

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


interface CATIGSMCombine

Interface to combined curve feature.
Role: Allows you to access data of the combined curve feature created by using an element, a direction, another element and another direction. The directions are used to extrude the elements. Note Solution Type: CATGSMNearestSolutionCombine (=0) -> Nearest solution Solution Type: CATGSMAllSolutionsCombine (=1) -> All solutions Solution TypeCombine: CATGSMSolutionCombine0 -> Normal Solution TypeCombine: CATGSMSolutionCombine1 -> Directions

See also:
CATGSMCombineSolutionType, CATGSMCombineSolutionTypeCombine
See also:
CATIGSMFactory.CreateCombine


Method Index


o GetDirection1(CATIGSMDirection_var&)
Gets the extrude direction.
o GetDirection2(CATIGSMDirection_var&)
Gets the extrude direction.
o GetElem1(CATISpecObject_var&)
Gets the first feature to combine (curve).
o GetElem2(CATISpecObject_var&)
Gets the second feature to combine (curve).
o GetSolutionType(CATGSMCombineSolutionType&)
Gets Solution type.
o GetSolutionTypeCombine(CATGSMCombineSolutionTypeCombine&)
Gets the Combination Mode.
o SetDirection1(CATIGSMDirection_var)
Sets the extrude direction.
o SetDirection2(CATIGSMDirection_var)
Sets the extrude direction.
o SetElem1(CATISpecObject_var)
Sets the first feature to combine (a curve).
o SetElem2(CATISpecObject_var)
Sets the second feature to combine (a curve).
o SetSolutionType(CATGSMCombineSolutionType)
Sets the Combination Type.
o SetSolutionTypeCombine(CATGSMCombineSolutionTypeCombine)
Sets the Combination Mode.

Methods


o GetDirection1
public virtual HRESULT GetDirection1(CATIGSMDirection_var& oElem) = 0
Gets the extrude direction.
The direction is used if normal mode is off.
Parameters:
oElem
extrusion direction of the first element
See also:
CATIGSMDirection
o GetDirection2
public virtual HRESULT GetDirection2(CATIGSMDirection_var& oElem) = 0
Gets the extrude direction.
The direction is used if normal mode is off.
Parameters:
oElem
extrusion direction of the second element
See also:
CATIGSMDirection
o GetElem1
public virtual HRESULT GetElem1(CATISpecObject_var& oElem) = 0
Gets the first feature to combine (curve).
Parameters:
oElem
See also:
CATISpecObject
o GetElem2
public virtual HRESULT GetElem2(CATISpecObject_var& oElem) = 0
Gets the second feature to combine (curve).
Parameters:
oElem
See also:
CATISpecObject
o GetSolutionType
public virtual HRESULT GetSolutionType(CATGSMCombineSolutionType& oType) = 0
Gets Solution type.
All solutions or Nearest solution (only nearest combine is kept when more than one solution is possible).
Parameters:
oType
Solution type : CATGSMNearestSolutionCombine (=0) -> Nearest solution : CATGSMAllSolutionsCombine (=1) -> All solutions
See also:
CATGSMCombineSolutionType
o GetSolutionTypeCombine
public virtual HRESULT GetSolutionTypeCombine(CATGSMCombineSolutionTypeCombine& oType) = 0
Gets the Combination Mode.
i.e: Normal for planar curve or using Extrusion Directions
Parameters:
oType
Solution type : CATGSMSolutionCombine0 -> Normal : CATGSMSolutionCombine1 -> Directions
See also:
CATGSMCombineSolutionTypeCombine
o SetDirection1
public virtual HRESULT SetDirection1( const CATIGSMDirection_var iElem) = 0
Sets the extrude direction.
The direction is used if normal mode is off.
Parameters:
iElem
extrusion direction of the first element of the combine
See also:
CATIGSMDirection
o SetDirection2
public virtual HRESULT SetDirection2( const CATIGSMDirection_var iElem) = 0
Sets the extrude direction.
The direction is used if normal mode is off.
Parameters:
iElem
extrusion direction of the second element of the combine
See also:
CATIGSMDirection
o SetElem1
public virtual HRESULT SetElem1( const CATISpecObject_var iElem) = 0
Sets the first feature to combine (a curve).
Parameters:
iElem
new feature to combine
See also:
CATISpecObject
o SetElem2
public virtual HRESULT SetElem2( const CATISpecObject_var iElem) = 0
Sets the second feature to combine (a curve).
Parameters:
iElem
new feature to combine
See also:
CATISpecObject
o SetSolutionType
public virtual HRESULT SetSolutionType(CATGSMCombineSolutionType iType) = 0
Sets the Combination Type.
It modifies the solution type either "Nearest solution" or "All solutions" (only nearest combine is kept when more than one solution is possible) :
Note:
- If combined curve type selected is Normal, the directions of the combined curve are the normals to the planes on which are the curves.
- If Directions is selected, two directions of combine are needed.
Parameters:
iType
Solution type : CATGSMNearestSolutionCombine (=0) -> Nearest solution : CATGSMAllSolutionsCombine (=1) -> All solutions
See also:
CATGSMCombineSolutionType
o SetSolutionTypeCombine
public virtual HRESULT SetSolutionTypeCombine(CATGSMCombineSolutionTypeCombine iType) = 0
Sets the Combination Mode.
i.e: Normal for planar curve or using Extrusion Directions
Parameters:
iType
Solution typecombine : CATGSMSolutionCombine0 -> Normal : CATGSMSolutionCombine1 -> Directions
See also:
CATGSMCombineSolutionTypeCombine

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

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