NLPACS::ULocalPosition Class Reference

#include <u_global_position.h>

Inheritance diagram for NLPACS::ULocalPosition:

NLPACS::CLocalRetriever::CLocalPosition

Detailed Description

An estimation of the position of a point on a specified surface. The estimated position is LOCAL reference to the retriever axis.
Author:
Benjamin Legros

Nevrax France

Date:
2001

Definition at line 44 of file u_global_position.h.

Public Member Functions

void setKeepZ (const ULocalPosition &other)

Data Fields

NLMISC::CVector Estimation
 The best position estimation of the point snapped on the surface. This is a CLocalRetriever local axis position.

sint32 Surface
 The id of the surface corresponding to the local position.


Member Function Documentation

void NLPACS::ULocalPosition::setKeepZ const ULocalPosition other  )  [inline]
 

Definition at line 54 of file u_global_position.h.

References Estimation, NLMISC::CVector::set(), Surface, NLMISC::CVector::x, NLMISC::CVector::y, and NLMISC::CVector::z.

Referenced by NLPACS::UGlobalPosition::setKeepZ().

00055         {
00056                 Surface = other.Surface;
00057                 Estimation.set(other.Estimation.x,
00058                                            other.Estimation.y,
00059                                            Estimation.z);
00060         }


Field Documentation

NLMISC::CVector NLPACS::ULocalPosition::Estimation
 

The best position estimation of the point snapped on the surface. This is a CLocalRetriever local axis position.

Definition at line 51 of file u_global_position.h.

Referenced by NLPACS::CLocalRetriever::distanceToBorder(), NLPACS::CGlobalRetriever::doMove(), NLPACS::CLocalRetriever::findPath(), NLPACS::CGlobalRetriever::findPath(), NLPACS::CGlobalRetriever::getDoubleGlobalPosition(), NLPACS::CGlobalRetriever::getGlobalPosition(), NLPACS::CLocalRetriever::getHeight(), NLPACS::CGlobalRetriever::getMeanHeight(), NLPACS::CLocalRetriever::insurePosition(), NLPACS::CRetrieverInstance::retrievePosition(), NLPACS::CGlobalRetriever::retrievePosition(), NLPACS::CPrimitiveWorldImage::CPosition::setGlobalPos(), setKeepZ(), NLPACS::CRetrieverInstance::snap(), NLPACS::CLocalRetriever::snapToInteriorGround(), NLPACS::CGlobalRetriever::testBBoxMove(), NLPACS::CGlobalRetriever::testBBoxRot(), NLPACS::CGlobalRetriever::testCollisionWithCollisionChains(), NLPACS::CGlobalRetriever::testCylinderMove(), NLPACS::CGlobalRetriever::testMovementWithCollisionChains(), NLPACS::CLocalRetriever::testPosition(), NLPACS::CGlobalRetriever::testPosition(), and NLPACS::CGlobalRetriever::updateHeight().

sint32 NLPACS::ULocalPosition::Surface
 

The id of the surface corresponding to the local position.

Definition at line 48 of file u_global_position.h.

Referenced by NLPACS::CEdgeQuad::build(), NLPACS::CLocalRetriever::distanceToBorder(), NLPACS::CGlobalRetriever::doMove(), NLPACS::CGlobalRetriever::findAStarPath(), NLPACS::CLocalRetriever::findPath(), NLPACS::CGlobalRetriever::findPath(), NLPACS::CLocalRetriever::getHeight(), NLPACS::CGlobalRetriever::getMaterial(), NLPACS::CGlobalRetriever::getMeanHeight(), NLPACS::CLocalRetriever::insurePosition(), NLPACS::CGlobalRetriever::isWaterPosition(), NLPACS::CRetrieverInstance::retrievePosition(), NLPACS::CGlobalRetriever::retrievePosition(), setKeepZ(), NLPACS::CLocalRetriever::snapToInteriorGround(), NLPACS::CGlobalRetriever::testBBoxMove(), NLPACS::CGlobalRetriever::testBBoxRot(), NLPACS::CGlobalRetriever::testCollisionWithCollisionChains(), NLPACS::CGlobalRetriever::testCylinderMove(), NLPACS::CGlobalRetriever::testMovementWithCollisionChains(), and NLPACS::CLocalRetriever::testPosition().


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