EMAN2
Public Member Functions | Public Attributes | List of all members
EMAN::UnevenMatrix::Xdim Struct Reference

struct to define x dimension size for each y, x0 is inclusive, x1 is one after the maximum, [x0, x1), so the corresponding x dim size is (x1-x0) More...

#include <polardata.h>

Public Member Functions

 Xdim ()
 
 Xdim (int i0, int i1)
 

Public Attributes

int x0
 
int x1
 

Detailed Description

struct to define x dimension size for each y, x0 is inclusive, x1 is one after the maximum, [x0, x1), so the corresponding x dim size is (x1-x0)

Definition at line 110 of file polardata.h.

Constructor & Destructor Documentation

◆ Xdim() [1/2]

EMAN::UnevenMatrix::Xdim::Xdim ( )
inline

Definition at line 113 of file polardata.h.

113{}

◆ Xdim() [2/2]

EMAN::UnevenMatrix::Xdim::Xdim ( int  i0,
int  i1 
)
inline

Definition at line 114 of file polardata.h.

114 : x0(i0), x1(i1) {
115 if( x1 <= x0 ) {
116 LOGERR("x dimension error ... x0(%d) > x1(%d)", x0, x1);
117 }
118 }
#define LOGERR
Definition: log.h:51

References LOGERR, x0, and x1.

Member Data Documentation

◆ x0

int EMAN::UnevenMatrix::Xdim::x0

Definition at line 111 of file polardata.h.

Referenced by Xdim().

◆ x1

int EMAN::UnevenMatrix::Xdim::x1

Definition at line 112 of file polardata.h.

Referenced by Xdim().


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