DGtal 1.4.0
Loading...
Searching...
No Matches
DGtal::experimental::ChamferNorm2D< TSpace >::LessOrEqThanAngular Struct Reference

#include <DGtal/geometry/volumes/distance/ChamferNorm2D.h>

Public Member Functions

bool operator() (const Vector &a, const Vector &b) const
 

Detailed Description

template<typename TSpace>
struct DGtal::experimental::ChamferNorm2D< TSpace >::LessOrEqThanAngular

Definition at line 162 of file ChamferNorm2D.h.

Member Function Documentation

◆ operator()()

template<typename TSpace >
bool DGtal::experimental::ChamferNorm2D< TSpace >::LessOrEqThanAngular::operator() ( const Vector & a,
const Vector & b ) const
inline

Definition at line 164 of file ChamferNorm2D.h.

165 {
166 return (( a[0]*b[1] - a[1]*b[0] ) >= 0);
167 }

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