OpenStructure
Public Member Functions | Static Public Member Functions
LinearPositionContainer Class Reference

#include <binary_container.hh>

Public Member Functions

 LinearPositionContainer ()
 
void Save (const std::string &filename) const
 
void AddPositions (const geom::Vec3List &positions)
 
void ClearRange (std::pair< uint64_t, uint64_t > range)
 
void GetPosition (uint64_t idx, geom::Vec3 &pos) const
 
void GetPositions (std::pair< uint64_t, uint64_t > range, geom::Vec3List &positions) const
 
uint64_t GetNumElements () const
 
bool operator== (const LinearPositionContainer &other) const
 
bool operator!= (const LinearPositionContainer &other) const
 

Static Public Member Functions

static LinearPositionContainerPtr Load (const std::string &filename)
 

Detailed Description

Definition at line 81 of file binary_container.hh.

Constructor & Destructor Documentation

◆ LinearPositionContainer()

Definition at line 85 of file binary_container.hh.

Member Function Documentation

◆ AddPositions()

void AddPositions ( const geom::Vec3List positions)

◆ ClearRange()

void ClearRange ( std::pair< uint64_t, uint64_t range)

◆ GetNumElements()

uint64_t GetNumElements ( ) const
inline

Definition at line 100 of file binary_container.hh.

◆ GetPosition()

void GetPosition ( uint64_t  idx,
geom::Vec3 pos 
) const

◆ GetPositions()

void GetPositions ( std::pair< uint64_t, uint64_t range,
geom::Vec3List positions 
) const

◆ Load()

static LinearPositionContainerPtr Load ( const std::string &  filename)
static

◆ operator!=()

bool operator!= ( const LinearPositionContainer other) const
inline

Definition at line 107 of file binary_container.hh.

◆ operator==()

bool operator== ( const LinearPositionContainer other) const
inline

Definition at line 102 of file binary_container.hh.

◆ Save()

void Save ( const std::string &  filename) const

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