Penman/jni/words.cpp
bool inPointVector(Point2d a, vector<Point2d> target){
	bool result = false;
	for(unsigned int i = 0; i < target.size(); i++){
		if(target[i].x == a.x && target[i].y == a.y){
			result = true;
			break;
		}
	}
	return result;

}
/**
 * Searches a vector for the same point
 */
Searches a vector for the same point
Searches a vector for the same point
bool inPointVector(Point2d a, vector<Point2d> target){
	bool result = false;
	for(unsigned int i = 0; i < target.size(); i++){
		if(target[i].x == a.x && target[i].y == a.y){
			result = true;
			break;
		}
	}
	return result;
}
bool inPointVector ( Point2d a , vector < Point2d > target ) { bool result = false ; for ( unsigned int i = 0 ; i < target . size ( ) ; i ++ ) { if ( target [ i ] . x == a . x && target [ i ] . y == a . y ) { result = true ; break ; } } return result ; }
Searches a vector for the same point
Searches a vector for the same point