Gemmi C++ API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
gemmi::Box< Pos > Struct Template Reference

#include <math.hpp>

Public Member Functions

void extend (const Pos &p)
 
Pos get_size () const
 
void add_margins (const Pos &p)
 
void add_margin (double m)
 

Public Attributes

Pos minimum = Pos(INFINITY, INFINITY, INFINITY)
 
Pos maximum = Pos(-INFINITY, -INFINITY, -INFINITY)
 

Detailed Description

template<typename Pos>
struct gemmi::Box< Pos >

Definition at line 423 of file math.hpp.

Member Function Documentation

◆ extend()

template<typename Pos >
void gemmi::Box< Pos >::extend ( const Pos p)
inline

Definition at line 426 of file math.hpp.

◆ get_size()

template<typename Pos >
Pos gemmi::Box< Pos >::get_size ( ) const
inline

Definition at line 434 of file math.hpp.

◆ add_margins()

template<typename Pos >
void gemmi::Box< Pos >::add_margins ( const Pos p)
inline

Definition at line 435 of file math.hpp.

◆ add_margin()

template<typename Pos >
void gemmi::Box< Pos >::add_margin ( double  m)
inline

Definition at line 436 of file math.hpp.

Member Data Documentation

◆ minimum

template<typename Pos >
Pos gemmi::Box< Pos >::minimum = Pos(INFINITY, INFINITY, INFINITY)

Definition at line 424 of file math.hpp.

◆ maximum

template<typename Pos >
Pos gemmi::Box< Pos >::maximum = Pos(-INFINITY, -INFINITY, -INFINITY)

Definition at line 425 of file math.hpp.


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