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 401 of file math.hpp.

Member Function Documentation

◆ extend()

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

Definition at line 404 of file math.hpp.

◆ get_size()

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

Definition at line 412 of file math.hpp.

◆ add_margins()

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

Definition at line 413 of file math.hpp.

◆ add_margin()

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

Definition at line 414 of file math.hpp.

Member Data Documentation

◆ minimum

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

Definition at line 402 of file math.hpp.

◆ maximum

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

Definition at line 403 of file math.hpp.


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