All Frameworks Class Hierarchy This Framework Previous Next Indexes
SketcherInterfaces Interface CATI2DConnectCurve
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATI2DConnectCurve
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATI2DConnectCurve
Interface to 2D connect curve feature.
Role: Allows you to access data of the Connect Curve feature created by using
two curves, two points, orientations, continuity, tension options
Get, set the Connect definition elements
- See also:
- CATI2DWFFactory.CreateConnectCurve
Method Index
- o
GetFirstContinuity(int*)
- Gets the first continuity.
- o
GetFirstCurve(IID&,CATBaseUnknown**)
- Gets the first reference curve.
- o
GetFirstOrientation(int*)
- Gets the first orientation.
- o
GetFirstPoint(IID&,CATBaseUnknown**)
- Gets the first reference point.
- o
GetFirstTension(double*)
- Gets the first tension.
- o
GetSecondContinuity(int*)
- Gets the second continuity.
- o
GetSecondCurve(IID&,CATBaseUnknown**)
- Gets the second reference curve.
- o
GetSecondOrientation(int*)
- Gets the second orientation.
- o
GetSecondPoint(IID&,CATBaseUnknown**)
- Gets the second reference point.
- o
GetSecondTension(double*)
- Gets the second tension.
- o
SetFirstContinuity(int)
- Sets the first continuity.
- o
SetFirstCurve(CATBaseUnknown*)
- Sets the first reference curve.
- o
SetFirstOrientation(int)
- Sets the first orientation.
- o
SetFirstPoint(CATBaseUnknown*)
- Sets the first reference point.
- o
SetFirstTension(double)
- Gets the first tension.
- o
SetSecondContinuity(int)
- Sets the second continuity.
- o
SetSecondCurve(CATBaseUnknown*)
- Sets the second reference curve.
- o
SetSecondOrientation(int)
- Sets the second orientation.
- o
SetSecondPoint(CATBaseUnknown*)
- Sets the second reference point.
- o
SetSecondTension(double)
- Gets the first tension.
Methods
o GetFirstContinuity
public virtual HRESULT GetFirstContinuity( | int* | oContinuity) = 0 |
-
Gets the first continuity.
- Parameters:
-
- oContinuity
- [out] Continuity of the first reference curve.
- 0
- Continuity in point
- 1
- Continuity in tangency
- 2
- Continuity in curvature
o GetFirstCurve
-
Gets the first reference curve.
- Parameters:
-
- iIID
- [in] Interface identifier for which a pointer is requested.
- oCurve
- [out] Pointer to the first reference curve.
o GetFirstOrientation
public virtual HRESULT GetFirstOrientation( | int* | oOrientation) = 0 |
-
Gets the first orientation.
- Parameters:
-
- oOrient
- [out] Orientation of the first reference curve.
- 1
- Same orientation
- -1
- Opposite orientation
o GetFirstPoint
-
Gets the first reference point.
- Parameters:
-
- iIID
- [in] Interface identifier for which a pointer is requested.
- oPoint
- [out] Pointer to the first reference point.
o GetFirstTension
public virtual HRESULT GetFirstTension( | double* | oTension) = 0 |
-
Gets the first tension.
- Parameters:
-
- oTension
- [out] Tension of the first reference curve.
Must be strictly greater than 0
o GetSecondContinuity
public virtual HRESULT GetSecondContinuity( | int* | oContinuity) = 0 |
-
Gets the second continuity.
- Parameters:
-
- oContinuity
- [out] Continuity of the second reference curve.
- 0
- Continuity in point
- 1
- Continuity in tangency
- 2
- Continuity in curvature
o GetSecondCurve
-
Gets the second reference curve.
- Parameters:
-
- iIID
- [in] Interface identifier for which a pointer is requested.
- oCurve
- [out] Pointer to the second reference curve.
o GetSecondOrientation
public virtual HRESULT GetSecondOrientation( | int* | oOrientation) = 0 |
-
Gets the second orientation.
- Parameters:
-
- oOrient
- [out] Orientation of the second reference curve.
- 1
- Same orientation
- -1
- Opposite orientation
o GetSecondPoint
-
Gets the second reference point.
- Parameters:
-
- iIID
- [in] Interface identifier for which a pointer is requested.
- oPoint
- [out] Pointer to the second reference point.
o GetSecondTension
public virtual HRESULT GetSecondTension( | double* | oTension) = 0 |
-
Gets the second tension.
- Parameters:
-
- oTension
- [out] Tension of the second reference curve.
Must be strictly greater than 0
o SetFirstContinuity
public virtual HRESULT SetFirstContinuity( | const int | iContinuity) = 0 |
-
Sets the first continuity.
- Parameters:
-
- iContinuity
- [in] Continuity of the first reference curve.
- 0
- Continuity in point
- 1
- Continuity in tangency
- 2
- Continuity in curvature
o SetFirstCurve
-
Sets the first reference curve.
- Parameters:
-
- iCurve
- [in] Pointer to the first reference curve.
o SetFirstOrientation
public virtual HRESULT SetFirstOrientation( | const int | iOrientation) = 0 |
-
Sets the first orientation.
- Parameters:
-
- iOrientation
- [in] Orientation of the first reference curve.
- 1
- Same orientation
- -1
- Opposite orientation
o SetFirstPoint
-
Sets the first reference point.
- Parameters:
-
- iPoint
- [in] Pointer to the first reference point.
o SetFirstTension
public virtual HRESULT SetFirstTension( | const double | iTension) = 0 |
-
Gets the first tension.
- Parameters:
-
- iTension
- [in] Tension of the first reference curve.
Strictly greater than 0
o SetSecondContinuity
public virtual HRESULT SetSecondContinuity( | const int | iContinuity) = 0 |
-
Sets the second continuity.
- Parameters:
-
- iContinuity
- [in] Continuity of the second reference curve.
- 0
- Continuity in point
- 1
- Continuity in tangency
- 2
- Continuity in curvature
o SetSecondCurve
-
Sets the second reference curve.
- Parameters:
-
- iCurve
- [in] Pointer to the second reference curve.
o SetSecondOrientation
public virtual HRESULT SetSecondOrientation( | const int | iOrientation) = 0 |
-
Sets the second orientation.
- Parameters:
-
- iOrientation
- [in] Orientation of the second reference curve.
- 1
- Same orientation
- -1
- Opposite orientation
o SetSecondPoint
-
Sets the second reference point.
- Parameters:
-
- iPoint
- [in] Pointer to the second reference point.
o SetSecondTension
public virtual HRESULT SetSecondTension( | const double | iTension) = 0 |
-
Gets the first tension.
- Parameters:
-
- iTension
- [in] Tension of the second reference curve.
Strictly greater than 0
This object is included in the file: CATI2DConnectCurve.h
If needed, your Imakefile.mk should include the module: CATSketcherInterfaces