Geogram  Version 1.9.1
A programming library of geometric algorithms
GEO::Memory::PointAlignment< DIM > Struct Template Reference

Defines the memory alignment of points in a vector. More...

#include <geogram/basic/memory.h>

Static Public Attributes

static const size_t value = 1
 Alignment value in bytes. More...
 

Detailed Description

template<int DIM>
struct GEO::Memory::PointAlignment< DIM >

Defines the memory alignment of points in a vector.

PointAlignment defines the memory alignment of points of dimension DIM when they are stored contiguously in an array. The alignment value is contained in the static data member value. The PointAlignment template defines a default alignment of 1. PointAlignment template specializations define specific values for the most commonly used point dimensions.

Template Parameters
DIMthe dimension of the point.

Definition at line 209 of file memory.h.

Member Data Documentation

◆ value

template<int DIM>
const size_t GEO::Memory::PointAlignment< DIM >::value = 1
static

Alignment value in bytes.

The default value is 1 byte.

Definition at line 214 of file memory.h.


The documentation for this struct was generated from the following file: