Gemmi C++ API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
gemmi::NearestImage Struct Reference

Result of find_nearest_image. More...

#include <unitcell.hpp>

Public Member Functions

double dist () const
 
bool same_asu () const
 
std::string symmetry_code (bool underscore) const
 Returns a string such as 1555 or 1_555.
 

Public Attributes

double dist_sq
 
int pbc_shift [3] = { 0, 0, 0 }
 
int sym_idx = 0
 

Detailed Description

Result of find_nearest_image.

Definition at line 79 of file unitcell.hpp.

Member Function Documentation

◆ dist()

double gemmi::NearestImage::dist ( ) const
inline

Definition at line 84 of file unitcell.hpp.

◆ same_asu()

bool gemmi::NearestImage::same_asu ( ) const
inline

Definition at line 85 of file unitcell.hpp.

◆ symmetry_code()

std::string gemmi::NearestImage::symmetry_code ( bool  underscore) const
inline

Returns a string such as 1555 or 1_555.

Definition at line 90 of file unitcell.hpp.

Member Data Documentation

◆ dist_sq

double gemmi::NearestImage::dist_sq

Definition at line 80 of file unitcell.hpp.

◆ pbc_shift

int gemmi::NearestImage::pbc_shift[3] = { 0, 0, 0 }

Definition at line 81 of file unitcell.hpp.

◆ sym_idx

int gemmi::NearestImage::sym_idx = 0

Definition at line 82 of file unitcell.hpp.


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