Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

DataPoint.cpp File Reference

#include <list>
#include <vector>
#include <iostream>
#include <CCLib\DataPoint.hpp>

Namespaces

namespace  std

Functions

int SearchPoint (vector< Point > &wave, Pt &pts)
bool ConnectivityTest (Pt &pt1, Pt &pt2)
Pt FollowingPoint (Pt &point, int direction)
bool ValidPoint (Pt &pt, int w, int h)
void VPPrint (vector< Pt > &wave)
void VVPPrint (vector< vector< Pt > > &wave)
void LPPrint (list< Pt > &stack)

Detailed Description

Author:
mathieu delalandre
Date:
04/2003
this file contains functions of point structure, for point object management

Function Documentation

bool ConnectivityTest Pt pt1,
Pt pt2
 

connectivity test between two given points

Pt FollowingPoint Pt point,
int  direction
 

find a following point according to a freeman direction

void LPPrint list< Pt > &  stack  ) 
 

print pt vector

int SearchPoint vector< Point > &  wave,
Pt pts
 

search a point into a list point and return this position

bool ValidPoint Pt pt,
int  w,
int  h
 

test a valid point according to an image's size

void VPPrint vector< Pt > &  wave  ) 
 

print pt vector

void VVPPrint vector< vector< Pt > > &  wave  ) 
 

print vector of pt vector


Generated on Mon May 31 22:42:45 2004 for CCLib by doxygen1.3