NLPACS::CLocalRetriever::CTip Class Reference

#include <local_retriever.h>


Detailed Description

A tip of several chains. A CTip can contain more than 2 chains.
Author:
Benjamin Legros

Nevrax France

Date:
2001

Definition at line 72 of file local_retriever.h.

Public Member Functions

 CTip ()
void serial (NLMISC::IStream &f)
 Serialises the CTip.

void translate (const NLMISC::CVector &translation)
 Translates the CTip by the translation vector.


Data Fields

std::vector< CChainTipChains
NLMISC::CVector Point
 The position of the tip.x.


Constructor & Destructor Documentation

NLPACS::CLocalRetriever::CTip::CTip  )  [inline]
 

Definition at line 96 of file local_retriever.h.

00096 : Point(NLMISC::CVector::Null) {}


Member Function Documentation

void NLPACS::CLocalRetriever::CTip::serial NLMISC::IStream f  )  [inline]
 

Serialises the CTip.

Definition at line 106 of file local_retriever.h.

References Chains, NLMISC::IStream::serial(), and NLMISC::IStream::serialCont().

00107                 {
00108                         f.serial(Point);
00109                         f.serialCont(Chains);
00110                 }

void NLPACS::CLocalRetriever::CTip::translate const NLMISC::CVector translation  )  [inline]
 

Translates the CTip by the translation vector.

Definition at line 113 of file local_retriever.h.

00114                 {
00115                         Point += translation;
00116                 }


Field Documentation

std::vector<CChainTip> NLPACS::CLocalRetriever::CTip::Chains
 

Definition at line 102 of file local_retriever.h.

Referenced by serial().

NLMISC::CVector NLPACS::CLocalRetriever::CTip::Point
 

The position of the tip.x.

Definition at line 99 of file local_retriever.h.


The documentation for this class was generated from the following file:
Generated on Tue Mar 16 14:16:35 2004 for NeL by doxygen 1.3.6