All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

TopologicalOperators Class CATDynDraftRibbon

Mathematics.CATCGMVirtual
  |
  +---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, CATDynDraft, CATDynDraftAngle


Constructor and Destructor Index


o CATDynDraftRibbon(CATLISTP(CATDynDraftAngle)&,CATBoolean)
Constructs a draft ribbon.
o CATDynDraftRibbon(CATLISTP(CATFace)&,CATBody*,CATWire*)
Constructs a square draft ribbon without angle values.
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 CATLISTP(CATDynDraftAngle)& iFacesAndAngles,
const CATBoolean 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 CATLISTP(CATFace)& iFaces,
const CATBody* iWireBody= NULL,
const CATWire* 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 CATLISTP(CATFace)& iFaces,
const CATDynDraftParam* iParam,
const CATBody* iWireBody= NULL,
const CATWire* 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 void AddDraftParam( const CATDynDraftParam* 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 const CATLISTP(CATDynDraftAngle) & GetAngles()const
Returns the definition of the elementary draft operations.
o GetConstantAngle
public CATAngle GetConstantAngle()const
Returns the common draft angle value, if any.
Returns:
The common draft angle value, if TestConstantAngle is TRUE.
o GetListOfFaces
public CATLISTP(CATFace) GetListOfFaces()const
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 CATLISTP(CATDynDraftParam) GetListOfParams()const
Returns the parameters of the draft ribbon.
Returns:
The list of pointers to all the parameters of this draft ribbon.
o TestConstantAngle
public int TestConstantAngle()const
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: CATTopologicalOperators

Copyright © 2003, Dassault Systèmes. All rights reserved.