ConvolutionModel::Offset Struct Reference

#include <convolution.h>

Collaboration diagram for ConvolutionModel::Offset:

Public Member Functions

bool operator< (const Offset &other) const
 
bool operator<= (const Offset &other) const
 
bool operator== (const Offset &other) const
 

Public Attributes

int32 time_offset
 
int32 height_offset
 

Detailed Description

Definition at line 135 of file convolution.h.

Member Function Documentation

◆ operator<()

bool operator< ( const Offset other) const
inline

Definition at line 139 of file convolution.h.

References ConvolutionModel::Offset::height_offset, and ConvolutionModel::Offset::time_offset.

139  {
140  if (time_offset < other.time_offset) return true;
141  else if (time_offset > other.time_offset) return false;
142  else return height_offset < other.height_offset;
143  }

◆ operator<=()

bool operator<= ( const Offset other) const
inline

Definition at line 144 of file convolution.h.

References ConvolutionModel::Offset::height_offset, and ConvolutionModel::Offset::time_offset.

144  {
145  if (time_offset < other.time_offset) return true;
146  else if (time_offset > other.time_offset) return false;
147  else return height_offset <= other.height_offset;
148  }

◆ operator==()

bool operator== ( const Offset other) const
inline

Member Data Documentation

◆ height_offset

◆ time_offset


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