CATSketcherUseItf Interface CATISktUse2DConnectCurve

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


interface CATISktUse2DConnectCurve

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:


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 GetFirstContinuity( oContinuity)
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
public virtual GetFirstCurve( const iIID,
oCurve)
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 GetFirstOrientation( oOrientation)
Gets the first orientation.
Parameters:
oOrient
[out] Orientation of the first reference curve.
1
Same orientation
-1
Opposite orientation
o GetFirstPoint
public virtual GetFirstPoint( const iIID,
oPoint)
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 GetFirstTension( oTension)
Gets the first tension.
Parameters:
oTension
[out] Tension of the first reference curve.
Must be strictly greater than 0
o GetSecondContinuity
public virtual GetSecondContinuity( oContinuity)
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
public virtual GetSecondCurve( const iIID,
oCurve)
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 GetSecondOrientation( oOrientation)
Gets the second orientation.
Parameters:
oOrient
[out] Orientation of the second reference curve.
1
Same orientation
-1
Opposite orientation
o GetSecondPoint
public virtual GetSecondPoint( const iIID,
oPoint)
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 GetSecondTension( oTension)
Gets the second tension.
Parameters:
oTension
[out] Tension of the second reference curve.
Must be strictly greater than 0
o SetFirstContinuity
public virtual SetFirstContinuity( const iContinuity)
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
public virtual SetFirstCurve( iCurve)
Sets the first reference curve.
Parameters:
iCurve
[in] Pointer to the first reference curve.
o SetFirstOrientation
public virtual SetFirstOrientation( const iOrientation)
Sets the first orientation.
Parameters:
iOrientation
[in] Orientation of the first reference curve.
1
Same orientation
-1
Opposite orientation
o SetFirstPoint
public virtual SetFirstPoint( iPoint)
Sets the first reference point.
Parameters:
iPoint
[in] Pointer to the first reference point.
o SetFirstTension
public virtual SetFirstTension( const iTension)
Gets the first tension.
Parameters:
iTension
[in] Tension of the first reference curve.
Strictly greater than 0
o SetSecondContinuity
public virtual SetSecondContinuity( const iContinuity)
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
public virtual SetSecondCurve( iCurve)
Sets the second reference curve.
Parameters:
iCurve
[in] Pointer to the second reference curve.
o SetSecondOrientation
public virtual SetSecondOrientation( const iOrientation)
Sets the second orientation.
Parameters:
iOrientation
[in] Orientation of the second reference curve.
1
Same orientation
-1
Opposite orientation
o SetSecondPoint
public virtual SetSecondPoint( iPoint)
Sets the second reference point.
Parameters:
iPoint
[in] Pointer to the second reference point.
o SetSecondTension
public virtual SetSecondTension( const iTension)
Gets the first tension.
Parameters:
iTension
[in] Tension of the second reference curve.
Strictly greater than 0

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

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