From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/classNL3D_1_1CZoneSearch.html | 512 +++++++++++++++++++++++++ 1 file changed, 512 insertions(+) create mode 100644 docs/doxygen/nel/classNL3D_1_1CZoneSearch.html (limited to 'docs/doxygen/nel/classNL3D_1_1CZoneSearch.html') diff --git a/docs/doxygen/nel/classNL3D_1_1CZoneSearch.html b/docs/doxygen/nel/classNL3D_1_1CZoneSearch.html new file mode 100644 index 00000000..fb3dc26e --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CZoneSearch.html @@ -0,0 +1,512 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# 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::CZoneSearch Class Reference

CZoneSearch is a class that determine which zone cooresponding to a coordinate and zones are around a position. +More... +

+#include <zone_search.h> +

+

Inheritance diagram for NL3D::CZoneSearch: +

+ +NL3D::CZoneManager + +List of all members. + + + + + + + + + + + + + + + +

Public Methods

 CZoneSearch ()
 Constructor : Initialize some privates members. More...

std::pair< std::string, uint32getZoneName (uint x, uint y, uint cx, uint cy)
 Get the zone name corresponding to coordinate. More...

void getListZoneName (uint x, uint y, uint sizeArea, std::list< std::pair< std::string, uint32 > > &l)
uint16 getZoneId (uint x, uint y)
void getListZoneId (uint x, uint y, uint sizeArea, std::vector< uint16 > &l)
std::string getZoneNameFromId (uint16 zoneid)

Private Attributes

uint _NbZoneX
uint _NbZoneY
 Number zones on Y axis of landscape. More...

uint _SizeZoneX
uint _SizeZoneY
+

Detailed Description

+CZoneSearch is a class that determine which zone cooresponding to a coordinate and zones are around a position. +

+

+Author:
+Alain Saffray , Nevrax France
+Date:
+2000
+

+ +

+Definition at line 44 of file zone_search.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NL3D::CZoneSearch::CZoneSearch  
+
+ + + + + +
+   + + +

+Constructor : Initialize some privates members. +

+ +

+Definition at line 43 of file zone_search.cpp. +

+References _NbZoneX, _NbZoneY, _SizeZoneX, and _SizeZoneY.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void NL3D::CZoneSearch::getListZoneId uint   x,
uint   y,
uint   sizeArea,
std::vector< uint16 > &   l
+
+ + + + + +
+   + + +

+ +

+Definition at line 152 of file zone_search.cpp. +

+References _NbZoneX, _NbZoneY, _SizeZoneX, _SizeZoneY, getZoneId, NLAISCRIPT::l, x, and y. +

+Referenced by NL3D::CZoneManager::checkZonesAround.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void NL3D::CZoneSearch::getListZoneName uint   x,
uint   y,
uint   sizeArea,
std::list< std::pair< std::string, uint32 > > &   l
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
uint16 NL3D::CZoneSearch::getZoneId uint   x,
uint   y
+
+ + + + + +
+   + + +

+ +

+Definition at line 144 of file zone_search.cpp. +

+References _SizeZoneX, _SizeZoneY, x, and y. +

+Referenced by getListZoneId.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
pair< string, uint32 > NL3D::CZoneSearch::getZoneName uint   x,
uint   y,
uint   cx,
uint   cy
+
+ + + + + +
+   + + +

+Get the zone name corresponding to coordinate. +

+

+Parameters:
+ + + + + +
x  +is axis X coordinate (in meters)
y  +is axis Y coordinate (in meters)
cx  +is axis X coordinate of center area (in meters)
cy  +is axis Y coordinate of center area (in meters)
+
+Returns:
+a pair of the zone name and square distance between zone and center area (in zone unit)
+

+Definition at line 67 of file zone_search.cpp. +

+References _SizeZoneX, _SizeZoneY, x, and y.

+

+ + + + +
+ + + + + + + + + + +
std::string NL3D::CZoneSearch::getZoneNameFromId uint16   zoneid
+
+ + + + + +
+   + + +

+ +

+Definition at line 200 of file zone_search.cpp. +

+References x, and y. +

+Referenced by NL3D::CZoneManager::checkZonesAround, and NL3D::CZoneManager::isWorkComplete.

+


Member Data Documentation

+

+ + + + +
+ + +
uint NL3D::CZoneSearch::_NbZoneX [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 77 of file zone_search.h. +

+Referenced by CZoneSearch, and getListZoneId.

+

+ + + + +
+ + +
uint NL3D::CZoneSearch::_NbZoneY [private] +
+
+ + + + + +
+   + + +

+Number zones on Y axis of landscape. +

+ +

+Definition at line 80 of file zone_search.h. +

+Referenced by CZoneSearch, and getListZoneId.

+

+ + + + +
+ + +
uint NL3D::CZoneSearch::_SizeZoneX [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 83 of file zone_search.h. +

+Referenced by CZoneSearch, getListZoneId, getZoneId, and getZoneName.

+

+ + + + +
+ + +
uint NL3D::CZoneSearch::_SizeZoneY [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 86 of file zone_search.h. +

+Referenced by CZoneSearch, getListZoneId, getZoneId, and getZoneName.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1