<commit_before>//
// Location classes
//
// Copyright (c) 2002-2004 Virtual Terrain Project
// Free for all uses, see license.txt for details.
//

#ifndef LOCATION_H
#define LOCATION_H

#include "vtdata/vtString.h"
#include "vtdata/Projections.h"
#include "vtdata/LocalConversion.h"
#include "vtdata/config_vtdata.h"

#if SUPPORT_WSTRING
	#define LocNameString wstring2
#else
	#define LocNameString std::string
#endif


/**
 * A location is represented as a earth-coordinate point, an elevation,
 * and an orientation.  The point is always in Geographic coordinates
 * (Latitude/Longitude, WGS84).  It should be converted to and from
 * the actual, desired CS as appropriate.
 */
class vtLocation
{
public:
	vtLocation() {}
	vtLocation(const vtLocation &v) { *this = v; }
	vtLocation &operator=(const vtLocation &v)
	{
		m_strName = v.m_strName;
		m_pos1 = v.m_pos1;
		m_fElevation1 = v.m_fElevation1;
		m_pos2 = v.m_pos2;
		m_fElevation2 = v.m_fElevation2;
		return *this;
	}

	LocNameString m_strName;
<commit_msg>moved config_vtdata.h inclusion to vtlib.h<commit_after>//
// Location classes
//
// Copyright (c) 2002-2004 Virtual Terrain Project
// Free for all uses, see license.txt for details.
//

#ifndef LOCATION_H
#define LOCATION_H

#include "vtdata/vtString.h"
#include "vtdata/Projections.h"
#include "vtdata/LocalConversion.h"

#if SUPPORT_WSTRING
	#define LocNameString wstring2
#else
	#define LocNameString std::string
#endif


/**
 * A location is represented as a earth-coordinate point, an elevation,
 * and an orientation.  The point is always in Geographic coordinates
 * (Latitude/Longitude, WGS84).  It should be converted to and from
 * the actual, desired CS as appropriate.
 */
class vtLocation
{
public:
	vtLocation() {}
	vtLocation(const vtLocation &v) { *this = v; }
	vtLocation &operator=(const vtLocation &v)
	{
		m_strName = v.m_strName;
		m_pos1 = v.m_pos1;
		m_fElevation1 = v.m_fElevation1;
		m_pos2 = v.m_pos2;
		m_fElevation2 = v.m_fElevation2;
		return *this;
	}

	LocNameString m_strName;

{'fraction_non_alphanumeric': 0.10606808090774544, 'fraction_numerical': 0.018746916625555006, 'mean_word_length': 4.24031007751938, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3080962', 'n_tokens_mistral': 777, 'n_tokens_neox': 726, 'n_words': 204}