All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

GSMInterfaces Interface CATIGSMCircleBitangentRadius

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIGSMCircleBitangentRadius
 

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


interface CATIGSMCircleBitangentRadius

Interface to circle tangent to two curves feature.
Role: Allows you to access data of the circle feature created to be tangent to 2 curves with a given radius, with respect to a support surface. The curves can be degenerated into points.

See also:
CATIGSMFactory.CreateCircle


Method Index


o GetBeginOfCircle(int&)
Gets the number of the beginning curve of the circle.
o GetDiameter(CATICkeParm_var&)
Gets the diameter of the circle.
o GetDiameterMode(CATBoolean&)
Gets DiameterMode.
o GetDiscriminationIndex(int&)
Get the Index of the solution.
o GetFirstCurve(CATISpecObject_var&)
Gets the first element to which the circle will be tangent.
o GetFirstOrientation(CATGSMOrientation&)
Gets the first curve orientation for circle computation.
o GetFirstTangentOrientation(CATGSMOrientation&)
Gets the first tangent curve orientation for circle computation.
o GetPlaneNormal(CATMathVector&)
Get the Normal of the plane created when the Support of the curve is not specified.
o GetRadius(CATICkeParm_var&)
Gets the radius of the circle.
o GetSecondCurve(CATISpecObject_var&)
Gets the second element to which the circle will be tangent.
o GetSecondOrientation(CATGSMOrientation&)
Gets the second curve orientation for circle computation.
o GetSecondTangentOrientation(CATGSMOrientation&)
Gets the second tangent curve orientation for circle computation.
o GetSupport(CATISpecObject_var&)
Gets the support surface.
o GetTrimMode(CATGSMCornerTrimMode&)
Queries whether reference curves are trimmed or not.
o InvertFirstOrientation()
Inverts the first curve orientation for circle computation.
o InvertSecondOrientation()
Inverts the second curve orientation for circle computation.
o SetBeginOfCircle(int)
Sets the number of the beginning curve of the circle.
o SetDiameter(CATICkeParm_var)
Sets DiameterMode to TRUE and then sets the diameter.
o SetDiameterMode(CATBoolean)
Sets DiameterMode.
o SetDiscriminationIndex(int)
Set the Index of the solution.
o SetFirstCurve(CATISpecObject_var)
Sets the first element to which the circle will be tangent.
o SetFirstOrientation(CATGSMOrientation)
Sets the first curve orientation for circle computation.
o SetFirstTangentOrientation(CATGSMOrientation)
Sets the first tangent curve orientation for circle computation.
o SetPlaneNormal(CATMathVector&)
Set the Normal of the plane created when the Support of the curve is not specified.
o SetRadius(CATICkeParm_var)
Sets DiameterMode to FALSE and then sets the radius.
o SetSecondCurve(CATISpecObject_var)
Sets the second element to which the circle will be tangent.
o SetSecondOrientation(CATGSMOrientation)
Sets the second curve orientation for circle computation.
o SetSecondTangentOrientation(CATGSMOrientation)
Sets the second tangent curve orientation for circle computation.
o SetSupport(CATISpecObject_var)
Sets the support surface.
o SetTrimMode(CATGSMCornerTrimMode)
Sets the trim mode of the reference curves.

Methods


o GetBeginOfCircle
public virtual HRESULT GetBeginOfCircle(int& NumWire) = 0
Gets the number of the beginning curve of the circle.
This parameter is used to stabilize the resulting circle
o GetDiameter
public virtual HRESULT GetDiameter(CATICkeParm_var& ohDiameter) = 0
Gets the diameter of the circle.
Note: Succeeds only if DiameterMode is set to TRUE
Parameters:
ohDiameter
diameter
o GetDiameterMode
public virtual HRESULT GetDiameterMode(CATBoolean& oDiameterMode) = 0
Gets DiameterMode. DiameterMode = FALSE implies radius (default),
Note: DiameterMode = TRUE implies diameter
Parameters:
oDiameterMode
Diameter Mode
o GetDiscriminationIndex
public virtual HRESULT GetDiscriminationIndex(int& oIndexSol) = 0
Get the Index of the solution.
Several resulting solutions produced by the operator can be same oriented regarding to the input wire bodies. In such a case, they are sorted in order to distinguish them.
The Sequence FirstOrientation - SecondOrientation - IndexSol allows you to identifie a unique one-domain solution.
Parameters:
oIndexSol
int oIndexSol
o GetFirstCurve
public virtual HRESULT GetFirstCurve(CATISpecObject_var& oFirstElem) = 0
Gets the first element to which the circle will be tangent.
Parameters:
oFirstElem
first element : a curve or a point
o GetFirstOrientation
public virtual HRESULT GetFirstOrientation(CATGSMOrientation& oFirstOrient) = 0
Gets the first curve orientation for circle computation.
Parameters:
oFirstOrient
first orientation
o GetFirstTangentOrientation
public virtual HRESULT GetFirstTangentOrientation(CATGSMOrientation& oFirstOrient) = 0
Gets the first tangent curve orientation for circle computation.
Parameters:
oFirstOrient
first orientation
o GetPlaneNormal
public virtual HRESULT GetPlaneNormal(CATMathVector& oNormal) = 0
Get the Normal of the plane created when the Support of the curve is not specified.
Parameters:
oNormal
CATMathVector
o GetRadius
public virtual HRESULT GetRadius(CATICkeParm_var& oRadius) = 0
Gets the radius of the circle.
Note: Succeeds only if DiameterMode is set to FALSE
Parameters:
oRadius
radius
o GetSecondCurve
public virtual HRESULT GetSecondCurve(CATISpecObject_var& oSecondElem) = 0
Gets the second element to which the circle will be tangent.
Parameters:
oSecondElem
second element : a curve or a point
o GetSecondOrientation
public virtual HRESULT GetSecondOrientation(CATGSMOrientation& oSecondOrient) = 0
Gets the second curve orientation for circle computation.
Parameters:
oSecondOrient
second orientation
o GetSecondTangentOrientation
public virtual HRESULT GetSecondTangentOrientation(CATGSMOrientation& oSecondOrient) = 0
Gets the second tangent curve orientation for circle computation.
Parameters:
oSecontOrient
second orientation
o GetSupport
public virtual HRESULT GetSupport(CATISpecObject_var& oSupport) = 0
Gets the support surface.
Parameters:
oSupport
support
o GetTrimMode
public virtual HRESULT GetTrimMode(CATGSMCornerTrimMode& oTrimMode)= 0
Queries whether reference curves are trimmed or not.
Parameters:
oTrimMode
See also:
CATGSMCornerTrimMode
o InvertFirstOrientation
public virtual HRESULT InvertFirstOrientation()= 0
Inverts the first curve orientation for circle computation.
o InvertSecondOrientation
public virtual HRESULT InvertSecondOrientation()= 0
Inverts the second curve orientation for circle computation.
o SetBeginOfCircle
public virtual HRESULT SetBeginOfCircle(int NumWire) = 0
Sets the number of the beginning curve of the circle.
This parameter is used to stabilize the resulting circle
o SetDiameter
public virtual HRESULT SetDiameter( const CATICkeParm_var ihDiameter) = 0
Sets DiameterMode to TRUE and then sets the diameter.
Parameters:
ihDiameter
diameter
o SetDiameterMode
public virtual HRESULT SetDiameterMode( const CATBoolean iDiameterMode) = 0
Sets DiameterMode.
DiameterMode = FALSE implies radius (default),
DiameterMode = TRUE implies diameter.
Note: When DiameterMode is changed, Radius/Diameter value which is stored will not be modified.
Parameters:
iDiameterMode
Diameter Mode
o SetDiscriminationIndex
public virtual HRESULT SetDiscriminationIndex(int iIndexSol) = 0
Set the Index of the solution. Several resulting solutions produced by the operator can be same oriented regarding to the input wire bodies. In such a case, they are sorted in order to distinguish them.
The Sequence FirstOrientation - SecondOrientation - IndexSol allows you to identifie a unique one-domain solution.
Parameters:
iIndexSol
int iIndexSol
o SetFirstCurve
public virtual HRESULT SetFirstCurve( const CATISpecObject_var iFirstElem) = 0
Sets the first element to which the circle will be tangent.
Parameters:
iFirstElem
first element : a curve or a point
o SetFirstOrientation
public virtual HRESULT SetFirstOrientation( const CATGSMOrientation iFirstOrient) = 0
Sets the first curve orientation for circle computation.
Parameters:
iFirstOrient
first orientation
o SetFirstTangentOrientation
public virtual HRESULT SetFirstTangentOrientation( const CATGSMOrientation iFirstOrient) = 0
Sets the first tangent curve orientation for circle computation.
Parameters:
iFirstOrient
first orientation
o SetPlaneNormal
public virtual HRESULT SetPlaneNormal( const CATMathVector& iNormal) = 0
Set the Normal of the plane created when the Support of the curve is not specified.
Parameters:
iNormal
CATMathVector
o SetRadius
public virtual HRESULT SetRadius( const CATICkeParm_var iRadius) = 0
Sets DiameterMode to FALSE and then sets the radius.
Parameters:
iRadius
radius
o SetSecondCurve
public virtual HRESULT SetSecondCurve( const CATISpecObject_var iSecondElem) = 0
Sets the second element to which the circle will be tangent.
Parameters:
iSecondElem
second element : a curve or a point
o SetSecondOrientation
public virtual HRESULT SetSecondOrientation( const CATGSMOrientation iSecondOrient) = 0
Sets the second curve orientation for circle computation.
Parameters:
iSecondOrient
second orientation
o SetSecondTangentOrientation
public virtual HRESULT SetSecondTangentOrientation( const CATGSMOrientation iSecondOrient) = 0
Sets the second tangent curve orientation for circle computation.
Parameters:
iSecondOrient
second orientation
o SetSupport
public virtual HRESULT SetSupport( const CATISpecObject_var iSupport) = 0
Sets the support surface.
Parameters:
iSupport
support
o SetTrimMode
public virtual HRESULT SetTrimMode(CATGSMCornerTrimMode iTrimMode) = 0
Sets the trim mode of the reference curves.
Parameters:
iTrimMode
See also:
CATGSMCornerTrimMode

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

Copyright © 2003, Dassault Systèmes. All rights reserved.