Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::DefaultScanBinder::CheckPosition Struct Reference

Structure to hold and compare check positions. More...

#include <DefaultScanBinder.h>

Public Member Functions

 CheckPosition ()
 
 CheckPosition (const CheckPosition &p)
 
bool isEqual (const CheckPosition &p) const
 
bool operator== (const CheckPosition &p) const
 Compare equal operator.
 
bool operator!= (const CheckPosition &p) const
 Compare unequal operator.
 
std::string toString () const
 Writes a check position to string.
 
bool fromString (const std::string &s)
 Reads a check position from string.
 

Public Attributes

double _line
 Scan line. Is always between 0 and 1.
 
double _frac
 Scan line fraction. Is always between 0 and 1.
 
bool _perp
 Beam perpendicular to the surface.
 

Detailed Description

Structure to hold and compare check positions.

Constructor & Destructor Documentation

◆ CheckPosition() [1/2]

sf::DefaultScanBinder::CheckPosition::CheckPosition ( )
inline

◆ CheckPosition() [2/2]

sf::DefaultScanBinder::CheckPosition::CheckPosition ( const CheckPosition p)
inline

Member Function Documentation

◆ fromString()

bool sf::DefaultScanBinder::CheckPosition::fromString ( const std::string &  s)

Reads a check position from string.

◆ isEqual()

bool sf::DefaultScanBinder::CheckPosition::isEqual ( const CheckPosition p) const
inline

◆ operator!=()

bool sf::DefaultScanBinder::CheckPosition::operator!= ( const CheckPosition p) const
inline

Compare unequal operator.

◆ operator==()

bool sf::DefaultScanBinder::CheckPosition::operator== ( const CheckPosition p) const
inline

Compare equal operator.

◆ toString()

std::string sf::DefaultScanBinder::CheckPosition::toString ( ) const

Writes a check position to string.

Member Data Documentation

◆ _frac

double sf::DefaultScanBinder::CheckPosition::_frac

Scan line fraction. Is always between 0 and 1.

◆ _line

double sf::DefaultScanBinder::CheckPosition::_line

Scan line. Is always between 0 and 1.

◆ _perp

bool sf::DefaultScanBinder::CheckPosition::_perp

Beam perpendicular to the surface.


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