<commit_before>#ifndef __CHUNK_HPP_INCLUDED
#define __CHUNK_HPP_INCLUDED

#include "code/ylikuutio/ontology/model.hpp"

// Each `Chunk` contains `Triangle` objects.
// The `Chunk` in which a given `Triangle` belongs to is based on either
// on its center or its centroid. Each `Triangle` belongs to exactly one
// `Chunk`. Moving the vertices of the `Triangle` may move it to some
// other `Chunk` (to an adjacent `Chunk` or to a farther `Chunk`), as
// moving vertices moves the centroid and the center of the `Triangle`.
//
// The content of any `Chunk` can be based either on some predefined
// data (eg. height map data, laser scanning data etc.) or procedurally
// (eg. Perlin noise or some other fractal). The parent of `Chunk` objects
// is a `ChunkMaster` object, that has a callback for retrieving or
// producing the content, and also the code for dividing the content into
// appropriate `Chunk` objects.
//
// Centroid:
//
// Center:
//
// From rendering point of view, `Chunk` is like `Species`, with the
// exception that `Chunk` normally contains only 1 `Object`.

namespace space_partition
{
    class Chunk: ontology::Model
    {
        public:
            // constructor.
            Chunk();<commit_msg>Edited comments: `Triangle` -> `Triangle3D`.<commit_after>#ifndef __CHUNK_HPP_INCLUDED
#define __CHUNK_HPP_INCLUDED

#include "code/ylikuutio/ontology/model.hpp"

// Each `Chunk` contains `Triangle3D` objects.
// The `Chunk` in which a given `Triangle3D` belongs to is based on either
// on its center or its centroid. Each `Triangle3D` belongs to exactly one
// `Chunk`. Moving the vertices of the `Triangle3D` may move it to some
// other `Chunk` (to an adjacent `Chunk` or to a farther `Chunk`), as
// moving vertices moves the centroid and the center of the `Triangle3D`.
//
// The content of any `Chunk` can be based either on some predefined
// data (eg. height map data, laser scanning data etc.) or procedurally
// (eg. Perlin noise or some other fractal). The parent of `Chunk` objects
// is a `ChunkMaster` object, that has a callback for retrieving or
// producing the content, and also the code for dividing the content into
// appropriate `Chunk` objects.
//
// Centroid:
//
// Center:
//
// From rendering point of view, `Chunk` is like `Species`, with the
// exception that `Chunk` normally contains only 1 `Object`.

namespace space_partition
{
    class Chunk: ontology::Model
    {
        public:
            // constructor.
            Chunk();
{'fraction_non_alphanumeric': 0.10454362685967028, 'fraction_numerical': 0.003216726980297547, 'mean_word_length': 3.3420593368237346, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '809910', 'n_tokens_mistral': 725, 'n_tokens_neox': 708, 'n_words': 324}