struct cogs::PointCloud::Chunk

Overview

Group of points in a sequence. More…

struct Chunk {
    // fields

    uint32_t first;
    uint32_t last;

    // construction

    Chunk(uint32_t first, uint32_t last);

    // methods

    bool IsValid() const;
    uint32_t GetSize() const;
};

Detailed Documentation

Group of points in a sequence.

Fields

uint32_t first

First point belonging to the chunk.

uint32_t last

Last point belonging to the chunk.

Methods

bool IsValid() const

Test whether first <= last.

uint32_t GetSize() const

Returns number of points contained in the chunk.