# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NL3D::CPatchInfo::CBindInfo Struct Reference

A bind Info on a edge of a patch. More...

#include <zone.h>

List of all members.

Public Methods

void serial (NLMISC::IStream &f)
 CBindInfo ()

Public Attributes

uint8 NPatchs
 The number of patchs on this edge. More...

uint16 ZoneId
 The neighbor zone of all neigbor patch. Often the same zone as the patch (but on zone border). More...

uint16 Next [4]
 The neighbor patch i. More...

uint8 Edge [4]
 On which edge of Nexti we are binded. More...


Detailed Description

A bind Info on a edge of a patch.

Entry 0 is only usefull for Bind One/One+ Entry 1 is only usefull for Bind One/Two+ Entry 2/3 is only usefull for Bind One/Four.

Definition at line 88 of file 3d/zone.h.


Constructor & Destructor Documentation

NL3D::CPatchInfo::CBindInfo::CBindInfo ( ) [inline]
 

Definition at line 105 of file 3d/zone.h.


Member Function Documentation

void NL3D::CPatchInfo::CBindInfo::serial ( NLMISC::IStream & f )
 

Definition at line 258 of file 3d/zone.cpp.


Member Data Documentation

uint8 NL3D::CPatchInfo::CBindInfo::Edge[4]
 

On which edge of Nexti we are binded.

Definition at line 101 of file 3d/zone.h.

uint8 NL3D::CPatchInfo::CBindInfo::NPatchs
 

The number of patchs on this edge.

0,1, 2 or 4. 0 means no neigbor on this edge. 5 is a special code, which means the same thing than NPatchs==1, but "I am one of the little patch connected to the bigger neigbor". Like when NPatchs==1, ZoneId, Next[0] and Edge[0] must be valid.

Definition at line 94 of file 3d/zone.h.

uint16 NL3D::CPatchInfo::CBindInfo::Next[4]
 

The neighbor patch i.

Definition at line 99 of file 3d/zone.h.

uint16 NL3D::CPatchInfo::CBindInfo::ZoneId
 

The neighbor zone of all neigbor patch. Often the same zone as the patch (but on zone border).

Definition at line 97 of file 3d/zone.h.


The documentation for this struct was generated from the following files: