CATGSMUseItf Interface CATIGSMUseSweepUnspec

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


interface CATIGSMUseSweepUnspec

Interface to explicit profile sweep feature.
Role: Allows you to access data of swept surface feature created with an explicit profile. In the following, 'initial plane' stands for the initial profile mean plane, and 'target plane' stands for the first sweep plane.

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

See also:
,
See also:
See also:


Method Index


o DelAngle()
Removes reference surface angle.
o DelGuide()
Removes all guide curves.
o GetAngle(double&,int)
Gets the first reference surface angle.
o GetAngle(CATICkeParm_var&,int)
Gets the first reference surface angle.
o GetAngularLaw(CATICkeLaw_var&)
Gets angular law feature.
o GetAngularLawInversion(CATBoolean&)
Gets information whether reference angle law has to be inverted or not.
o GetAngularLawType(enum CATGSMBasicLawType&)
Gets the type of angular law used for reference angle.
o GetCanonicalDetectionMode(CATGSMCanonicalSurfaceDetection&)
Gets information about detection of canonical surfaces of the output surface.
o GetContext(CATGSMFeatureContextType&)
Gets the context of the Sweep.
o GetFittingPoints(CATIMmiMechanicalFeature_var&,CATIMmiMechanicalFeature_var&)
Gets the fitting points : located in the profile plane, these points are used for two-guide swept surfaces to determine guide intersection locations.
o GetGuide(CATIMmiMechanicalFeature_var&)
Gets first guide curve.
o GetGuide(CATIMmiMechanicalFeature_var&,int)
Gets a guide curve given its index.
o GetGuideDeviation(double&)
Gets deviation value (length) from guide curves allowed during sweeping operation in order to smooth it.
o GetGuideDeviation(CATICkeParm_var&)
Gets deviation value (length) from guide curves allowed during sweeping operation in order to smooth it.
o GetGuideDeviationActivity(CATBoolean&)
Gets information whether a deviation from guide curves is allowed or not during sweeping operation in order to smooth it.
o GetLongitudinalRelimiters(CATIMmiMechanicalFeature_var&,CATBoolean&,CATIMmiMechanicalFeature_var&,CATBoolean&)
Gets the elements relimiting the spine (or the default spine).
o GetMode(enum CATGSMExplicitSweepCase&)
Gets explicit sweep case number (also called mode).
o GetNbAngle(int&)
Gets the number of reference surface angle (0 or 1).
o GetNbGuide(int&)
Gets the number of guide curves.
o GetNbPosAngle(int&)
Gets the number of numerical positioning parameters corresponding to angles from the default positions of the X axes.
o GetNbPosCoord(int&)
Gets the number of numerical positioning parameters corresponding to coordinates of the new axes systems origins.
o GetPosAngle(CATICkeParm_var&,int)
Gets the numerical positioning parameters corresponding to angles from the default positions of the X axes.
o GetPosCoord(CATICkeParm_var&,int)
Gets the numerical positioning parameters corresponding to coordinates.
o GetPosDirection(CATIGSMUseDirection_var&)
Gets the positioning direction : initial plane X-axis direction.
o GetPosDirection(CATIGSMUseDirection_var&,int)
Gets the positioning directions : initial or target plane X-axis direction.
o GetPosMode(enum CATGSMPositionMode&)
Gets the positioning mode.
o GetPosPoint(CATIMmiMechanicalFeature_var&)
Gets the point designated as the origin of the initial plane.
o GetPosPoint(CATIMmiMechanicalFeature_var&,int)
Gets the points designated as the origins of the initial and target transformation planes.
o GetPosSwapAxes(enum CATGSMAxisInversionMode&)
Gets the positioning parameter : initial plane axes inversion from previous definition.
o GetPosSwapAxes(enum CATGSMAxisInversionMode&,int)
Gets the positioning parameters : axes inversion from previous definition for each transformation plane (initial and target).
o GetPositionedProfile(CATIMmiMechanicalFeature_var&)
Gets the positioning transformation.
o GetProfile(CATIMmiMechanicalFeature_var&)
Gets the original profile.
o GetProfileXAxisComputationMode(enum CATGSMPositionDirCompMode&)
Gets the computation mode of the X axis (or direction) of the initial axis system (on the profile).
o GetPullingDirection(CATIGSMUseDirection_var&)
Gets the pulling direction.
o GetReference(CATIMmiMechanicalFeature_var&)
Gets the reference surface.
o GetSmoothActivity(CATBoolean&)
Gets information whether sweeping operation is smoothed or not.
o GetSmoothAngleThreshold(double&)
Gets angular threshold under which discontinuities (moving frame, tangency net on reference surface) will be smoothed when sweeping.
o GetSmoothAngleThreshold(CATICkeParm_var&)
Gets angular threshold under which discontinuities (moving frame, tangency net on reference surface) will be smoothed when sweeping.
o GetSolutionNo(int&)
Gets the current solution number of the four possible solutions.
o GetSpine(CATIMmiMechanicalFeature_var&)
Gets the spine.
o IsGuideProjected(CATBoolean&)
Allows to know if the guide curve is projected onto the reference plane and used as spine, in pulling direction case only.
o IsSketchAxisUsedAsDefault(CATBoolean&)
Queries status wherere Sketch axis used as default or not.
o RemoveFittingPoints()
Removes the fitting points.
o RemoveSecondFittingPoint()
Remove the second fitting point.
o SetAngle(double,int)
Sets the first reference surface angle.
o SetAngle(CATICkeParm_var,int)
Sets the first reference surface angle.
o SetAngularLaw(CATICkeLaw_var&)
Sets angular law feature.
o SetAngularLawInversion(CATBoolean)
Sets information whether reference angle law has to be inverted or not.
o SetAngularLawType(enum CATGSMBasicLawType)
Sets the type of angular law used for reference angle.
o SetCanonicalDetectionMode(CATGSMCanonicalSurfaceDetection)
Sets information about detection of canonical surfaces of the output surface.
o SetContext(CATGSMFeatureContextType)
Sets the context of the Sweep.
o SetFittingPoints(CATIMmiMechanicalFeature_var,CATIMmiMechanicalFeature_var)
Sets the fitting points.
o SetGuide(CATIMmiMechanicalFeature_var)
Sets first guide curve.
o SetGuide(CATIMmiMechanicalFeature_var,int)
Sets a guide curve given its index.
o SetGuideDeviation(double)
Sets deviation value (length) from guide curves allowed during sweeping operation in order to smooth it.
o SetGuideDeviation(CATICkeParm_var&)
Sets deviation value (length) from guide curves allowed during sweeping operation in order to smooth it.
o SetGuideDeviationActivity(CATBoolean)
Sets information whether a deviation from guide curves is allowed or not during sweeping operation in order to smooth it.
o SetGuideProjection(CATBoolean)
Sets the projection of the guide curve onto the reference plane in order to use it as spine, in pulling direction case only.
o SetLongitudinalRelimiters(CATIMmiMechanicalFeature_var&,CATBoolean,CATIMmiMechanicalFeature_var&,CATBoolean)
Sets the elements relimiting the spine (or the default spine).
o SetMode(enum CATGSMExplicitSweepCase)
Sets explicit sweep case number.
o SetPosAngle(double,int)
Sets the numerical positioning parameters corresponding to angles from the default positions of the X axes.
o SetPosAngle(CATICkeParm_var,int)
Sets the numerical positioning parameters corresponding to angles from the default positions of the X axes.
o SetPosCoord(double,int)
Sets the numerical positioning parameters corresponding to coordinates.
o SetPosCoord(CATICkeParm_var,int)
Sets the numerical positioning parameters corresponding to coordinates.
o SetPosDirection(CATIGSMUseDirection_var)
Sets the positioning direction : initial plane X-axis direction.
o SetPosDirection(CATIGSMUseDirection_var,int)
Sets the positioning directions : initial or target plane X-axis direction.
o SetPosMode(enum CATGSMPositionMode)
Sets the positioning mode.
o SetPosPoint(CATIMmiMechanicalFeature_var)
Sets the point designated as the origin of the initial plane.
o SetPosPoint(CATIMmiMechanicalFeature_var,int)
Sets the points designated as the origins of the initial and target transformation planes.
o SetPosSwapAxes(enum CATGSMAxisInversionMode)
Sets the positioning parameter : initial plane axes inversion from previous definition.
o SetPosSwapAxes(enum CATGSMAxisInversionMode,int)
Modify the positioning parameters : axes inversion from previous definition for each transformation plane (initial and target).
o SetPositionedProfile(CATIMmiMechanicalFeature_var&)
Sets the positioning transformation.
o SetProfile(CATIMmiMechanicalFeature_var)
Sets the original profile.
o SetProfileXAxisComputationMode(enum CATGSMPositionDirCompMode)
Sets the computation mode of the X axis (or direction) of the initial axis system.
o SetPullingDirection(CATIGSMUseDirection_var&)
Sets the pulling direction.
o SetReference(CATIMmiMechanicalFeature_var)
Sets the reference surface.
o SetSmoothActivity(CATBoolean)
Sets information whether sweeping operation is smoothed or not.
o SetSmoothAngleThreshold(double)
Sets angular threshold under which discontinuities (moving frame, tangency net on reference surface) will be smoothed when sweeping.
o SetSmoothAngleThreshold(CATICkeParm_var&)
Sets angular threshold under which discontinuities (moving frame, tangency net on reference surface) will be smoothed when sweeping.
o SetSolutionNo(int)
Sets the current solution number of the four possible solutions.
o SetSpine(CATIMmiMechanicalFeature_var)
Sets the spine.
o UseSketchAxisAsDefault(CATBoolean)
Uses Sketch Axis As Default.

Methods


o DelAngle
public virtual DelAngle()
Removes reference surface angle.
o DelGuide
public virtual DelGuide()
Removes all guide curves.
o GetAngle
public virtual GetAngle( oElem,
const iI=1)
Gets the first reference surface angle.
Parameters:
oElem
Angle value
o GetAngle
public virtual GetAngle( oElem,
const iI=1)
Gets the first reference surface angle.
Parameters:
oElem
Angle literal feature
See also:
o GetAngularLaw
public virtual GetAngularLaw( Elem)
Gets angular law feature.
Parameters:
Elem
Angular law feature
See also:
o GetAngularLawInversion
public virtual GetAngularLawInversion( oInversion)
Gets information whether reference angle law has to be inverted or not.
Parameters:
oInversion
TRUE or FALSE (FALSE if not specified).
See also:
o GetAngularLawType
public virtual GetAngularLawType( eType)
Gets the type of angular law used for reference angle.
Parameters:
eType
Angular law type:
- CATGSMBasicLawType_Constant for constant law (first angle value taken),
- CATGSMBasicLawType_Linear for linear law from first angle to second angle values,
- CATGSMBasicLawType_SType for S type law from first angle to second angle values,
- CATGSMBasicLawType_Advanced for a law specified by a law feature.
See also:
o GetCanonicalDetectionMode
public virtual GetCanonicalDetectionMode( oDetection)
Gets information about detection of canonical surfaces of the output surface.
Parameters:
oDetection
If canonical surfaces are detected not. Possible values are CATGSMNoDetection and CATGSMCanonicalDetection.
See also:
o GetContext
public virtual GetContext( oContext)
Gets the context of the Sweep.
Parameters:
oContextType
CATGSMSurfaceCtxt if the result is surface, CATGSMVolumeCtxt if it is volume
See also:
o GetFittingPoints
public virtual GetFittingPoints( oElem1,
oElem2)
Gets the fitting points : located in the profile plane, these points are used for two-guide swept surfaces to determine guide intersection locations.
Parameters:
oElem1
Fitting point associated to the first guide
oElem2
Fitting point associated to the second guide
o GetGuide
public virtual GetGuide( oElem)
Gets first guide curve.
Parameters:
oElem
First guide curve feature.
o GetGuide
public virtual GetGuide( oElem,
const iI)
Gets a guide curve given its index.
Parameters:
oElem
Guide curve feature.
iI
Guide curve index : 1 or 2
o GetGuideDeviation
public virtual GetGuideDeviation( oElem)
Gets deviation value (length) from guide curves allowed during sweeping operation in order to smooth it.
Parameters:
oElem
Numerical value.
o GetGuideDeviation
public virtual GetGuideDeviation( oElem)
Gets deviation value (length) from guide curves allowed during sweeping operation in order to smooth it.
Parameters:
oElem
Length literal feature.
o GetGuideDeviationActivity
public virtual GetGuideDeviationActivity( oActi)
Gets information whether a deviation from guide curves is allowed or not during sweeping operation in order to smooth it.
Parameters:
oSmooth
TRUE or FALSE (FALSE if not specified).
o GetLongitudinalRelimiters
public virtual GetLongitudinalRelimiters( oElem1,
boInv1,
oElem2,
boInv2)
Gets the elements relimiting the spine (or the default spine).
Parameters:
oElem1
First relimiting feature (plane or point)
boInv1
Split direction for the first relimitation
FALSE means that the beginning of the spine (considering its orientation) is removed, TRUE means that the end of the spine is removed
oElem2
Second relimiting feature (plane or point)
boInv2
Split direction for the second relimitation
o GetMode
public virtual GetMode( oElem)
Gets explicit sweep case number (also called mode). Possible cases are:
- CATGSMExplicitSweep_None: no information on feature and no guide curve (treated as reference surface case or two-guide-curve case depending on the number of guide curves)
- CATGSMExplicitSweep_ReferenceSurface: optional reference surface case, or no information on feature (old feature with no mode) but only one guide curve present
- CATGSMExplicitSweep_TwoGuideCurves: two-guide-curve case, or no information on feature (old feature with no mode) but two guide curves present
- CATGSMExplicitSweep_PullingDirection: pulling direction case
Parameters:
oElem
Case number
See also:
o GetNbAngle
public virtual GetNbAngle( oI)
Gets the number of reference surface angle (0 or 1).
Parameters:
oI
Number of reference surface angle
o GetNbGuide
public virtual GetNbGuide( oI)
Gets the number of guide curves.
Parameters:
oI
Number of guide curves
o GetNbPosAngle
public virtual GetNbPosAngle( oI)
Gets the number of numerical positioning parameters corresponding to angles from the default positions of the X axes.
Parameters:
oI
Number of parameters
o GetNbPosCoord
public virtual GetNbPosCoord( oI)
Gets the number of numerical positioning parameters corresponding to coordinates of the new axes systems origins.
Parameters:
oI
Number of parameters
o GetPosAngle
public virtual GetPosAngle( oElem,
const iI)
Gets the numerical positioning parameters corresponding to angles from the default positions of the X axes.
Parameters:
oElem
Numerical parameter (literal feature)
iI
Index of the parameter :
- 1 for direction angle in the initial plane,
- 2 for direction angle in the target plane.
See also:
o GetPosCoord
public virtual GetPosCoord( oElem,
const iI)
Gets the numerical positioning parameters corresponding to coordinates. of the new axes systems origins.
Parameters:
oElem
Numerical parameter (literal feature)
iI
Index of the parameter :
- 1 and 2 for origin coordinates in the initial plane,
- 3 and 4 for origin coordinates in the target plane.
See also:
o GetPosDirection
public virtual GetPosDirection( oElem)
Gets the positioning direction : initial plane X-axis direction.
Parameters:
oElem
Direction feature
See also:
o GetPosDirection
public virtual GetPosDirection( oElem,
const iI)
Gets the positioning directions : initial or target plane X-axis direction.
Parameters:
oElem
Direction feature
iI
Plane index : 1 for initial one, 2 for target one
See also:
o GetPosMode
public virtual GetPosMode( Elem)
Gets the positioning mode.
Parameters:
Elem
CATGSMPositionMode_ExplicitSweep if a positioning operation is operated, CATGSMPositionMode_NoneOrPositioned if not
See also:
o GetPosPoint
public virtual GetPosPoint( oElem)
Gets the point designated as the origin of the initial plane.
Parameters:
oElem
Point feature
o GetPosPoint
public virtual GetPosPoint( oElem,
const iI)
Gets the points designated as the origins of the initial and target transformation planes.
Parameters:
oElem
Point feature
iI
Plane index : 1 for initial one, 2 for target one
o GetPosSwapAxes
public virtual GetPosSwapAxes( oI)
Gets the positioning parameter : initial plane axes inversion from previous definition.
Parameters:
oI
State of axes
See also:
o GetPosSwapAxes
public virtual GetPosSwapAxes( oI,
const iIdx)
Gets the positioning parameters : axes inversion from previous definition for each transformation plane (initial and target).
Parameters:
oI
State of axes :
- CATGSMAxisInversionMode_None : no axis inverted
- CATGSMAxisInversionMode_X : only X axis inverted
- CATGSMAxisInversionMode_Y : only Y axis inverted
- CATGSMAxisInversionMode_Both : both axes inverted
iIdx
Plane index : 1 for initial one, 2 for target one
See also:
o GetPositionedProfile
public virtual GetPositionedProfile( oElem)
Gets the positioning transformation.
This method allows to get the user positioned profile.
The result of this feature is the profile positioned in the first sweep plane.
Parameters:
oElem
Positioning transformation feature (or positioned profile)
Note: in case of positionning, The returned objet answer to CATIGSMUsePositionTransfo interface object.
See also:
o GetProfile
public virtual GetProfile( oElem)
Gets the original profile.
Parameters:
oElem
Original profile feature
o GetProfileXAxisComputationMode
public virtual GetProfileXAxisComputationMode( oDirCompMode)
Gets the computation mode of the X axis (or direction) of the initial axis system (on the profile). Default value (if not specified by SetProfileXAxisComputationMode) is CATGSMPositionDirCompMode_None if GetPosDirection(OutputDirection) gives a NULL_var OutputDirection, and CATGSMPositionDirCompMode_User if OutputDirection is different from NULL_var.
Parameters:
oDirCompMode
Mode :
- CATGSMPositionDirCompMode_None: no X axis specified
- CATGSMPositionDirCompMode_Tangent: the X axis is implicitly the tangent of the profile at the origin (the origin then HAS to be on the profile)
- CATGSMPositionDirCompMode_User: the X axis is specified by a direction via SetPosDirection(UserInputDirection, 1)
See also:
o GetPullingDirection
public virtual GetPullingDirection( oDir)
Gets the pulling direction. This input replaces the reference surface; indeed, if the direction is specified, the plane normal to this direction is taken as reference surface.
Parameters:
oDir
Pulling direction feature
See also:
o GetReference
public virtual GetReference( oElem)
Gets the reference surface.
Parameters:
oElem
Reference surface feature
o GetSmoothActivity
public virtual GetSmoothActivity( oSmooth)
Gets information whether sweeping operation is smoothed or not.
Parameters:
oSmooth
TRUE or FALSE (FALSE if not specified).
o GetSmoothAngleThreshold
public virtual GetSmoothAngleThreshold( oElem)
Gets angular threshold under which discontinuities (moving frame, tangency net on reference surface) will be smoothed when sweeping.
Parameters:
oElem
Numerical value.
o GetSmoothAngleThreshold
public virtual GetSmoothAngleThreshold( oElem)
Gets angular threshold under which discontinuities (moving frame, tangency net on reference surface) will be smoothed when sweeping.
Parameters:
oElem
Angular literal feature.
o GetSolutionNo
public virtual GetSolutionNo( oSolNo)
Gets the current solution number of the four possible solutions.
Parameters:
oSolNo
is the solution number.
o GetSpine
public virtual GetSpine( oElem)
Gets the spine.
Parameters:
oElem
Spine feature
o IsGuideProjected
public virtual IsGuideProjected( obProj)
Allows to know if the guide curve is projected onto the reference plane and used as spine, in pulling direction case only.
Parameters:
obProj
TRUE is projection is required, FALSE if not
o IsSketchAxisUsedAsDefault
public virtual IsSketchAxisUsedAsDefault( oBoolean)
Queries status wherere Sketch axis used as default or not.
In case of a sketch profile, specify if the 2D sketch axis must be used as default planar profile axis (for positioning purpose) or not.
Parameters:
oBoolean
TRUE if the 2D sketch axis must be used, FALSE if not.
o RemoveFittingPoints
public virtual RemoveFittingPoints()
Removes the fitting points.
o RemoveSecondFittingPoint
public virtual RemoveSecondFittingPoint()
Remove the second fitting point.
o SetAngle
public virtual SetAngle( const iElem,
const iI=1)
Sets the first reference surface angle.
Parameters:
iElem
Angle value
o SetAngle
public virtual SetAngle( const iElem,
const iI=1)
Sets the first reference surface angle.
Parameters:
iElem
Angle literal feature
See also:
o SetAngularLaw
public virtual SetAngularLaw( const Elem)
Sets angular law feature.
Parameters:
Elem
Angular law feature
See also:
o SetAngularLawInversion
public virtual SetAngularLawInversion( const iInversion)
Sets information whether reference angle law has to be inverted or not.
Parameters:
iInversion
TRUE or FALSE.
See also:
o SetAngularLawType
public virtual SetAngularLawType( const eType)
Sets the type of angular law used for reference angle.
Parameters:
eType
Angular law type:
- CATGSMBasicLawType_None or CATGSMBasicLawType_Constant for constant law (first angle value taken),
- CATGSMBasicLawType_Linear for linear law from first angle to second angle values,
- CATGSMBasicLawType_SType for S type law from first angle to second angle values,
- CATGSMBasicLawType_Advanced for a law specified by a law feature.
See also:
o SetCanonicalDetectionMode
public virtual SetCanonicalDetectionMode( iDetection= CATGSMNoDetection)
Sets information about detection of canonical surfaces of the output surface.
Parameters:
iDetection
If canonical surfaces are detected or not. Possible values are CATGSMNoDetection and CATGSMCanonicalDetection.
See also:
o SetContext
public virtual SetContext( const iContext)
Sets the context of the Sweep.
Parameters:
iContextType
CATGSMSurfaceCtxt to generate a surface, CATGSMVolumeCtxt (requires GSO License) to generate a volume
See also:
o SetFittingPoints
public virtual SetFittingPoints( const iElem1,
const iElem2)
Sets the fitting points.
Does not work with NULL_var values, Use RemoveFittingPoints() method instead.
Parameters:
iElem1
Fitting point associated to the first guide (must not be equal to NULL_var)
iElem2
Fitting point associated to the second guide (can be equal to NULL_var)
o SetGuide
public virtual SetGuide( const iElem)
Sets first guide curve.
Parameters:
iElem
First guide curve feature.
o SetGuide
public virtual SetGuide( const iElem,
const iI)
Sets a guide curve given its index.
Parameters:
iElem
Guide curve feature.
iI
Guide curve index : 1 or 2
o SetGuideDeviation
public virtual SetGuideDeviation( const iElem)
Sets deviation value (length) from guide curves allowed during sweeping operation in order to smooth it.
Parameters:
iElem
Numerical value.
o SetGuideDeviation
public virtual SetGuideDeviation( const iElem)
Sets deviation value (length) from guide curves allowed during sweeping operation in order to smooth it.
Parameters:
iElem
Length literal feature.
o SetGuideDeviationActivity
public virtual SetGuideDeviationActivity( const iActi)
Sets information whether a deviation from guide curves is allowed or not during sweeping operation in order to smooth it.
Parameters:
iSmooth
TRUE or FALSE.
o SetGuideProjection
public virtual SetGuideProjection( const ibProj)
Sets the projection of the guide curve onto the reference plane in order to use it as spine, in pulling direction case only. Sets the spine to NULL_var if TRUE.
Parameters:
ibProj
TRUE is projection is required, FALSE if not
o SetLongitudinalRelimiters
public virtual SetLongitudinalRelimiters( const iElem1,
const biInv1,
const iElem2,
const biInv2)
Sets the elements relimiting the spine (or the default spine).
Parameters:
iElem1
First relimiting feature (plane or point)
biInv1
Split direction for the first relimitation
FALSE means that the beginning of the spine (considering its orientation) is removed, TRUE means that the end of the spine is removed
iElem2
Second relimiting feature (plane or point)
biInv2
Split direction for the second relimitation
o SetMode
public virtual SetMode( const iElem)
Sets explicit sweep case number.
Parameters:
iElem
Case number
See also:
o SetPosAngle
public virtual SetPosAngle( const iElem,
const iI)
Sets the numerical positioning parameters corresponding to angles from the default positions of the X axes.
Parameters:
iElem
Numerical value
iI
Index of the parameter :
- 1 for direction angle in the initial plane,
- 2 for direction angle in the target plane.
o SetPosAngle
public virtual SetPosAngle( const iElem,
const iI)
Sets the numerical positioning parameters corresponding to angles from the default positions of the X axes.
Parameters:
iElem
Numerical parameter (literal feature)
iI
Index of the parameter :
- 1 for direction angle in the initial plane,
- 2 for direction angle in the target plane.
See also:
o SetPosCoord
public virtual SetPosCoord( const iElem,
const iI)
Sets the numerical positioning parameters corresponding to coordinates. of the new axes systems origins.
Parameters:
iElem
Numerical value
iI
Index of the parameter :
- 1 and 2 for origin coordinates in the initial plane,
- 3 and 4 for origin coordinates in the target plane.
o SetPosCoord
public virtual SetPosCoord( const iElem,
const iI)
Sets the numerical positioning parameters corresponding to coordinates. of the new axes systems origins.
Parameters:
iElem
Numerical parameter (literal feature)
iI
Index of the parameter :
- 1 and 2 for origin coordinates in the initial plane,
- 3 and 4 for origin coordinates in the target plane.
See also:
o SetPosDirection
public virtual SetPosDirection( const iElem)
Sets the positioning direction : initial plane X-axis direction.
Parameters:
iElem
Direction feature
See also:
o SetPosDirection
public virtual SetPosDirection( const iElem,
const iI)
Sets the positioning directions : initial or target plane X-axis direction.
Parameters:
iElem
Direction feature
iI
Plane index : 1 for initial one, 2 for target one
See also:
o SetPosMode
public virtual SetPosMode( const Elem)
Sets the positioning mode.
Parameters:
Elem
CATGSMPositionMode_ExplicitSweep if a positioning operation is operated, CATGSMPositionMode_NoneOrPositioned if not
See also:
o SetPosPoint
public virtual SetPosPoint( const iElem)
Sets the point designated as the origin of the initial plane.
Parameters:
iElem
Point feature
o SetPosPoint
public virtual SetPosPoint( const iElem,
const iI)
Sets the points designated as the origins of the initial and target transformation planes.
Parameters:
iElem
Point feature
iI
Plane index : 1 for initial one, 2 for target one
o SetPosSwapAxes
public virtual SetPosSwapAxes( const iII)
Sets the positioning parameter : initial plane axes inversion from previous definition.
Parameters:
iII
State of axes
See also:
o SetPosSwapAxes
public virtual SetPosSwapAxes( const iI,
const iIdx)
Modify the positioning parameters : axes inversion from previous definition for each transformation plane (initial and target).
Parameters:
iI
State of axes :
- CATGSMAxisInversionMode_None : no axis inverted
- CATGSMAxisInversionMode_X : only X axis inverted
- CATGSMAxisInversionMode_Y : only Y axis inverted
- CATGSMAxisInversionMode_Both : both axes inverted
iIdx
Plane index : 1 for initial one, 2 for target one
See also:
o SetPositionedProfile
public virtual SetPositionedProfile( iElem)
Sets the positioning transformation.
Parameters:
iElem
Positioning transformation feature
o SetProfile
public virtual SetProfile( const iElem)
Sets the original profile.
Parameters:
iElem
Original profile feature
o SetProfileXAxisComputationMode
public virtual SetProfileXAxisComputationMode( const iDirCompMode)
Sets the computation mode of the X axis (or direction) of the initial axis system. If CATGSMPositionDirCompMode_None or CATGSMPositionDirCompMode_Tangent is specified, a SetPosDirection(NULL_var, 1) is performed. Specifying CATGSMPositionDirCompMode_User is useless: if a direction has previously been specified, the mode has already been set.
Parameters:
iDirCompMode
Mode
See also:
o SetPullingDirection
public virtual SetPullingDirection( const iDir)
Sets the pulling direction. This input replaces the reference surface; indeed, if the direction is specified, the plane normal to this direction is taken as reference surface.
Parameters:
iDir
Pulling direction feature
See also:
o SetReference
public virtual SetReference( const iElem)
Sets the reference surface.
Parameters:
iElem
Reference surface feature
o SetSmoothActivity
public virtual SetSmoothActivity( const iSmooth)
Sets information whether sweeping operation is smoothed or not.
Parameters:
iSmooth
TRUE or FALSE.
o SetSmoothAngleThreshold
public virtual SetSmoothAngleThreshold( const iElem)
Sets angular threshold under which discontinuities (moving frame, tangency net on reference surface) will be smoothed when sweeping.
Parameters:
iElem
Numerical value.
o SetSmoothAngleThreshold
public virtual SetSmoothAngleThreshold( const iElem)
Sets angular threshold under which discontinuities (moving frame, tangency net on reference surface) will be smoothed when sweeping.
Parameters:
iElem
Angular literal feature.
o SetSolutionNo
public virtual SetSolutionNo( iSolNo)
Sets the current solution number of the four possible solutions.
Parameters:
iSolNo
is the solution number.
o SetSpine
public virtual SetSpine( const iElem)
Sets the spine.
Parameters:
iElem
Spine feature
o UseSketchAxisAsDefault
public virtual UseSketchAxisAsDefault( const iBoolean= TRUE)
Uses Sketch Axis As Default.
In case of a sketch profile, specify if the 2D sketch axis must be used as default planar profile axis (for positioning purpose) or not.
Parameters:
iBoolean
TRUE if the 2D sketch axis must be used, FALSE if not.

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

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