CATMecModUseItf Interface CATIMmiUseREdge

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


interface CATIMmiUseREdge

Interface to manage a selecting object of IREdge type.
Role: This interface allows to manage a selecting object ( )
of IREdge type. A IREdge is a set of internal edges on a 2D or 3D topological object ( ). It is an edge between two . 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 CATIMmiUseFeaturize ) according to application's needs.
The faces a IREdge lies between can be retrieved by the method.


Method Index


o GetRSur(int,CATIMmiUseRSur_var&)
Gets the adjacent surface selecting object associated with the edge selecting object.
o IsAIntersectionREdge(CATBoolean&,CATMfFeaturizeMode)
Tests if the REdge is an intersection BRep.
o IsSharp(CATMfSharpnessType&,CATIMmiMechanicalFeature_var&)
Method used to evaluate the sharpness of an edge.

Methods


o GetRSur
public virtual GetRSur( i,
oRsur)
Gets the adjacent surface selecting object associated with the edge selecting object.
Parameters:
i
[in] The ith surface selecting object is returned, i can be equal to 1 or 2.
oRsur
[out] The ith surface as a selecting object.
Returns:
S_OK
Successfull.
E_FAIL
an error occured.
o IsAIntersectionREdge
public virtual IsAIntersectionREdge( oIntersection,
const iMode= 0)
Tests if the REdge is an intersection BRep.
Parameters:
oIntersection
[out] TRUE if intersection edge.
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)
Returns:
S_OK
Successfull.
E_FAIL
an error occured.
o IsSharp
public virtual IsSharp( oSharp,
const iResolutionFeature= NULL_var)
Method used to evaluate the sharpness of an edge.
Parameters:
oSharp
[out] The sharpness of the edge.
iResolutionFeature
[in] Search is performed in the topological body associated with iResolutionFeature.
Returns:
S_OK
Successfull.
E_FAIL
an error occured.

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

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