NL3D::CPatchIdent Struct Reference

#include <patch.h>

Inheritance diagram for NL3D::CPatchIdent:

NL3D::CLandscape::CPatchIdentEx

Detailed Description

A landscape patch identifier (zone/patch).

Author:
Lionel Berenguier

Nevrax France

Date:
2000

Definition at line 142 of file patch.h.

Public Member Functions

 CPatchIdent (sint32 zoneId, uint16 patchId)
 CPatchIdent ()
bool operator!= (const CPatchIdent &p) const
bool operator< (const CPatchIdent &p) const
bool operator== (const CPatchIdent &p) const

Data Fields

uint16 PatchId
sint32 ZoneId


Constructor & Destructor Documentation

NL3D::CPatchIdent::CPatchIdent  )  [inline]
 

Definition at line 148 of file patch.h.

00148 {}

NL3D::CPatchIdent::CPatchIdent sint32  zoneId,
uint16  patchId
[inline]
 

Definition at line 150 of file patch.h.

References sint32, and uint16.

00150 : ZoneId(zoneId), PatchId(patchId) {}


Member Function Documentation

bool NL3D::CPatchIdent::operator!= const CPatchIdent p  )  const [inline]
 

Definition at line 162 of file patch.h.

00163         {
00164                 return !(*this==p);
00165         }

bool NL3D::CPatchIdent::operator< const CPatchIdent p  )  const [inline]
 

Definition at line 152 of file patch.h.

References PatchId, and ZoneId.

00153         {
00154                 if(ZoneId!=p.ZoneId) return ZoneId<p.ZoneId;
00155                 return PatchId<p.PatchId;
00156         }

bool NL3D::CPatchIdent::operator== const CPatchIdent p  )  const [inline]
 

Definition at line 158 of file patch.h.

References PatchId, and ZoneId.

00159         {
00160                 return ZoneId==p.ZoneId && PatchId==p.PatchId;
00161         }


Field Documentation

uint16 NL3D::CPatchIdent::PatchId
 

Definition at line 145 of file patch.h.

Referenced by NL3D::CLandscape::addPatchBlocksInBBox(), NL3D::CLandscape::addTrianglesInBBox(), NL3D::CLandscape::addZone(), NL3D::CLandscape::appendTileLightInfluences(), NL3D::CLandscape::fillPatchQuadBlock(), NL3D::CLandscape::getLumel(), NL3D::CLandscape::getTesselatedPos(), NL3D::CLandscape::getTileElement(), operator<(), and operator==().

sint32 NL3D::CPatchIdent::ZoneId
 

Definition at line 144 of file patch.h.

Referenced by NL3D::CLandscape::addPatchBlocksInBBox(), NL3D::CLandscape::addTrianglesInBBox(), NL3D::CLandscape::addZone(), NL3D::CLandscape::appendTileLightInfluences(), NL3D::CLandscape::fillPatchQuadBlock(), NL3D::CLandscape::getLumel(), NL3D::CLandscape::getTesselatedPos(), NL3D::CLandscape::getTileElement(), operator<(), and operator==().


The documentation for this struct was generated from the following file:
Generated on Tue Mar 16 07:01:00 2004 for NeL by doxygen 1.3.6