CATGSMUseItf Interface CATIGSMUseCombine
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIGSMUseCombine
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:
- CATIGSMUseFactory.CreateCombine
Method Index
- o
GetDirection1(CATIGSMUseDirection_var&)
- Gets the extrude direction.
- o
GetDirection2(CATIGSMUseDirection_var&)
- Gets the extrude direction.
- o
GetElem1(CATIMmiMechanicalFeature_var&)
- Gets the first feature to combine (curve).
- o
GetElem2(CATIMmiMechanicalFeature_var&)
- Gets the second feature to combine (curve).
- o
GetSolutionType(CATGSMCombineSolutionType&)
- Gets Solution type.
- o
GetSolutionTypeCombine(CATGSMCombineSolutionTypeCombine&)
- Gets the Combination Mode.
- o
SetDirection1(CATIGSMUseDirection_var)
- Sets the extrude direction.
- o
SetDirection2(CATIGSMUseDirection_var)
- Sets the extrude direction.
- o
SetElem1(CATIMmiMechanicalFeature_var)
- Sets the first feature to combine (a curve).
- o
SetElem2(CATIMmiMechanicalFeature_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( | CATIGSMUseDirection_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:
- CATIGSMUseDirection
o GetDirection2
public virtual HRESULT GetDirection2( | CATIGSMUseDirection_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:
- CATIGSMUseDirection
o GetElem1
public virtual HRESULT GetElem1( | CATIMmiMechanicalFeature_var& | oElem) = 0 |
-
Gets the first feature to combine (curve).
- Parameters:
-
- oElem
-
- See also:
- CATIMmiMechanicalFeature
o GetElem2
public virtual HRESULT GetElem2( | CATIMmiMechanicalFeature_var& | oElem) = 0 |
-
Gets the second feature to combine (curve).
- Parameters:
-
- oElem
-
- See also:
- CATIMmiMechanicalFeature
o GetSolutionType
-
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
-
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
-
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:
- CATIGSMUseDirection
o SetDirection2
-
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:
- CATIGSMUseDirection
o SetElem1
-
Sets the first feature to combine (a curve).
- Parameters:
-
- iElem
- new feature to combine
- See also:
- CATIMmiMechanicalFeature
o SetElem2
-
Sets the second feature to combine (a curve).
- Parameters:
-
- iElem
- new feature to combine
- See also:
- CATIMmiMechanicalFeature
o SetSolutionType
-
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
-
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: CATIGSMUseCombine.h
If needed, your Imakefile.mk should include the module: CATGSMUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.