All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

GSMInterfaces Interface CATIGSMCorner

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

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


interface CATIGSMCorner

Corner feature.
Role: Allows to access data of the Corner feature created by using two elements, their orientation (same or inverse than the underlying curve), a support (only for Corner On Support), and a radius

See also:
CATIGSMFactory.CreateCorner
See also:
CATIGSMFactory.Create3DCorner


Method Index


o GetBeginOfCorner(int&)
Gets the number of the beginning curve of the corner.
o GetCornerType(enum CATGSMCornerType&)
Gets the Corner type .
o GetDiscriminationIndex(int&)
Gets the Index of the solution.
o GetFirstElem(CATISpecObject_var&)
Gets the first reference element (a curve or a point).
o GetFirstOrientation(CATGSMOrientation&)
Gets the first reference element orientation used to compute the corner.
o GetFirstTangentOrientation(CATGSMOrientation&)
Gets the first tangent curve orientation for circle computation.
o GetNbRemainingSharpVertices(int&)
Gets the number of remaining sharp vertices in case of corner on vertices of a curve.
o GetOnVertex(CATBoolean&)
Sets the on vertex creation mode.
o GetRadius(CATICkeParm_var&)
Gets the radius of the corner.
o GetRadius(double&)
Gets the radius of the corner.
o GetSecondElem(CATISpecObject_var&)
Gets the second reference element (a curve).
o GetSecondOrientation(CATGSMOrientation&)
Gets the second reference element orientation used to compute the corner.
o GetSecondTangentOrientation(CATGSMOrientation&)
Gets the second tangent curve orientation for circle computation.
o GetSupport(CATISpecObject_var&)
Gets the support of the corner (a plane or a surface).
o GetTrim(CATBoolean&)
Queries whether references curves are trimmed or not.
o GetTrimMode(CATGSMCornerTrimMode&)
Queries whether references curves are trimmed or not.
o InvertFirstOrientation()
Inverts the first reference element orientation used to compute the corner.
o InvertSecondOrientation()
Inverts the second reference element orientation used to compute the corner.
o SetBeginOfCorner(int)
Sets the number of the beginning curve of the corner.
o SetCornerType(enum CATGSMCornerType)
Sets the Corner type .
o SetDiscriminationIndex(int)
Sets the Index of the solution.
o SetFirstElem(CATISpecObject_var)
Sets the first reference element (a curve or a point).
o SetFirstOrientation(CATGSMOrientation)
Sets the first reference element orientation used to compute the corner.
o SetFirstTangentOrientation(CATGSMOrientation)
Sets the first tangent curve orientation for circle computation.
o SetNbRemainingSharpVertices(int)
Sets the number of remaining sharp vertices in case of corner on vertices of a curve.
o SetOnVertex(CATBoolean)
Gets the creation mode : on vertex or not.
o SetRadius(CATICkeParm_var)
Sets the radius of the corner.
o SetRadius(double)
Sets the radius of the corner.
o SetSecondElem(CATISpecObject_var)
Sets the second reference element (a curve).
o SetSecondOrientation(CATGSMOrientation)
Sets the second reference element orientation used to compute the corner.
o SetSecondTangentOrientation(CATGSMOrientation)
Sets the second tangent curve orientation for circle computation.
o SetSupport(CATISpecObject_var)
Sets the support of the corner (a plane or a surface).
o SetTrim(CATBoolean)
Sets or unsets the trim option of the references curves.
o SetTrimMode(CATGSMCornerTrimMode)
Sets the trim mode of the references curves.

Methods


o GetBeginOfCorner
public virtual HRESULT GetBeginOfCorner(int& NumWire) = 0
Gets the number of the beginning curve of the corner.
This parameter is used to stabilize the resulting corner
o GetCornerType
public virtual HRESULT GetCornerType(enum CATGSMCornerType& oCornerType) = 0
Gets the Corner type .
Parameters:
oCornerType
CATGSMCornerOnSupport = 0 : Corner On Support CATGSM3DCorner = 1 : 3D Corner ( == DO NOT USED == )
See also:
CATGSMCornerType
o GetDiscriminationIndex
public virtual HRESULT GetDiscriminationIndex(int& oIndexSol) = 0
Gets 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 GetFirstElem
public virtual HRESULT GetFirstElem(CATISpecObject_var& oElem)= 0
Gets the first reference element (a curve or a point).
Parameters:
oElem
first reference element
See also:
CATISpecObject
o GetFirstOrientation
public virtual HRESULT GetFirstOrientation(CATGSMOrientation& oOrientation)= 0
Gets the first reference element orientation used to compute the corner. Orientation specifies corner center position Orientation is same or inverse than the result of the cross product: Normal(support) ^ Tangent(FirstReferenceCurve)
Parameters:
oOrientation
first orientation
See also:
CATGSMOrientation
o GetFirstTangentOrientation
public virtual HRESULT GetFirstTangentOrientation(CATGSMOrientation& oFirstOrient) = 0
Gets the first tangent curve orientation for circle computation.
Parameters:
oFirstOrient
first orientation
o GetNbRemainingSharpVertices
public virtual HRESULT GetNbRemainingSharpVertices(int& oNbSharpVertices) = 0
Gets the number of remaining sharp vertices in case of corner on vertices of a curve.
Parameters:
oNbSharpVertices
The number of remaining sharp vertices
o GetOnVertex
public virtual HRESULT GetOnVertex(CATBoolean& oOnVertex)= 0
Sets the on vertex creation mode.
Parameters:
oOnVertex
Mode creation mode on vertex (TRUE or FALSE)
o GetRadius
public virtual HRESULT GetRadius(CATICkeParm_var& oRadius) = 0
Gets the radius of the corner.
Parameters:
oRadius
Radius
o GetRadius
public virtual HRESULT GetRadius(double& oRadius)= 0
Gets the radius of the corner.
Parameters:
oRadius
Radius
o GetSecondElem
public virtual HRESULT GetSecondElem(CATISpecObject_var& oElem)= 0
Gets the second reference element (a curve).
Parameters:
oElem
second reference element
See also:
CATISpecObject
o GetSecondOrientation
public virtual HRESULT GetSecondOrientation(CATGSMOrientation& oOrientation)= 0
Gets the second reference element orientation used to compute the corner. Orientation specifies corner center position Orientation is same or inverse than the result of the cross product: Normal(support) ^ Tangent(SecondReferenceCurve)
Parameters:
oOrientation
second orientation
See also:
CATGSMOrientation
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& oElem)= 0
Gets the support of the corner (a plane or a surface).
Parameters:
oElem
support of the corner
See also:
CATISpecObject
o GetTrim
public virtual HRESULT GetTrim(CATBoolean& oTrim)= 0
Queries whether references curves are trimmed or not.
Parameters:
Trim
Trim Option on (TRUE) or off (FALSE)
o GetTrimMode
public virtual HRESULT GetTrimMode(CATGSMCornerTrimMode& oTrimMode)= 0
Queries whether references curves are trimmed or not.
Parameters:
oTrimMode
See also:
CATGSMCornerTrimMode
o InvertFirstOrientation
public virtual HRESULT InvertFirstOrientation()= 0
Inverts the first reference element orientation used to compute the corner.
o InvertSecondOrientation
public virtual HRESULT InvertSecondOrientation()= 0
Inverts the second reference element orientation used to compute the corner.
o SetBeginOfCorner
public virtual HRESULT SetBeginOfCorner(int NumWire) = 0
Sets the number of the beginning curve of the corner.
This parameter is used to stabilize the resulting corner
o SetCornerType
public virtual HRESULT SetCornerType( const enum CATGSMCornerType iCornerType) = 0
Sets the Corner type .
Parameters:
iCornerType
CATGSMCornerOnSupport = 0 : Corner On Support (required) CATGSM3DCorner = 1 : 3D Corner ( == DO NOT USED == )
See also:
CATGSMCornerType
o SetDiscriminationIndex
public virtual HRESULT SetDiscriminationIndex(int iIndexSol) = 0
Sets 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 SetFirstElem
public virtual HRESULT SetFirstElem( const CATISpecObject_var iElem) = 0
Sets the first reference element (a curve or a point).
Parameters:
iElem
first reference element
See also:
CATISpecObject
o SetFirstOrientation
public virtual HRESULT SetFirstOrientation(CATGSMOrientation iOrientation) = 0
Sets the first reference element orientation used to compute the corner. Orientation specifies corner center position Orientation is same or inverse than the result of the cross product: Normal(support) ^ Tangent(FirstReferenceCurve)
Parameters:
iOrientation
first orientation
See also:
CATGSMOrientation
o SetFirstTangentOrientation
public virtual HRESULT SetFirstTangentOrientation( const CATGSMOrientation iFirstOrient) = 0
Sets the first tangent curve orientation for circle computation.
Parameters:
iFirstOrient
first orientation
o SetNbRemainingSharpVertices
public virtual HRESULT SetNbRemainingSharpVertices(int iNbSharpVertices) = 0
Sets the number of remaining sharp vertices in case of corner on vertices of a curve.
Parameters:
iNbSharpVertices
The number of remaining sharp vertices
o SetOnVertex
public virtual HRESULT SetOnVertex(CATBoolean iOnVertex) = 0
Gets the creation mode : on vertex or not.
Parameters:
iOnVertex
creation mode on vertex (TRUE or FALSE)
o SetRadius
public virtual HRESULT SetRadius( const CATICkeParm_var iRadius) = 0
Sets the radius of the corner.
Parameters:
Radius
Radius
See also:
CATICkeParm
o SetRadius
public virtual HRESULT SetRadius(double iRadius) = 0
Sets the radius of the corner.
Parameters:
iRadius
Radius
o SetSecondElem
public virtual HRESULT SetSecondElem( const CATISpecObject_var iElem) = 0
Sets the second reference element (a curve).
Parameters:
iElem
second reference element
See also:
CATISpecObject
o SetSecondOrientation
public virtual HRESULT SetSecondOrientation(CATGSMOrientation iOrientation) = 0
Sets the second reference element orientation used to compute the corner.
Orientation specifies corner center position Orientation is same or inverse than the result of the cross product: Normal(support) ^ Tangent(SecondReferenceCurve)
Parameters:
iOrientation
second orientation
See also:
CATGSMOrientation
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 iElem) = 0
Sets the support of the corner (a plane or a surface).
Parameters:
iElem
support of the corner
See also:
CATISpecObject
o SetTrim
public virtual HRESULT SetTrim(CATBoolean iTrim) = 0
Sets or unsets the trim option of the references curves.
Parameters:
iTrim
Trim Option on (TRUE) or off (FALSE)
o SetTrimMode
public virtual HRESULT SetTrimMode(CATGSMCornerTrimMode iTrimMode) = 0
Sets the trim mode of the references curves.
Parameters:
iTrimMode
See also:
CATGSMCornerTrimMode

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

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