CATSketcherUseItf Interface CATISktUse2DConstraintAnalysis

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


interface CATISktUse2DConstraintAnalysis



Method Index


o Analyse(CATISktUse2DWFGeometry*,CATISktUse2DWFGeometry*,CATISktUse2DWFGeometry*,CATRawCollint&)
Analyse given geometric elements (1, 2 or 3) and returns a list of POSSIBLE constraint types on these elements.
o CheckDefinition(CATBaseUnknown*,CATBaseUnknown*,CATBaseUnknown*,CAT2DCstType,int*,CATISktUse2DConstraint**)
Verify if a constraint creation is compatible with elements types.
o CheckImport(CATBaseUnknown*,int*,int*,CAT2DImportMode*,CATLISTV(CATBaseUnknown_var)*,CATBody**,CATBaseUnknown*,double*)
Verify if a geometry can be imported.
o Find(CATISktUse2DWFGeometry*,CATISktUse2DWFGeometry*,CATISktUse2DWFGeometry*,CATRawCollint&)
Analyse given geometric elements (1, 2 or 3) and returns a list of EXISTING constraint types on these elements.
o Find(CATISktUse2DWFGeometry*,CATISktUse2DWFGeometry*,CATISktUse2DWFGeometry*,CATLISTV(CATIMmiMechanicalFeature_var)&)
Analyse given geometric elements (1, 2 or 3) and returns a list of EXISTING constraint on these elements.
o Find(CATLISTV(CATISktUse2DWFGeometry_var)&,CATLISTV(CATIMmiMechanicalFeature_var)&,CATLISTV(CATIMmiMechanicalFeature_var)&)
Analyse given geometric elements and returns the list of EXISTING constraints on these elements only and the list of EXISTING constraints pointing on one of these elements.

Methods


o Analyse
public virtual Analyse( const iGeom1,
const iGeom2,
const iGeom3,
oCstTypes)
Analyse given geometric elements (1, 2 or 3) and returns a list of POSSIBLE constraint types on these elements. The returned types are defined into CAT2DCstType.h. Input: iGeom1 : Geometric Element iGeom2 : Geometric Element (or NULL) iGeom3 : Geometric Element (or NULL if iGeom2 is NULL) Output: oCstTypes : List of possible 2D constraint types on (iGeom1,iGeom2,iGeom3)
o CheckDefinition
public virtual CheckDefinition( iGeom1,
iGeom2,
iGeom3,
const iCstType,
oCanBeCreated,
oExistingCst=NULL)
Verify if a constraint creation is compatible with elements types. Input: iGeom1 : Geometric Element iGeom2 : Geometric Element (or NULL) iGeom3 : Geometric Element (or NULL if iGeom2 is NULL) iCstType : 2D constraint type Output: oCanBeCreated : Returns != 0 if the constraint can be created, 0 otherwise oExistingCst : Returns the existing constraint when oCanBeCreated == 0
o CheckImport
public virtual CheckImport( iExternalGeom,
oNbSolutions=NULL,
iForConstraint=NULL,
iImportMode=NULL,
oResult=NULL,
oBody=NULL,
iNearGeom=NULL,
const iSel2DPt=NULL)
Verify if a geometry can be imported. Input: iExternalGeom : Geometric element to import iForConstraint : address pointing a value <> 0 only to be constrained iImportMode : mode of import see CAT2Dimport iNearExternalGeom : An optional external geometric element to keep the nearest solution iSel2DPt : The optional 2D point coordinates to keep only the nearest solution of a canonical surface import. Output: oNbSolutions : Number of solutions oResult : List Of Geometrical result oBody : Body of result Returns S_OK if the solution is associative, S_FALSE if not
o Find
public virtual Find( const iGeom1,
const iGeom2,
const iGeom3,
oCstTypes)
Analyse given geometric elements (1, 2 or 3) and returns a list of EXISTING constraint types on these elements. The returned types are defined into CAT2DCstType.h. Input: iGeom1 : Geometric Element iGeom2 : Geometric Element (or NULL) iGeom3 : Geometric Element (or NULL if iGeom2 is NULL) Output: oCstTypes : List of 2D constraint types of existing constraints on (iGeom1,iGeom2,iGeom3)
o Find
public virtual Find( const iGeom1,
const iGeom2,
const iGeom3,
oCsts_output)
Analyse given geometric elements (1, 2 or 3) and returns a list of EXISTING constraint on these elements. Input: iGeom1 : Geometric Element iGeom2 : Geometric Element (or NULL) iGeom3 : Geometric Element (or NULL if iGeom2 is NULL) Output: oCsts : List of existing constraints on (iGeom1,iGeom2,iGeom3)
o Find
public virtual Find( const iGeoms,
oInternalCsts_output,
oExternalCsts_output)
Analyse given geometric elements and returns the list of EXISTING constraints on these elements only and the list of EXISTING constraints pointing on one of these elements. Input: iGeoms : List of Geometric Elements. Output: oInternalCsts : List of existing constraints on these elements only. oExternalCsts : List of existing constraints pointing on one of these elements.

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

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