All Frameworks Class Hierarchy This Framework Previous Next Indexes
GSMInterfaces Interface CATIGSMProject
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATIGSMProject
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIGSMProject
Interface to project feature.
Role: Allows you to access data of the Project feature created by using
an element, a support and a direction.
The direction is used if the projection is not normal.
Note
Solution Type: 0 -> Nearest solution
Solution Type: 1 -> All solutions
- See also:
- CATGSMProjectSolutionType
- See also:
- CATIGSMFactory.CreateProject
Method Index
- o
Get3DSmoothing(CATBoolean&)
- Queries whether '3D Smoothing' for smoothing operation is activated or not.
- o
GetDeviationValue(CATICkeParm_var&)
- Gets the maximum deviation allowed for smoothing operation.
- o
GetDeviationValue(double&)
- Gets the maximum deviation allowed for smoothing operation.
- o
GetDirection(CATIGSMDirection_var&)
- Gets the projection direction.
- o
GetElemToProject(CATISpecObject_var&)
- Gets the feature to project (a point or a curve).
- o
GetSmoothingType(CATGSMTolerantModelingSmoothingType&)
- Gets Smoothing Type.
- o
GetSolutionType(CATGSMProjectSolutionType&)
- Gets Solution type for projection.
- o
GetSupport(CATISpecObject_var&)
- Gets the support feature (a plane or a surface).
- o
IsNormal(CATBoolean&)
- Queries if normal mode is on (Normal is set to TRUE if normal mode is on).
- o
Set3DSmoothing(CATBoolean)
- Sets or unsets the '3D Smoothing' activation for smoothing operation.
- o
SetDeviationValue(CATICkeParm_var&)
- Sets the maximum deviation allowed for smoothing operation.
- o
SetDeviationValue(double)
- Sets the maximum deviation allowed for smoothing operation.
- o
SetDirection(CATIGSMDirection_var)
- Sets the projection direction.
- o
SetElemToProject(CATISpecObject_var)
- Sets the feature to project (a point or a curve).
- o
SetNormal(CATBoolean)
- Sets normal mode (Normal is set to TRUE if normal mode is on).
- o
SetSmoothingType(CATGSMTolerantModelingSmoothingType)
- Sets Smoothing Type.
- o
SetSolutionType(CATGSMProjectSolutionType)
- Sets Solution type.
- o
SetSupport(CATISpecObject_var)
- Sets the support feature (a plane or a surface).
Methods
o Get3DSmoothing
-
Queries whether '3D Smoothing' for smoothing operation is activated or not.
Available only for tangent or curvature smoothing type
- Parameters:
-
- o3DSmoothing
- TRUE : Smoothing performed without specifying support
FALSE : Smoothing performed with specific support (retrieved by GetSupport)
o GetDeviationValue
public virtual HRESULT GetDeviationValue( | CATICkeParm_var& | oDeviation) = 0 |
-
Gets the maximum deviation allowed for smoothing operation.
Gets in distance unit, it corresponds to the radius of a
pipe around the input curve in which the result is allowed to be.
- Parameters:
-
- Elem
- Maximum deviation literal feature
o GetDeviationValue
public virtual HRESULT GetDeviationValue( | double& | oDeviation) = 0 |
-
Gets the maximum deviation allowed for smoothing operation.
Gets in distance unit, it corresponds to the radius of a
pipe around the input curve in which the result is allowed to be.
- Parameters:
-
- val
- Maximum deviation value
o GetDirection
public virtual HRESULT GetDirection( | CATIGSMDirection_var& | oElem) = 0 |
-
Gets the projection direction.
The direction is used if normal mode is off.
- Parameters:
-
- oElem
- projection direction
- See also:
- CATIGSMDirection
o GetElemToProject
public virtual HRESULT GetElemToProject( | CATISpecObject_var& | oElem) = 0 |
-
Gets the feature to project (a point or a curve).
- Parameters:
-
- oElem
- new feature to project
o GetSmoothingType
-
Gets Smoothing Type.
- Parameters:
-
- oType
- Smoothing type
: TM_None -> No Smoothing
: TM_G1 -> G1 Smoothing : Enhance current continuity to tangent continuity
: TM_G2 -> G2 Smoothing : Enhance current continuity to curvature continuity
- See also:
- CATGSMTolerantModelingSmoothingType
o GetSolutionType
-
Gets Solution type for projection.
All solutions or Nearest solution (only nearest projection
is kept when more than one solution is possible).
- Parameters:
-
- oType
- Solution type
: 0 -> Nearest solution
: 1 -> All solutions
- See also:
- CATGSMProjectSolutionType
o GetSupport
public virtual HRESULT GetSupport( | CATISpecObject_var& | oElem) = 0 |
-
Gets the support feature (a plane or a surface).
- Parameters:
-
- oElem
- support feature
o IsNormal
-
Queries if normal mode is on (Normal is set to TRUE if normal mode is on).
- Parameters:
-
- oNormal
- Normal mode
o Set3DSmoothing
-
Sets or unsets the '3D Smoothing' activation for smoothing operation.
Available only for tangent or curvature smoothing type
- Parameters:
-
- i3DSmoothing
- TRUE : Smoothing performed without specifying support
FALSE : Smoothing performed with specific support (retrieved by GetSupport)
o SetDeviationValue
public virtual HRESULT SetDeviationValue( | const CATICkeParm_var& | iDeviation) = 0 |
-
Sets the maximum deviation allowed for smoothing operation.
Sets in distance unit, it corresponds to the radius of a
pipe around the input curve in which the result is allowed to be.
- Parameters:
-
- Elem
- Maximum deviation literal feature
o SetDeviationValue
public virtual HRESULT SetDeviationValue( | const double | iDeviation) = 0 |
-
Sets the maximum deviation allowed for smoothing operation.
Sets in distance unit, it corresponds to the radius of a
pipe around the input curve in which the result is allowed to be.
- Parameters:
-
- val
- Maximum deviation value
o SetDirection
-
Sets the projection direction.
The direction is used if normal mode is off.
- Parameters:
-
- iElem
- projection direction
- See also:
- CATIGSMDirection
o SetElemToProject
-
Sets the feature to project (a point or a curve).
- Parameters:
-
- iElem
- new feature to project
o SetNormal
-
Sets normal mode (Normal is set to TRUE if normal mode is on).
- Parameters:
-
- iNormal
- Normal mode
o SetSmoothingType
-
Sets Smoothing Type.
- Parameters:
-
- iType
- Smoothing type
: TM_None -> No Smoothing
: TM_G1 -> G1 Smoothing : Enhance current continuity to tangent continuity
: TM_G2 -> G2 Smoothing : Enhance current continuity to curvature continuity
- See also:
- CATGSMTolerantModelingSmoothingType
o SetSolutionType
-
Sets Solution type.
All solutions or Nearest solution (only nearest projection
is kept when more than one solution is possible).
- Parameters:
-
- iType
- Solution type
: 0 -> Nearest solution
: 1 -> All solutions
- See also:
- CATGSMProjectSolutionType
o SetSupport
-
Sets the support feature (a plane or a surface).
- Parameters:
-
- iElem
- support feature
This object is included in the file: CATIGSMProject.h
If needed, your Imakefile.mk should include the module: CATGitInterfaces