Download ega.notice

Back to the list

Display this manual page in
$$$$ EGA      NOTICE  CHAT      11/09/12    21:15:59     7124           
                                             DATE     11/09/12

    Operateur EGA                            Voir aussi : NEG
    -------------                                         <     >   
                                                          <EG   >EG   
                                                          ENTI FLOT   
    LOG1 = OBJET1  EGA  OBJET2 (FLOT1) ;

                                   OBJET1=ENTIER,FLOTTANT,LOGIQUE
                                          LISTENTI,MOT,TEXTE,POINT

    Description :
    _____________

    The EGA operator compares two objects: OBJET1 and OBJET2.

    Contents :
    __________

    OBJETi : objects to be compared
             The possible types for OBJET1 and OBJET2 are :

                            ENTIER
                            FLOTTANT
                            POINT
                            LISTENTI
                            MOT
                            TEXTE
                            LOGIQUE

    FLOT1  : tolerance (FLOTTANT type) used for comparing objects of
             FLOTTANT or POINT type. In this last case, the tolerance
             equals 0. by default.
    LOG1   : result (LOGIQUE type) ; its value is VRAI (true) if the
             two objects are identical and FAUX (false) if not

    Note :
    ______

    Two POINT type objects are considered "equal" if they have the
    same position in space. A tolerance FLOT1 (FLOTTANT type) equalling
    by default 1/10th of the point densities, or 1/10th of the current
    density if the point densities are null, may be imposed.

    For MOT type objects, it is required that the following order
    be respected :
    LOG1 = EGA  MOT1  MOT2  ;
    Tailing white spaces will be ignored :
    (EGA 'AA' 'AA   ') is VRAI

    If scalars are compared (type ENTIER or FLOTTANT),
    the second one will be converted to the type of the first one.
 
 

© Cast3M 2003 - All rights reserved.
Disclaimer