chain.cpp File Reference


Detailed Description

Id
chain.cpp,v 1.22 2003/05/07 09:11:53 legros Exp

Definition in file chain.cpp.

#include "stdpacs.h"
#include "pacs/chain.h"

Go to the source code of this file.

Functions

bool isEqual (const CVector &a, const CVector &b)
bool isStrictlyGreater (const CVector &a, const CVector &b)
bool isStrictlyLess (const CVector &a, const CVector &b)


Function Documentation

bool isEqual const CVector &  a,
const CVector &  b
[inline, static]
 

Definition at line 56 of file chain.cpp.

Referenced by NLAIAGENT::CAgentOperation::isEqual(), NLAIAGENT::IMessageBase::isEqual(), NLAIAGENT::CMessageScript::isEqual(), and NLAICHARACTER::CCharacterNoeud::isEqual().

00057 {
00058         return (a == b);
00059 }

bool isStrictlyGreater const CVector &  a,
const CVector &  b
[inline, static]
 

Definition at line 46 of file chain.cpp.

References NLMISC::CVector::x, NLMISC::CVector::y, and NLMISC::CVector::z.

00047 {
00048         if (a.x > b.x)  return true;
00049         if (a.x < b.x)  return false;
00050         if (a.y > b.y)  return true;
00051         if (a.y < b.y)  return false;
00052         if (a.z > b.y)  return true;
00053         return false;
00054 }

bool isStrictlyLess const CVector &  a,
const CVector &  b
[inline, static]
 

Definition at line 36 of file chain.cpp.

References NLMISC::CVector::x, NLMISC::CVector::y, and NLMISC::CVector::z.

00037 {
00038         if (a.x < b.x)  return true;
00039         if (a.x > b.x)  return false;
00040         if (a.y < b.y)  return true;
00041         if (a.y > b.y)  return false;
00042         if (a.z < b.y)  return true;
00043         return false;
00044 }


Generated on Tue Mar 16 06:42:19 2004 for NeL by doxygen 1.3.6