All Frameworks Class Hierarchy This Framework Previous Next Indexes
GSMInterfaces Interface CATIGSMCurveSmooth
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATIGSMCurveSmooth
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIGSMCurveSmooth
Interface to curve smoothing operation feature.
Role: Allows you to access (query and modifications) data
of the curve smoothing operation.
- See also:
- CATIGSMFactory.CreateCurveSmooth
Method Index
- o
AddFrozenCurveSegment(CATISpecObject_var&)
- Adds a frozen curve segment.
- o
AddFrozenPoint(CATISpecObject_var&)
- Adds a frozen point.
- o
GetCorrectionMode(enum CATGSMCSCorrectionMode&)
- Gets the correction mode (threshold, point, tangency or curvature) applied to
the smoothed curve (default is threshold).
- o
GetCurvatureThreshold(CATICkeParm_var&)
- Gets the curvature deviation threshold literal feature.
- o
GetCurvatureThreshold(double&)
- Gets the curvature deviation threshold value.
- o
GetCurvatureThresholdActivity(boolean&)
- Gets the curvature deviation threshold activity (whether it is taken into
account or not).
- o
GetCurveToSmooth(CATISpecObject_var&)
- Gets the curve to smooth.
- o
GetEndExtremityContinuityCondition(enum CATGSMContinuity&)
- Gets the continuity condition (curvature, tangency or point) applied to
the smoothed curve with regard to the input curve (default is curvature)
at the end extremity of the input curve.
- o
GetFrozenCurveSegments(CATLISTV(CATISpecObject_var)&)
- Gets all frozen curve segments.
- o
GetFrozenPoints(CATLISTV(CATISpecObject_var)&)
- Gets all frozen points.
- o
GetMaximumDeviation(CATICkeParm_var&)
- Gets the maximum deviation allowed for smoothing operation.
- o
GetMaximumDeviation(double&)
- Sets the maximum deviation allowed for smoothing operation.
- o
GetMaximumDeviationActivity(boolean&)
- Gets the maximum deviation activity (whether it is taken into
account or not).
- o
GetStartExtremityContinuityCondition(enum CATGSMContinuity&)
- Gets the continuity condition (curvature, tangency or point) applied to
the smoothed curve with regard to the input curve (default is curvature)
at the start extremity of the input curve.
- o
GetSupport(CATISpecObject_var&)
- Gets optional curve support surface.
- o
GetTangencyThreshold(CATICkeParm_var&)
- Gets the tangency deviation threshold literal feature.
- o
GetTangencyThreshold(double&)
- Gets the tangency deviation threshold value.
- o
GetTopologySimplificationActivity(boolean&)
- Gets the topology simplification activity (whether continuous vertices
are erased or not).
- o
RemoveAllFrozenCurveSegments()
- Removes all frozen curve segments.
- o
RemoveAllFrozenPoints()
- Removes all frozen points.
- o
RemoveFrozenCurveSegment(CATISpecObject_var&)
- Removes a frozen curve segment.
- o
RemoveFrozenPoint(CATISpecObject_var&)
- Removes a frozen point.
- o
SetCorrectionMode(enum CATGSMCSCorrectionMode)
- Sets the correction mode (threshold, point, tangency or curvature) applied to
the smoothed curve (default is threshold).
- o
SetCurvatureThreshold(CATICkeParm_var)
- Sets the curvature deviation threshold literal feature.
- o
SetCurvatureThreshold(double)
- Sets the curvature deviation threshold value.
- o
SetCurvatureThresholdActivity(boolean)
- Sets the curvature deviation threshold activity (whether it is taken into
account or not).
- o
SetCurveToSmooth(CATISpecObject_var)
- Sets the curve to smooth.
- o
SetEndExtremityContinuityCondition(enum CATGSMContinuity)
- Sets the continuity condition (curvature, tangency or point) applied to
the smoothed curve with regard to the input curve (default is curvature)
at the end extremity of the input curve.
- o
SetMaximumDeviation(CATICkeParm_var)
- Gets the maximum deviation allowed for smoothing operation.
- o
SetMaximumDeviation(double)
- Sets the maximum deviation allowed for smoothing operation.
- o
SetMaximumDeviationActivity(boolean)
- Sets the maximum deviation activity (whether it is taken into
account or not).
- o
SetStartExtremityContinuityCondition(enum CATGSMContinuity)
- Sets the continuity condition (curvature, tangency or point) applied to
the smoothed curve with regard to the input curve (default is curvature)
at the start extremity of the input curve.
- o
SetSupport(CATISpecObject_var)
- Sets optional curve support surface.
- o
SetTangencyThreshold(CATICkeParm_var)
- Sets the tangency deviation threshold literal feature.
- o
SetTangencyThreshold(double)
- Sets the tangency deviation threshold value.
- o
SetTopologySimplificationActivity(boolean)
- Activates or deactivates topology simplification (whether continuous
vertices are erased or not).
Methods
o AddFrozenCurveSegment
| public virtual HRESULT AddFrozenCurveSegment( | const CATISpecObject_var& | iElem) = 0 |
-
Adds a frozen curve segment.
- Parameters:
-
- iElem
- Frozen curve segment
o AddFrozenPoint
| public virtual HRESULT AddFrozenPoint( | const CATISpecObject_var& | iElem) = 0 |
-
Adds a frozen point.
- Parameters:
-
- iElem
- Frozen point
o GetCorrectionMode
| public virtual HRESULT GetCorrectionMode( | enum CATGSMCSCorrectionMode& | oCorrectionMode) = 0 |
-
Gets the correction mode (threshold, point, tangency or curvature) applied to
the smoothed curve (default is threshold).
- Parameters:
-
- oCorrectionMode
- Output continuity condition (CATGSMCSCorrectionMode_Threshold, CATGSMCSCorrectionMode_Point, CATGSMCSCorrectionMode_Tangency or CATGSMCSCorrectionMode_Curvature)
o GetCurvatureThreshold
| public virtual HRESULT GetCurvatureThreshold( | CATICkeParm_var& | Elem) = 0 |
-
Gets the curvature deviation threshold literal feature.
This threshold is a ratio between 0 and 1
if sets to 0, all curvature discontinuities are smoothed.
if sets to 1, no curvature discontinuity is smoothed.
- Parameters:
-
- Elem
- Tangency deviation threshold literal feature
o GetCurvatureThreshold
| public virtual HRESULT GetCurvatureThreshold( | double& | val) = 0 |
-
Gets the curvature deviation threshold value.
This threshold is a ratio between 0 and 1.
if sets to 0, all curvature discontinuities are smoothed.
if sets to 1, no curvature discontinuity is smoothed.
- Parameters:
-
- val
- Tangency deviation threshold value
o GetCurvatureThresholdActivity
| public virtual HRESULT GetCurvatureThresholdActivity( | boolean& | bAct) = 0 |
-
Gets the curvature deviation threshold activity (whether it is taken into
account or not).
This activity is a boolean (TRUE or FALSE).
- Parameters:
-
- bAct
- Curvature deviation threshold activity
o GetCurveToSmooth
| public virtual HRESULT GetCurveToSmooth( | CATISpecObject_var& | oElem) = 0 |
-
Gets the curve to smooth.
- Parameters:
-
- oElem
- Curve feature
o GetEndExtremityContinuityCondition
| public virtual HRESULT GetEndExtremityContinuityCondition( | enum CATGSMContinuity& | oEndCond) = 0 |
-
Gets the continuity condition (curvature, tangency or point) applied to
the smoothed curve with regard to the input curve (default is curvature)
at the end extremity of the input curve.
- Parameters:
-
- oEndCond
- Output continuity condition (CATGSMContinuity_Point, CATGSMContinuity_Tangency or CATGSMContinuity_Curvature)
o GetFrozenCurveSegments
-
Gets all frozen curve segments.
- Parameters:
-
- oElems
- List of the frozen curve segments
o GetFrozenPoints
-
Gets all frozen points.
- Parameters:
-
- oElems
- List of the frozen points
o GetMaximumDeviation
| public virtual HRESULT GetMaximumDeviation( | CATICkeParm_var& | Elem) = 0 |
-
Gets 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 GetMaximumDeviation
| public virtual HRESULT GetMaximumDeviation( | double& | val) = 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
Note: value is expressed in MKS = Meters
Example to set up 1mm , use .001
o GetMaximumDeviationActivity
| public virtual HRESULT GetMaximumDeviationActivity( | boolean& | bAct) = 0 |
-
Gets the maximum deviation activity (whether it is taken into
account or not).
This activity is a boolean (TRUE or FALSE).
- Parameters:
-
- bAct
- Maximum deviation activity
o GetStartExtremityContinuityCondition
| public virtual HRESULT GetStartExtremityContinuityCondition( | enum CATGSMContinuity& | oStartCond) = 0 |
-
Gets the continuity condition (curvature, tangency or point) applied to
the smoothed curve with regard to the input curve (default is curvature)
at the start extremity of the input curve.
- Parameters:
-
- oStartCond
- Output continuity condition (CATGSMContinuity_Point, CATGSMContinuity_Tangency or CATGSMContinuity_Curvature)
o GetSupport
| public virtual HRESULT GetSupport( | CATISpecObject_var& | oElem) = 0 |
-
Gets optional curve support surface.
- Parameters:
-
- oElem
- Support surface feature
o GetTangencyThreshold
| public virtual HRESULT GetTangencyThreshold( | CATICkeParm_var& | Elem) = 0 |
-
Gets the tangency deviation threshold literal feature.
This threshold is to be compared with the angle of both
tangency lines at the discontinuity.
Over this threshold, tangency discontinuities won't be smoothed.
- Parameters:
-
- Elem
- Tangency deviation threshold literal feature
o GetTangencyThreshold
| public virtual HRESULT GetTangencyThreshold( | double& | val) = 0 |
-
Gets the tangency deviation threshold value.
This threshold is to be compared with the angle of both
tangency lines at the discontinuity.
Over this threshold, tangency discontinuities won't be smoothed.
- Parameters:
-
- val
- Tangency deviation threshold value
o GetTopologySimplificationActivity
| public virtual HRESULT GetTopologySimplificationActivity( | boolean& | bAct) = 0 |
-
Gets the topology simplification activity (whether continuous vertices
are erased or not).
This activity is a boolean (TRUE or FALSE).
- Parameters:
-
- bAct
- Topology simplification activity
o RemoveAllFrozenCurveSegments
| public virtual HRESULT RemoveAllFrozenCurveSegments( | )= 0 |
-
Removes all frozen curve segments.
o RemoveAllFrozenPoints
| public virtual HRESULT RemoveAllFrozenPoints( | )= 0 |
-
Removes all frozen points.
o RemoveFrozenCurveSegment
| public virtual HRESULT RemoveFrozenCurveSegment( | const CATISpecObject_var& | iElem) = 0 |
-
Removes a frozen curve segment.
- Parameters:
-
- iElem
- Frozen curve segment to be removed
o RemoveFrozenPoint
| public virtual HRESULT RemoveFrozenPoint( | const CATISpecObject_var& | iElem) = 0 |
-
Removes a frozen point.
- Parameters:
-
- iElem
- Frozen point to be removed
o SetCorrectionMode
| public virtual HRESULT SetCorrectionMode( | const enum CATGSMCSCorrectionMode | iCorrectionMode) = 0 |
-
Sets the correction mode (threshold, point, tangency or curvature) applied to
the smoothed curve (default is threshold).
- Parameters:
-
- oCorrectionMode
- Input continuity condition (CATGSMCSCorrectionMode_Threshold, CATGSMCSCorrectionMode_Point, CATGSMCSCorrectionMode_Tangency or CATGSMCSCorrectionMode_Curvature)
o SetCurvatureThreshold
-
Sets the curvature deviation threshold literal feature.
This threshold is a ratio between 0 and 1.
if sets to 0, all curvature discontinuities are smoothed.
if sets to 1, no curvature discontinuity is smoothed.
- Parameters:
-
- Elem
- Tangency deviation threshold literal feature
o SetCurvatureThreshold
| public virtual HRESULT SetCurvatureThreshold( | const double | val) = 0 |
-
Sets the curvature deviation threshold value.
This threshold is a ratio between 0 and 1
if sets to 0, all curvature discontinuities are smoothed
if sets to 1, no curvature discontinuity is smoothed.
- Parameters:
-
- val
- Tangency deviation threshold value
o SetCurvatureThresholdActivity
| public virtual HRESULT SetCurvatureThresholdActivity( | const boolean | bAct) = 0 |
-
Sets the curvature deviation threshold activity (whether it is taken into
account or not).
This activity is a boolean (TRUE or FALSE).
- Parameters:
-
- bAct
- Curvature deviation threshold activity
o SetCurveToSmooth
-
Sets the curve to smooth.
- Parameters:
-
- iElem
- Curve feature
o SetEndExtremityContinuityCondition
| public virtual HRESULT SetEndExtremityContinuityCondition( | const enum CATGSMContinuity | iEndCond) = 0 |
-
Sets the continuity condition (curvature, tangency or point) applied to
the smoothed curve with regard to the input curve (default is curvature)
at the end extremity of the input curve.
- Parameters:
-
- iEndCond
- Input continuity condition (CATGSMContinuity_Point, CATGSMContinuity_Tangency or CATGSMContinuity_Curvature)
o SetMaximumDeviation
-
Gets 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 SetMaximumDeviation
| public virtual HRESULT SetMaximumDeviation( | const double | val) = 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
Note: value is expressed in MKS = Meters
Example to set up 1mm , use .001
o SetMaximumDeviationActivity
| public virtual HRESULT SetMaximumDeviationActivity( | const boolean | bAct) = 0 |
-
Sets the maximum deviation activity (whether it is taken into
account or not).
This activity is a boolean (TRUE or FALSE).
- Parameters:
-
- bAct
- Maximum deviation activity
o SetStartExtremityContinuityCondition
| public virtual HRESULT SetStartExtremityContinuityCondition( | const enum CATGSMContinuity | iStartCond) = 0 |
-
Sets the continuity condition (curvature, tangency or point) applied to
the smoothed curve with regard to the input curve (default is curvature)
at the start extremity of the input curve.
- Parameters:
-
- iStartCond
- Input continuity condition (CATGSMContinuity_Point, CATGSMContinuity_Tangency or CATGSMContinuity_Curvature)
o SetSupport
-
Sets optional curve support surface.
- Parameters:
-
- iElem
- Support surface feature
o SetTangencyThreshold
-
Sets the tangency deviation threshold literal feature.
This threshold is
to be compared with the angle of both tangency lines at the discontinuity.
Over this threshold, tangency discontinuities won't be smoothed.
- Parameters:
-
- Elem
- Tangency deviation threshold literal feature
o SetTangencyThreshold
| public virtual HRESULT SetTangencyThreshold( | const double | val) = 0 |
-
Sets the tangency deviation threshold value.
This threshold is
to be compared with the angle of both tangency lines at the discontinuity.
Over this threshold, tangency discontinuities won't be smoothed.
- Parameters:
-
- val
- Tangency deviation threshold value
o SetTopologySimplificationActivity
| public virtual HRESULT SetTopologySimplificationActivity( | const boolean | bAct) = 0 |
-
Activates or deactivates topology simplification (whether continuous
vertices are erased or not).
This activity is a boolean (TRUE or FALSE).
- Parameters:
-
- bAct
- Topology simplification activity
This object is included in the file: CATIGSMCurveSmooth.h
If needed, your Imakefile.mk should include the module: CATGitInterfaces