All Frameworks Class Hierarchy This Framework Previous Next Indexes
ManufacturingInterfaces Interface CATIMfgCustomResourceRepresentation
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATIMfgCustomResourceRepresentation
Usage: you can freely reimplement this interface.
interface CATIMfgCustomResourceRepresentation
Interface dedicated to Resource objects representation management.
Role: This interface offers services to manage mainly the resource representation.
Method Index
- o
GetCUTAndNOCUTFromVisibleProfilePts(int&,CATListOfDouble&,CATListOfDouble&,CATListOfDouble&,CATListOfDouble&,CATListOfDouble&,CATListOfInt&,int&,CATListOfDouble&,CATListOfDouble&,CATListOfDouble&,CATListOfDouble&,CATListOfDouble&,CATListOfInt&)
- Gives the informations on the Resource object Profile (from a sketch point of view).
- o
GetCUTAndNOCUTProfilePts(int&,CATListOfDouble&,CATListOfDouble&,CATListOfDouble&,CATListOfDouble&,CATListOfDouble&,CATListOfInt&,int&,CATListOfDouble&,CATListOfDouble&,CATListOfDouble&,CATListOfDouble&,CATListOfDouble&,CATListOfInt&)
- Gives the informations on the Resource object Profile (from a sketch point of view).
- o
GetProfilePts(int&,CATListOfCATUnicodeString&,CATListOfDouble&,CATListOfDouble&,CATListOfDouble&,CATListOfDouble&,CATListOfDouble&,CATListOfInt&)
- Gives the informations on the Resource object Profile (from a sketch point of view).
- o
GetVisibleProfilePts(int&,CATListOfCATUnicodeString&,CATListOfDouble&,CATListOfDouble&,CATListOfDouble&,CATListOfDouble&,CATListOfDouble&,CATListOfInt&)
- Gives the informations on the Resource object Profile (from a sketch point of view).
Methods
o GetCUTAndNOCUTFromVisibleProfilePts
public virtual HRESULT GetCUTAndNOCUTFromVisibleProfilePts( | int& | oNbCUTPoints, |
| CATListOfDouble& | oListCUTXCoord, |
| CATListOfDouble& | oListCUTYCoord, |
| CATListOfDouble& | oListCUTRadius, |
| CATListOfDouble& | oListCUTAngDeb, |
| CATListOfDouble& | oListCUTAngFin, |
| CATListOfInt& | oListCUTNumPts, |
| int& | oNbNOCUTPoints, |
| CATListOfDouble& | oListNOCUTXCoord, |
| CATListOfDouble& | oListNOCUTYCoord, |
| CATListOfDouble& | oListNOCUTRadius, |
| CATListOfDouble& | oListNOCUTAngDeb, |
| CATListOfDouble& | oListNOCUTAngFin, |
| CATListOfInt& | oListNOCUTNumPts)=0 |
-
Gives the informations on the Resource object Profile (from a sketch point of view).
The returned profiles arecomputed from the GetVisibleProfilePts
The informations are relative to the Characteristic Points of the Profile.
One Characteristic Point is an angle or the center of a curve arc.
You get two profiles as ouput, the first one consists on the cutting part of the resource
the second one is the non cutting part of the resource.
If the resource has a user representation (CATPart or DXF file), the profile will be extracted from it.
If no user representation then the profiles are extracted from the standard profile.
- Parameters:
-
- oNbCUTPoints
- The number of points for the profile of the cutting part
- oListCUTXCoord
- : The X coordinate for each point
- oListCUTYCoord
- The Y coordinate for each point
- oListCUTRadius
- The Radius value for each point (non zero for point as curve center)
- oListCUTAngDeb
- The Start Angle for the curve (if point is curve center)
- oListCUTAngFin
- The End Angle for the curve (if point is curve center)
- oListCUTNumPts
- ...
- oNOCUTNbPoints
- The number of points for the profile of the non cutting part
- oListNOCUTXCoord
- : The X coordinate for each point
- oListNOCUTYCoord
- The Y coordinate for each point
- oListNOCUTRadius
- The Radius value for each point (non zero for point as curve center)
- oListNOCUTAngDeb
- The Start Angle for the curve (if point is curve center)
- oListNOCUTAngFin
- The End Angle for the curve (if point is curve center)
- oListNOCUTNumPts
- ...
o GetCUTAndNOCUTProfilePts
public virtual HRESULT GetCUTAndNOCUTProfilePts( | int& | oNbCUTPoints, |
| CATListOfDouble& | oListCUTXCoord, |
| CATListOfDouble& | oListCUTYCoord, |
| CATListOfDouble& | oListCUTRadius, |
| CATListOfDouble& | oListCUTAngDeb, |
| CATListOfDouble& | oListCUTAngFin, |
| CATListOfInt& | oListCUTNumPts, |
| int& | oNbNOCUTPoints, |
| CATListOfDouble& | oListNOCUTXCoord, |
| CATListOfDouble& | oListNOCUTYCoord, |
| CATListOfDouble& | oListNOCUTRadius, |
| CATListOfDouble& | oListNOCUTAngDeb, |
| CATListOfDouble& | oListNOCUTAngFin, |
| CATListOfInt& | oListNOCUTNumPts)=0 |
-
Gives the informations on the Resource object Profile (from a sketch point of view).
The informations are relative to the Characteristic Points of the Profile.
One Characteristic Point is an angle or the center of a curve arc.
You get two profiles as ouput, the first one consists on the cutting part of the resource
the second one is the non cutting part of the resource.
If the resource has a user representation (CATPart or DXF file), the profile will be extracted from it.
If no user representation then the profiles are extracted from the standard profile.
- Parameters:
-
- oNbCUTPoints
- The number of points for the profile of the cutting part
- oListCUTXCoord
- : The X coordinate for each point
- oListCUTYCoord
- The Y coordinate for each point
- oListCUTRadius
- The Radius value for each point (non zero for point as curve center)
- oListCUTAngDeb
- The Start Angle for the curve (if point is curve center)
- oListCUTAngFin
- The End Angle for the curve (if point is curve center)
- oListCUTNumPts
- ...
- oNOCUTNbPoints
- The number of points for the profile of the non cutting part
- oListNOCUTXCoord
- : The X coordinate for each point
- oListNOCUTYCoord
- The Y coordinate for each point
- oListNOCUTRadius
- The Radius value for each point (non zero for point as curve center)
- oListNOCUTAngDeb
- The Start Angle for the curve (if point is curve center)
- oListNOCUTAngFin
- The End Angle for the curve (if point is curve center)
- oListNOCUTNumPts
- ...
o GetProfilePts
-
Gives the informations on the Resource object Profile (from a sketch point of view).
The informations are relative to the Characteristic Points of the Profile.
One Characteristic Point is an angle or the center of a curve arc.
- Parameters:
-
- oNbPoints
- The number of points for the profile
- oListXCoord
- : The X coordinate for each point
- oListYCoord
- The Y coordinate for each point
- oListRadius
- The Radius value for each point (non zero for point as curve center)
- oListAngDeb
- The Start Angle for the curve (if point is curve center)
- oListAngEnd
- The End Angle for the curve (if point is curve center)
o GetVisibleProfilePts
-
Gives the informations on the Resource object Profile (from a sketch point of view).
The returned profile has no inside holes.
The informations are relative to the Characteristic Points of the Profile.
One Characteristic Point is an angle or the center of a curve arc.
- Parameters:
-
- oNbPoints
- The number of points for the profile
- oListXCoord
- : The X coordinate for each point
- oListYCoord
- The Y coordinate for each point
- oListRadius
- The Radius value for each point (non zero for point as curve center)
- oListAngDeb
- The Start Angle for the curve (if point is curve center)
- oListAngEnd
- The End Angle for the curve (if point is curve center)
This object is included in the file: CATIMfgCustomResourceRepresentation.h
If needed, your Imakefile.mk should include the module: MfgItfEnv