All Frameworks  Class Hierarchy  This Framework  Indexes   

GMOperatorsInterfaces Class 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:
CATDynDraftDomain, CATICGMDynDraft, CATDynDraftAngle


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()

Method Index


o AddDraftParam(CATDynDraftParam*)
Adds a specification of a draft angle value to define a variable draft.
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()

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 GetAngles
public 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
public 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
public 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 © 2003, Dassault Systèmes. All rights reserved.