<commit_before>#ifndef LOOPING_CUBIC_HERMITE_SPLINE_H
#define LOOPING_CUBIC_HERMITE_SPLINE_H

#include "cubic_hermite_spline.h"

class LoopingCubicHermiteSpline : public CubicHermiteSpline
{
//constructors
public:
    LoopingCubicHermiteSpline(const std::vector<Vector3D> &points, const std::vector<Vector3D> &tangents, double alpha = 0.0);
protected:
    //you're only allowed to create one of these without point data if a subclass is providing the point data
    LoopingCubicHermiteSpline();

//methods
protected:
    virtual Vector3D getPosition(double x) const override;
    virtual InterpolatedPT getTangent(double x) const override;
    virtual InterpolatedPTC getCurvature(double x) const override;
    virtual InterpolatedPTCW getWiggle(double x) const override;

    virtual bool isLooping(void) const override;
};

#endif // LOOPING_CUBIC_HERMITE_SPLINE_H<commit_msg>Made access to getPosition etc public<commit_after>#ifndef LOOPING_CUBIC_HERMITE_SPLINE_H
#define LOOPING_CUBIC_HERMITE_SPLINE_H

#include "cubic_hermite_spline.h"

class LoopingCubicHermiteSpline : public CubicHermiteSpline
{
//constructors
public:
    LoopingCubicHermiteSpline(const std::vector<Vector3D> &points, const std::vector<Vector3D> &tangents, double alpha = 0.0);
protected:
    //you're only allowed to create one of these without point data if a subclass is providing the point data
    LoopingCubicHermiteSpline();

//methods
public:
    virtual Vector3D getPosition(double x) const override;
    virtual InterpolatedPT getTangent(double x) const override;
    virtual InterpolatedPTC getCurvature(double x) const override;
    virtual InterpolatedPTCW getWiggle(double x) const override;

    virtual bool isLooping(void) const override;
};

#endif // LOOPING_CUBIC_HERMITE_SPLINE_H
{'fraction_non_alphanumeric': 0.0686550365785031, 'fraction_numerical': 0.005627462014631401, 'mean_word_length': 5.891472868217054, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '135530', 'n_tokens_mistral': 612, 'n_tokens_neox': 598, 'n_words': 154}