All Frameworks Class Hierarchy This Framework Previous Next Indexes
SketcherInterfaces Interface CATI2DConstraintAnalysis
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATI2DConstraintAnalysis
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATI2DConstraintAnalysis
Method Index
- o
Analyse(CATI2DWFGeometry*,CATI2DWFGeometry*,CATI2DWFGeometry*,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*,CATI2DConstraint**)
- Verify if a constraint creation is compatible with elements types.
- o
CheckImport(CATBaseUnknown*,int*,int*,CAT2DImportMode*,CATListValCATBaseUnknown_var*,CATBody**,CATBaseUnknown*,double*)
- Verify if a geometry can be imported.
- o
Find(CATI2DWFGeometry*,CATI2DWFGeometry*,CATI2DWFGeometry*,CATListValCATISpecObject_var&)
- Analyse given geometric elements (1, 2 or 3) and returns a list of EXISTING
constraint on these elements.
- o
Find(CATI2DWFGeometry*,CATI2DWFGeometry*,CATI2DWFGeometry*,CATRawCollint&)
- Analyse given geometric elements (1, 2 or 3) and returns a list of EXISTING
constraint types on these elements.
- o
Find(CATListValCATI2DWFGeometry_var&,CATListValCATISpecObject_var&,CATListValCATISpecObject_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
-
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
-
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
-
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
-
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
-
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 HRESULT Find( | const CATListValCATI2DWFGeometry_var& | iGeoms, |
| CATListValCATISpecObject_var& | oInternalCsts, |
| CATListValCATISpecObject_var& | oExternalCsts) = 0 |
-
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: CATI2DConstraintAnalysis.h
If needed, your Imakefile.mk should include the module: CATSketcherInterfaces