CATMecModUseItf Interface CATIMmiBRepFactory

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


interface CATIMmiBRepFactory

Interface to create BRep features.
Role: This interface is used whenever standard interface is not applicable. It applies for Brep features that request additionnal information.

This interface is implemented by the specification container of the 3D Shape.


Method Index


o CreateMfIntersectionEdge(CATIMmiUseBRepAccess_var&,CATMfFeaturizeMode,CATBaseUnknown_var&,CATIMmiUseMfBRep_var&)
Creates an intersection edge BRep Feature.
o CreateMfPointOnEdge(CATIMmiUseMfBRep_var&,double,CATIMmiUsePointOnEdge_var&)
Creates a point on edge BRep feature.
o CreateMfPointOnEdge(CATIMmiUseMfBRep_var&,CATMathPoint&,CATIMmiUsePointOnEdge_var&)
Creates a point on edge BRep feature.

Methods


o CreateMfIntersectionEdge
public virtual CreateMfIntersectionEdge( const iSelectingObject,
const imode,
const isupport,
oBRepFtr)
Creates an intersection edge BRep Feature.
Parameters:
iSelectingObject
[in] The possible values are:
  • NULL_var for an empty intersection edge which afterwards must be set with appropriate attributes using
services.
  • a selecting object corresponding to an edge, and this kind of creation is then equivalent to .
  • imode
    [in] Featurization mode, which should be, at least:
    • MfFeaturizeIntersection
    • MfFeaturizeC1Intersection
    • MfFeaturizeC1Intersection|MfFeaturizeSubElement
    isupport
    [in] The explicit support, e.g. the feature of resolution
    oBRepFtr
    [out] The
    BRep Feature.
    Returns:
    S_OK
    the creation has been successfull.
    E_FAIL
    an error occured in the creation.
    o CreateMfPointOnEdge
    public virtual CreateMfPointOnEdge( const iEdge,
    const iRatio,
    oPointOnEdge)
    Creates a point on edge BRep feature.
    Role: this method creates a point on edge BRep feature.
    Parameters:
    iEdge
    [in] The edge feature on which the point on edge will be created.
    iRatio
    [in] The ratio.
    oPointOnEdge
    [out] The point on edge feature created.
    Returns:
    S_OK
    the creation has been successfull.
    E_FAIL
    an error occured in the creation.
    o CreateMfPointOnEdge
    public virtual CreateMfPointOnEdge( const iEdge,
    const iPoint,
    oPointOnEdge)
    Creates a point on edge BRep feature.
    Role: this method creates a point on edge BRep feature.
    Parameters:
    iEdge
    [in] The edge feature on which the point on edge will be created.
    iPoint
    [in] The point.
    oPointOnEdge
    [out] The point on edge feature created.
    Returns:
    S_OK
    the creation has been successfull.
    E_FAIL
    an error occured in the creation.

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

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