All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
dbsPoint Struct Reference

#include <DBScanAlg.h>

Public Member Functions

 dbsPoint (double X=0.0, double Y=0.0, double dX=0.0, double dY=0.0)
 
BoundingBox bounds () const
 
void Expand (double DX, double DY)
 

Public Attributes

double x
 
double y
 
double dx
 
double dy
 

Detailed Description

Definition at line 35 of file DBScanAlg.h.

Constructor & Destructor Documentation

dbsPoint::dbsPoint ( double  X = 0.0,
double  Y = 0.0,
double  dX = 0.0,
double  dY = 0.0 
)
inline

Definition at line 38 of file DBScanAlg.h.

39  : x(X), y(Y), dx(dX), dy(dY){};
then echo echo For and will not be changed by echo further linking echo echo B echo The symbol is in the uninitialized data multiple common symbols may appear with the echo same name If the symbol is defined the common echo symbols are treated as undefined references For more echo details on common see the discussion of warn common echo in *Note Linker see the discussion of warn common echo in *Note Linker such as a global int variable echo as opposed to a large global array echo echo I echo The symbol is an indirect reference to another symbol This echo is a GNU extension to the a out object file format which is echo rarely used echo echo N echo The symbol is a debugging symbol echo echo R echo The symbol is in a read only data section echo echo S echo The symbol is in an uninitialized data section for small echo objects echo echo T echo The symbol is in the the normal defined echo symbol is used with no error When a weak undefined symbol echo is linked and the symbol is not the value of the echo weak symbol becomes zero with no error echo echo W echo The symbol is a weak symbol that has not been specifically echo tagged as a weak object symbol When a weak defined symbol echo is linked with a normal defined the normal defined echo symbol is used with no error When a weak undefined symbol echo is linked and the symbol is not the value of the echo weak symbol becomes zero with no error echo echo echo The symbol is a stabs symbol in an a out object file In echo this the next values printed are the stabs other echo the stabs desc and the stab type Stabs symbols are echo used to hold debugging information For more echo see *Note or object file format specific echo echo For Mac OS X
double dy
Definition: DBScanAlg.h:37
double dx
Definition: DBScanAlg.h:37
double x
Definition: DBScanAlg.h:36
double y
Definition: DBScanAlg.h:36

Member Function Documentation

BoundingBox dbsPoint::bounds ( ) const

Definition at line 37 of file DBScanAlg.cxx.

38 {
39  BoundingBox bb;
40  bb.edges[0].first = x - std::abs(dx);
41  bb.edges[0].second = x + std::abs(dx);
42 
43  bb.edges[1].first = y - std::abs(dy);
44  bb.edges[1].second = y + std::abs(dy);
45  return bb;
46 }
double dy
Definition: DBScanAlg.h:37
T abs(T value)
double dx
Definition: DBScanAlg.h:37
RTree::BoundingBox BoundingBox
Definition: DBScanAlg.h:33
double x
Definition: DBScanAlg.h:36
double y
Definition: DBScanAlg.h:36
void dbsPoint::Expand ( double  DX,
double  DY 
)
inline

Definition at line 42 of file DBScanAlg.h.

43  {
44  dx += DX;
45  dy += DY;
46  };
double dy
Definition: DBScanAlg.h:37
double dx
Definition: DBScanAlg.h:37

Member Data Documentation

double dbsPoint::dx

Definition at line 37 of file DBScanAlg.h.

double dbsPoint::dy

Definition at line 37 of file DBScanAlg.h.

double dbsPoint::x

Definition at line 36 of file DBScanAlg.h.

double dbsPoint::y

Definition at line 36 of file DBScanAlg.h.


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