GMOperatorsInterfaces CATDynDraftRibbon
Usage: you must use this class as is. You should never derive it.
public class CATDynDraftRibbon
Class defining a draft ribbon.
A draft ribbon groups all the connected faces to draft with regards to the same pulling direction and the
same neutral element.
- See also:
- , ,
Constructor and Destructor Index
- o
CATDynDraftRibbon(CATLISTP(CATFace)&,CATBody*,CATWire*)
- Constructs a square draft ribbon without angle values.
- o
CATDynDraftRibbon(CATLISTP(CATDynDraftAngle)&,CATBoolean)
- Constructs a draft ribbon.
- o
CATDynDraftRibbon(CATLISTP(CATFace)&,CATDynDraftParam*,CATBody*,CATWire*)
- Constructs a square draft ribbon with a single angle value (other angles can be added afterwards).
- o
CATDynDraftRibbon(CATLISTP(CATFace)&,CATAngle&,CATBody*,CATWire*,CATBoolean)
- Constructs a draft ribbon with a single angle value
- o
~CATDynDraftRibbon()
-
Method Index
- o
AddDraftParam(CATDynDraftParam*)
- Adds a specification of a draft angle value to define a variable draft.
- o
DeleteAngles()
- Clean Method to avoit FMR in destructor
- o
GetAngles()
- Returns the definition of the elementary draft operations.
- o
GetConstantAngle()
- Returns the common draft angle value, if any.
- o
GetListOfFaces()
- Returns the faces of all the elementary draft operations.
- o
GetListOfParams()
- Returns the parameters of the draft ribbon.
- o
TestConstantAngle()
- Tests whether all the elementary draft operations have the same draft angle.
Constructor and Destructor
o CATDynDraftRibbon
public CATDynDraftRibbon( | const | iFaces, |
| const | iWireBody | = NULL, |
| const | iWire | = NULL) |
-
Constructs a square draft ribbon without angle values.
- Parameters:
-
- iFaces
- The listof pointers to the faces of the ribbon to draft.
- iWireBody
- The pointer to the wire body along which angle(s) can be defined.
- iWire
- The pointer to the wire of iWireBody to be used.
o CATDynDraftRibbon
public CATDynDraftRibbon( | const | iFacesAndAngles, |
| const | iConeEnvelopMode | = TRUE) |
-
Constructs a draft ribbon.
- Parameters:
-
- iFacesAndAngles
- The list of pointers to the definitions of the elementary draft operations.
o CATDynDraftRibbon
public CATDynDraftRibbon( | const | iFaces, |
| const | iParam, |
| const | iWireBody | = NULL, |
| const | iWire | = NULL) |
-
Constructs a square draft ribbon with a single angle value (other angles can be added afterwards).
- Parameters:
-
- iFaces
- The listof pointers to the faces of the ribbon to draft.
- iParam
- The specification of the draft angle value.
- iWireBody
- The pointer to the wire body along which the angle is defined.
- iWire
- The pointer to the wire of iWireBody to be used.
o CATDynDraftRibbon
public CATDynDraftRibbon( | const | iFacesToDraft, |
| const | iDraftAngle, |
| const | iWireBody, |
| const | iWire | = NULL, |
| const | iConeEnvelopMode | = TRUE ) |
-
Constructs a draft ribbon with a single angle value
- Parameters:
-
- iFacesToDraft
- The list of pointers to the faces of the ribbon to draft
- iDraftAngle
- The common angle value to associate with iFacesToDraft.
- iWireBody
- The pointer to the wire body which represents neutral element.
- iWire
- The pointer to the wire of iWireBody which is made up of Neutral edge(s).
If it is not specified, first wire in iWireBody is considered as Neutral wire
The neutral edge(s) should also be a part of Body to draft.
The neutral edge(s) should be border edges of faces to draft.
The faces to draft should be on same side of neutral edges, w.r.t the pulling direction.
- iConeEnvelopMode
- Default TRUE. If FALSE draft is created in square mode.
o ~CATDynDraftRibbon
public ~CATDynDraftRibbon( | ) |
-
Methods
o AddDraftParam
public AddDraftParam( | const | iParam) |
-
Adds a specification of a draft angle value to define a variable draft.
- Parameters:
-
- iParam
- The specification of the draft angle value.
o DeleteAngles
-
Clean Method to avoit FMR in destructor
o GetAngles
-
Returns the definition of the elementary draft operations.
o GetConstantAngle
public GetConstantAngle( | ) |
-
Returns the common draft angle value, if any.
- Returns:
- The common draft angle value, if TestConstantAngle is TRUE.
o GetListOfFaces
-
Returns the faces of all the elementary draft operations.
- Returns:
- The list of pointers to all the faces to draft of this draft ribbon.
o GetListOfParams
-
Returns the parameters of the draft ribbon.
- Returns:
- The list of pointers to all the parameters of this draft ribbon.
o TestConstantAngle
public TestConstantAngle( | ) |
-
Tests whether all the elementary draft operations have the same draft angle.
- Returns:
- The result of the test.
Legal values: 1 if all the CATDynDraftAngle elementary operations have the same angle value,
0 otherwise.
This object is included in the file: CATDynDraftRibbon.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.