GMOperatorsInterfaces class CATDynDraftDomain

Usage: you must use this class as is. You should never derive it.


public class CATDynDraftDomain

Class defining a draft domain.

A draft domain groups all the faces to draft with regards to the same pulling direction.

See also:
CATICGMDynDraft, CATDynDraftRibbon, CATDynDraftAngle


Constructor and Destructor Index


o CATDynDraftDomain(CATMathDirection&,CATDynDraftDomainType,CATFace*,CATLISTP(CATDynDraftRibbon)&)
Constructs a draft domain.
o CATDynDraftDomain(CATMathDirection&,CATDynDraftDomainType,CATBody*,CATLISTP(CATDynDraftRibbon)&)
Constructs a draft domain.
o CATDynDraftDomain(CATMathDirection&,CATLISTP(CATDynDraftRibbon)&,CATDynDraftDomainType,CATGeometry*)
o ~CATDynDraftDomain()

Method Index


o GetDomainType()
Returns the operation draft type.
o GetNeutral()
Returns the neutral element.
o GetPullingDirection(CATMathDirection&)
Retrieves the pulling direction associated with this draft domain.
o GetRibbons()
Returns the ribbons associated with this draft domain.

Constructor and Destructor


o CATDynDraftDomain
public CATDynDraftDomain(CATMathDirection& iPullingDirection,
const CATDynDraftDomainType iType,
const CATFace* iNeutral,
CATLISTP(CATDynDraftRibbon)& iRibbons)
Constructs a draft domain.
Parameters:
iPullingDirection
The pulling direction.
iType
The type of the draft operation.
iNeutral
The pointer to the neutral face. To be provided when iType=CATDynDraftDomainNeutral.
iRibbons
The list of pointers to the CATDynDraftRibbon objects that contain the faces to draft with iPullingDirection.
o CATDynDraftDomain
public CATDynDraftDomain(CATMathDirection& iPullingDirection,
const CATDynDraftDomainType iType,
const CATBody* iNeutral,
CATLISTP(CATDynDraftRibbon)& iRibbons)
Constructs a draft domain.
Parameters:
iPullingDirection
The pulling direction.
iType
The type of the draft operation.
iNeutral
The pointer to the neutral body. To be provided when iType=CATDynDraftDomainNeutral.
iRibbons
The list of pointers to the CATDynDraftRibbon objects that contain the faces to draft with iPullingDirection.
o CATDynDraftDomain
public CATDynDraftDomain(CATMathDirection& iPullingDirection,
CATLISTP(CATDynDraftRibbon)& iFaces,
const CATDynDraftDomainType iType,
const CATGeometry* iNeutral)
Deprecated:
V5R15 Use the constructor whose third argument is a neutral element of type CATFace or else use the constructor whose third argument is a neutral element of type CATBody. Constructs a draft domain.
Parameters:
iPullingDirection
The pulling direction.
iFaces
The list of pointers to the faces to draft with iPullingDirection.
iType
The type of the draft operation.
iNeutral
The pointer to the neutral element. This element can be a CATSurface, a CATFace or a CATShell. To be provided when iType=CATDynDraftDomainNeutral.
o ~CATDynDraftDomain
public ~CATDynDraftDomain()

Methods


o GetDomainType
public CATDynDraftDomainType GetDomainType()const
Returns the operation draft type.
Returns:
The operation draft type.
o GetNeutral
public const CATGeometry * GetNeutral()const
Returns the neutral element.
Returns:
The pointer to the neutral element. This element can be a CATSurface, a CATFace or a CATShell.
o GetPullingDirection
public CATBoolean GetPullingDirection(CATMathDirection& ioPullingDirection) const
Retrieves the pulling direction associated with this draft domain.
Parameters:
ioPullingDirection
The pulling direction.
Returns:
TRUE if the pulling direction is defined in this CATDynDraftDomain , FALSE otherwise.
o GetRibbons
public const CATLISTP(CATDynDraftRibbon) & GetRibbons()const
Returns the ribbons associated with this draft domain.
A draft ribbon is a set of connected faces.
Returns:
The list of pointers to draft ribbons.

This object is included in the file: CATDynDraftDomain.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.