CATGSMUseItf Interface CATIGSMUseProject
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIGSMUseProject
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:
-
- See also:
-
Method Index
- o
Get3DSmoothing(CATBoolean&)
- Queries whether '3D Smoothing' for smoothing operation is activated or not.
- o
GetDeviationValue(double&)
- Gets the maximum deviation allowed for smoothing operation.
- o
GetDeviationValue(CATICkeParm_var&)
- Gets the maximum deviation allowed for smoothing operation.
- o
GetDirection(CATIGSMUseDirection_var&)
- Gets the projection direction.
- o
GetElemToProject(CATIMmiMechanicalFeature_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(CATIMmiMechanicalFeature_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(double)
- Sets the maximum deviation allowed for smoothing operation.
- o
SetDeviationValue(CATICkeParm_var&)
- Sets the maximum deviation allowed for smoothing operation.
- o
SetDirection(CATIGSMUseDirection_var)
- Sets the projection direction.
- o
SetElemToProject(CATIMmiMechanicalFeature_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(CATIMmiMechanicalFeature_var)
- Sets the support feature (a plane or a surface).
Methods
o Get3DSmoothing
public virtual Get3DSmoothing( | | o3DSmoothing) |
-
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 GetDeviationValue( | | oDeviation) |
-
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 GetDeviationValue
public virtual GetDeviationValue( | | oDeviation) |
-
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 GetDirection
public virtual GetDirection( | | oElem) |
-
Gets the projection direction.
The direction is used if normal mode is off.
- Parameters:
-
- oElem
- projection direction
- See also:
-
o GetElemToProject
public virtual GetElemToProject( | | oElem) |
-
Gets the feature to project (a point or a curve).
- Parameters:
-
- oElem
- new feature to project
o GetSmoothingType
public virtual GetSmoothingType( | | oType) |
-
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:
-
o GetSolutionType
public virtual GetSolutionType( | | oType) |
-
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:
-
o GetSupport
public virtual GetSupport( | | oElem) |
-
Gets the support feature (a plane or a surface).
- Parameters:
-
- oElem
- support feature
o IsNormal
public virtual IsNormal( | | oNormal) |
-
Queries if normal mode is on (Normal is set to TRUE if normal mode is on).
- Parameters:
-
- oNormal
- Normal mode
o Set3DSmoothing
public virtual Set3DSmoothing( | | i3DSmoothing) |
-
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 SetDeviationValue( | const | iDeviation) |
-
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 SetDeviationValue
public virtual SetDeviationValue( | const | iDeviation) |
-
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 SetDirection
public virtual SetDirection( | const | iElem) |
-
Sets the projection direction.
The direction is used if normal mode is off.
- Parameters:
-
- iElem
- projection direction
- See also:
-
o SetElemToProject
public virtual SetElemToProject( | const | iElem) |
-
Sets the feature to project (a point or a curve).
- Parameters:
-
- iElem
- new feature to project
o SetNormal
public virtual SetNormal( | | iNormal) |
-
Sets normal mode (Normal is set to TRUE if normal mode is on).
- Parameters:
-
- iNormal
- Normal mode
o SetSmoothingType
public virtual SetSmoothingType( | | iType) |
-
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:
-
o SetSolutionType
public virtual SetSolutionType( | | iType) |
-
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:
-
o SetSupport
public virtual SetSupport( | const | iElem) |
-
Sets the support feature (a plane or a surface).
- Parameters:
-
- iElem
- support feature
This object is included in the file: CATIGSMUseProject.h
If needed, your Imakefile.mk should include the module: CATGSMUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.