#include <vdgl_edgel.h>
Public Member Functions | |
vdgl_edgel () | |
vdgl_edgel (const double x, const double y, const double grad=-1, const double theta=0) | |
~vdgl_edgel () | |
vdgl_edgel & | operator= (const vdgl_edgel &that) |
vgl_point_2d< double > | get_pt () const |
double | get_x () const |
double | get_y () const |
double | get_grad () const |
double | get_theta () const |
double | x () const |
double | y () const |
void | set_x (const double x) |
void | set_y (const double y) |
void | set_grad (const double grad) |
void | set_theta (const double theta) |
Protected Attributes | |
vgl_point_2d< double > | p_ |
double | grad_ |
double | theta_ |
Friends | |
bool | operator== (const vdgl_edgel &e1, const vdgl_edgel &e2) |
vcl_ostream & | operator<< (vcl_ostream &s, const vdgl_edgel &p) |
Definition at line 17 of file vdgl_edgel.h.
vdgl_edgel::vdgl_edgel | ( | ) | [inline] |
Definition at line 22 of file vdgl_edgel.h.
vdgl_edgel::vdgl_edgel | ( | const double | x, |
const double | y, | ||
const double | grad = -1 , |
||
const double | theta = 0 |
||
) |
Definition at line 10 of file vdgl_edgel.cxx.
vdgl_edgel::~vdgl_edgel | ( | ) | [inline] |
Definition at line 24 of file vdgl_edgel.h.
double vdgl_edgel::get_grad | ( | ) | const [inline] |
Definition at line 39 of file vdgl_edgel.h.
vgl_point_2d<double> vdgl_edgel::get_pt | ( | ) | const [inline] |
Definition at line 36 of file vdgl_edgel.h.
double vdgl_edgel::get_theta | ( | ) | const [inline] |
Definition at line 40 of file vdgl_edgel.h.
double vdgl_edgel::get_x | ( | ) | const [inline] |
Definition at line 37 of file vdgl_edgel.h.
double vdgl_edgel::get_y | ( | ) | const [inline] |
Definition at line 38 of file vdgl_edgel.h.
vdgl_edgel & vdgl_edgel::operator= | ( | const vdgl_edgel & | that | ) |
Definition at line 15 of file vdgl_edgel.cxx.
void vdgl_edgel::set_grad | ( | const double | grad | ) | [inline] |
Definition at line 47 of file vdgl_edgel.h.
void vdgl_edgel::set_theta | ( | const double | theta | ) | [inline] |
Definition at line 48 of file vdgl_edgel.h.
void vdgl_edgel::set_x | ( | const double | x | ) | [inline] |
Definition at line 45 of file vdgl_edgel.h.
void vdgl_edgel::set_y | ( | const double | y | ) | [inline] |
Definition at line 46 of file vdgl_edgel.h.
double vdgl_edgel::x | ( | void | ) | const [inline] |
Definition at line 41 of file vdgl_edgel.h.
double vdgl_edgel::y | ( | void | ) | const [inline] |
Definition at line 42 of file vdgl_edgel.h.
vcl_ostream& operator<< | ( | vcl_ostream & | s, |
const vdgl_edgel & | p | ||
) | [friend] |
Definition at line 33 of file vdgl_edgel.cxx.
bool operator== | ( | const vdgl_edgel & | e1, |
const vdgl_edgel & | e2 | ||
) | [friend] |
Definition at line 25 of file vdgl_edgel.cxx.
double vdgl_edgel::grad_ [protected] |
Definition at line 55 of file vdgl_edgel.h.
vgl_point_2d<double> vdgl_edgel::p_ [protected] |
Definition at line 54 of file vdgl_edgel.h.
double vdgl_edgel::theta_ [protected] |
Definition at line 56 of file vdgl_edgel.h.