<commit_before>// Polygon.cpp
// Copyright (c) 2009, Perttu "celero55" Ahola
// This program is released under the BSD license. See the file COPYING for details.

//#ifndef UNITTEST_NO_HEEKS
	#include "stdafx.h"
//#endif // I was getting error, building in Windows ( VS 2008 ): 1>.\Polygon.cpp(7) : fatal error C1020: unexpected #endif
// Changed "stdafx.h" to <stdafx.h> and created an empty file to the unittest directory, to make unittest/Polygontest to build.

#include "Polygon.h"

//UnionPolygons_old debug
#ifndef UPODEBUG
	#define UPODEBUG 0
#endif
//general debug
#ifndef DEBUG
	#define DEBUG 1
#endif
//SweepLine debug
#ifndef SLDEBUG
	#define SLDEBUG 0
#endif

const char *PDstr(PolygonDirection d)
{
	switch(d)
	{
	case PolyCW: return "PolyCW";
	case PolyCCW: return "PolyCCW";
	case PolyUndefinedW: return "PolyUndefinedW";<commit_msg>oops, actually forgot the <>-part<commit_after>// Polygon.cpp
// Copyright (c) 2009, Perttu "celero55" Ahola
// This program is released under the BSD license. See the file COPYING for details.

//#ifndef UNITTEST_NO_HEEKS
	#include <stdafx.h>
//#endif // I was getting error, building in Windows ( VS 2008 ): 1>.\Polygon.cpp(7) : fatal error C1020: unexpected #endif
// Changed "stdafx.h" to <stdafx.h> and created an empty file to the unittest directory, to make unittest/Polygontest to build.

#include "Polygon.h"

//UnionPolygons_old debug
#ifndef UPODEBUG
	#define UPODEBUG 0
#endif
//general debug
#ifndef DEBUG
	#define DEBUG 1
#endif
//SweepLine debug
#ifndef SLDEBUG
	#define SLDEBUG 0
#endif

const char *PDstr(PolygonDirection d)
{
	switch(d)
	{
	case PolyCW: return "PolyCW";
	case PolyCCW: return "PolyCCW";
	case PolyUndefinedW: return "PolyUndefinedW";
{'fraction_non_alphanumeric': 0.10839160839160839, 'fraction_numerical': 0.022144522144522144, 'mean_word_length': 4.39937106918239, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6838055', 'n_tokens_mistral': 632, 'n_tokens_neox': 594, 'n_words': 209}