All Frameworks Class Hierarchy This Framework Next Indexes
CATCommonLayoutInterfaces Interface CATICloAppBendable
System.IUnknown
|
+---CATICloAppBendable
Usage: you can reimplement this interface by deriving the supplied CATECloAppBendableAdapter adapter class.
interface CATICloAppBendable
Interface to allow users to override behaviors on a bendable.
Role: To define the user parameters for a bendable
Method Index
- o
GetSpringBackRadius(CATAngle&,double&,double&,int&,double&)
- Get Spring Back Radius.
Methods
o GetSpringBackRadius
public virtual HRESULT GetSpringBackRadius( | const CATAngle& | iTurnAngleRadian, |
| const double& | iRunNodeRadiusMM, |
| const double& | iDiameterFactor, |
| const int& | iRuleUsed, |
| double& | oSpringBackRadiusMM) = 0 |
-
Get Spring Back Radius. This will allow users to show what the bendable will
look like because of spring back.
This will be called when the bendable is created or updated.
A tools option setting will be available to use it. This will
be called prior to generating the bendable contour so the user can
modify the bend radius of the bendable. Normally the bend radius is
taken from the Run it is on.
- Parameters:
-
- iTurnAngleRadian
- The turn angle at the node. It will be in radians.
- iRunNodeRadiusMM
- Turn Radius at the node in MM.
- iDiameterFactor
- The diameter factor used when creating the run. When creating the run the user can use
the Turn Rules table to define the diameter factor. Valid only if iRuleUsed=1.
- iRuleUsed
- 0 if the run bend radius was not defined by the Turn Rules. 1 if the bend radius was derived from the turn rules.
- oSpringBackRadiusMM
- Turn radius to be used for the bendable at this node.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- operation is successful
- E_FAIL
- operation failed
This object is included in the file: CATICloAppBendable.h