All Frameworks  Class Hierarchy  This Framework  Indexes

Mathematics Global Function CATIsign


INLINE CATINTPTR CATIsign(int iValueI,
CATINTPTR iValueJ)
Transfers the sign of iValueJ to the int |iValueI|.
Returns:
The value: -CATAbs(iValueI) if iValueJ<0, CATAbs(iValueI) otherwise.

This object is included in the file: CATMath.h

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