All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

MecModInterfaces Interface CATIREdge

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---ObjectModelerBase.CATILinkableObject
        |
        +---MecModInterfaces.CATIBRepAccess
          |
          +---MecModInterfaces.CATIREdgeAccess
            |
            +---CATIREdge
 

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


interface CATIREdge

Interface to manage a selecting object of IREdge type.
Role: This interface allows to manage a selecting object ( CATIBRepAccess )
of IREdge type. A IREdge is a set of internal edges on a 2D or 3D topological object ( CATBody ). It is an edge between two CATIRSur . When all the edges lying between the two surfaces are considered, the selecting object is similar to a FEdge (Functional Edge). An IREdge (Internal Relimited Edge) is a connex part of a FEdge. At body's creation time, a FEdge is equal to one IREdge. It can afterwards be splitted into several IREdges through topological relimitations.
For selection facilities, only one kind of selecting element is available, since the FEdge can be obtained from each IREdge. The difference is made during Featurization ( @ref CATIFeaturize ) according to application's needs.
To create a CATIMfRedge , featurization has to be done in MfRelimitedFeaturization mode.
To create a CATIMfFedge , featurization has to be done in MfFunctionalFeaturization mode.
The faces a IREdge lies between can be retrieved by the GetRSur method.


Method Index


o GetEdges()
Returns the geometrical edges associated with the selecting object.
o GetRSur(int)
Returns the adjacent surface selecting object associated with the edge selecting object.
o IsAIntersectionREdge(CATMfFeaturizeMode)
Returns True if the selecting object is an intersection edge.
o IsSharp()
Returns 1 if the edge is sharp.
o IsSharp(CATISpecObject_var&)
Returns 1 if the edge is sharp.

Methods


o GetEdges
public virtual CATLISTP(CATEdge) GetEdges()const = 0
Returns the geometrical edges associated with the selecting object.
o GetRSur
public virtual CATIRSur_var GetRSur(int i) const = 0
Returns the adjacent surface selecting object associated with the edge selecting object.
Parameters:
i
The ith surface selecting object is returned, i can be equal to 1 or 2.
o IsAIntersectionREdge
public virtual CATBoolean IsAIntersectionREdge( const CATMfFeaturizeMode iMode= 0) const = 0
Returns True if the selecting object is an intersection edge.
Parameters:
iMode
Mode of Featurization, it may change result for edges internal to some features such as Join. (in this case, answer may be False if Join has more than 2 operands)
o IsSharp
public virtual CATMfSharpnessType IsSharp()const = 0
Returns 1 if the edge is sharp.
o IsSharp
public virtual CATMfSharpnessType IsSharp( const CATISpecObject_var& iResolutionFeature) const = 0
Returns 1 if the edge is sharp.
Parameters:
iResolutionFeature
Search is performed in the topological body associated with iResolutionFeature.

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

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