# class cogs::Triangulation

## Overview

A Triangulation is a vector of faces (triplets of indices from a point-cloud). More…

    #include <Triangulation.h>

    class Triangulation {
    public:
        // methods

        uint32_t GetFaceCount() const;
        uint32_t GetIndexCount() const;
        void SetFaceCount(const uint32_t& new_count);
        void SetIndexCount(const uint32_t& new_count);
        void SetFaces(const std::vector<glm::uvec3>& faces);
        std::vector<glm::uvec3>& GetFaces();
        const std::vector<glm::uvec3>& GetFaces() const;
        uint32_t* GetIndices();
        const uint32_t* GetIndices() const;
    };

## Detailed Documentation

A Triangulation is a vector of faces (triplets of indices from a point-cloud).

Independence from a point-cloud is intentional - it is here to enable the case of multiple triangulations of it.