CATSketcherUseItf Interface CATISkt2D3DSubElem
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATISkt2D3DSubElem
Interface to find the sub-elements that generate a given selecting object (result), or from a given sub-element find the resulting result.
Method Index
- o
Get2DGeomFeaturesFromResult(CATIMmiUseBRepAccess_var&,CATLISTV(CATISktUse2DWFGeometry_var)&)
- Gets the list of sub-elements that specifically generates the provided selecting object.
- o
GetResultFrom2DGeomFeature(CATISktUse2DWFGeometry_var&,CATIMmiUseBRepAccess_var&)
- Gets the CATIMmiUseBRepAccess corresponding to a Sketch sub-element.
Methods
o Get2DGeomFeaturesFromResult
public virtual Get2DGeomFeaturesFromResult( | const | iBRep, |
| | oList2dGeom) |
-
Gets the list of sub-elements that specifically generates the provided selecting object.
- Parameters:
-
- iBRep
- The CATIMmiUseBRepAccess is issued from the sketch which must be its selecting feature.
- oList2dGeom
- The 2D geometrical specifications that generate the given BRep.
The list contains one object in all cases, except when iBRep is an internal vertex (
.
In this case, the list contains 2 elements.
- Returns:
-
- S_OK if the 2D specification could be found.
- E_INVALIDARG if input element is not correctly provided.
- E_FAIL if an error occurred .
o GetResultFrom2DGeomFeature
public virtual GetResultFrom2DGeomFeature( | const | i2dGeom, |
| | oBReps) |
-
Gets the CATIMmiUseBRepAccess corresponding to a Sketch sub-element.
- Parameters:
-
- i2dGeom
- The 2D geometrical sub-element specification of sketch.
- oBReps
- The selecting object corresponding to the sketch sub-element.
- Returns:
-
- S_OK if the CATIMmiUseBRepAccess could be found.
- E_INVALIDARG if input element is not correctly provided.
- E_FAIL if an error occurred .
This object is included in the file: CATISkt2D3DSubElem.h
If needed, your Imakefile.mk should include the module: CATSketcherUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.