All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
genblob.h File Reference

Go to the source code of this file.

Functions

int c_blob_comparator (const void *blob1p, const void *blob2p)
 

Function Documentation

int c_blob_comparator ( const void *  blob1p,
const void *  blob2p 
)

Definition at line 30 of file genblob.cpp.

33  {
34  C_BLOB *blob1 = *(C_BLOB **) blob1p;
35  C_BLOB *blob2 = *(C_BLOB **) blob2p;
36 
37  return blob1->bounding_box ().left () - blob2->bounding_box ().left ();
38 }
inT16 left() const
Definition: rect.h:68
TBOX bounding_box() const
Definition: stepblob.cpp:250