All Frameworks Class Hierarchy This Framework Previous Next Indexes
PartInterfaces Interface CATIPrtPattern
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---PartInterfaces.CATIShape
|
+---CATIPrtPattern
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIPrtPattern
Interface to read or modify the specifications of the pattern.
Role: The pattern feature allows users to duplicate an original feature according
a specific distribution.
Method Index
- o
GetAnchorPoint()
- Returns the anchor point of the original feature.
- o
GetIfDesignIntent()
- Returns if users want to keep the specifications of the original feature such as "Up to".
- o
GetItem()
- Returns the original feature.
- o
GetNumberOfInstances(int&,int&)
- Returns Number of Instances in First and Second Direction.
- o
GetTransfo()
- Return a CATMathGridOfvectors.
- o
IsInstanceAtLocationDeactivated(int&,int&,CATBoolean&)
- Returns the Deactivated status of the instance at position i,j
- o
ModifyItem(CATISpecObject_var&)
- Sets the original feature.
- o
SetDesignIntent(int)
- Sets if users want to keep the specifications of the original feature such as "Up to".
Methods
o GetAnchorPoint
-
Returns the anchor point of the original feature.
o GetIfDesignIntent
public virtual int GetIfDesignIntent( | )= 0 |
-
Returns if users want to keep the specifications of the original feature such as "Up to".
1 indicates that users want to keep the specifications.
o GetItem
-
Returns the original feature.
o GetNumberOfInstances
public virtual HRESULT GetNumberOfInstances( | int& | oInFirstDirection, |
| int& | oInSecondDirection) = 0 |
-
Returns Number of Instances in First and Second Direction.
- Parameters:
-
- InFirstDirection
- Number of Instances in First Direction.
- InSecondDirection
- Number of Instances in Second Direction.
o GetTransfo
-
Return a CATMathGridOfvectors. It contains all the transformation vectors of the
pattern instances.
A CATMathGridOfvectors is a bi-dimensional grid of CATMathVector
o IsInstanceAtLocationDeactivated
public virtual HRESULT IsInstanceAtLocationDeactivated( | int& | iposi, |
| int& | iposj, |
| CATBoolean& | obDeactivated) = 0 |
-
Returns the Deactivated status of the instance at position i,j
- Parameters:
-
- iposi
- The position of the instance in the First Direction (i)
- iposj
- The position of the instance in the Second Direction (j)
- obDeactivated
-
Legal values:
1 indicates instance is deactivated
o ModifyItem
public virtual void ModifyItem( | const CATISpecObject_var& | iItem) = 0 |
-
Sets the original feature.
- Parameters:
-
- iItem
- iItem must be either:
- a mechanical form feature in the same mechanical tool that the pattern
- a mechanical tool resulting from boolean operation
- an imported solid in the same mechanical tool that the pattern
- a feature which implement CATIPrtToPattern.
o SetDesignIntent
public virtual int SetDesignIntent( | int | iDsgIntent) = 0 |
-
Sets if users want to keep the specifications of the original feature such as "Up to".
- Parameters:
-
- iDsgIntent
-
Legal values:
1 indicates that users want to keep the specifications.
0 indicates that users do not want to keep the specifications.
This object is included in the file: CATIPrtPattern.h
If needed, your Imakefile.mk should include the module: CATPartInterfaces