Public Member Functions | Protected Attributes
bugl_normal_point_2d Class Reference

a specification of template class bugl_gaussian_point_2d. More...

#include <bugl_normal_point_2d.h>

Inheritance diagram for bugl_normal_point_2d:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 bugl_normal_point_2d (vgl_point_2d< double > &p, vnl_matrix_fixed< double, 2, 2 > &s)
 bugl_normal_point_2d (double x, double y, vnl_matrix_fixed< double, 2, 2 > &s)
 bugl_normal_point_2d (bugl_normal_point_2d const &p)
 bugl_normal_point_2d ()
 ~bugl_normal_point_2d ()
vnl_matrix_fixed< double, 2, 2 > get_covariant_matrix () const
void set_covariant_matrix (vnl_matrix_fixed< double, 2, 2 > const &s)
double prob_at (vgl_point_2d< double > const &p) const
 probability density at point p.
bool exists () const
void set_point ()
 set as if this point is not initialised (as with default constructor).
void set_point (vgl_point_2d< double > const &p)
bool operator== (vgl_point_2d< double >const &p) const
bool operator!= (vgl_point_2d< double >const &p) const
double & x ()
double x () const
double & y ()
double y () const
void set (doublepx, doublepy)
void set (doubleconst p[2])
bool ideal (double=(double) 0) const
vcl_istream & read (vcl_istream &is)
vgl_point_2d< T > vgl_closest_point_origin (vgl_line_2d< T > const &l)
double vgl_distance (vgl_point_2d< T >const &p1, vgl_point_2d< T >const &p2)
bool vgl_intersection (vgl_point_2d< T > const &p0, vgl_point_2d< T > const &p1)
bool vgl_intersection (vgl_point_3d< T > const &p0, vgl_point_3d< T > const &p1)
bool vgl_intersection (vgl_point_2d< T > const &p1, vgl_point_2d< T > const &p2, vgl_point_2d< T > const &q1, vgl_point_2d< T > const &q2, double tol=1e-6)
vcl_vector< vgl_point_2d< T > > vgl_intersection (vgl_polygon< T > const &poly, vgl_line_2d< T > const &line)
vcl_ostream & operator<< (vcl_ostream &s, vgl_point_2d< double > const &p)
vcl_istream & operator>> (vcl_istream &s, vgl_point_2d< double > &p)
vgl_vector_2d< double > operator- (vgl_point_2d< double > const &p1, vgl_point_2d< double > const &p2)
vgl_point_2d< double > operator- (vgl_point_2d< double > const &p, vgl_vector_2d< double > const &v)
vgl_point_2d< double > operator+ (vgl_point_2d< double > const &p, vgl_vector_2d< double > const &v)
vgl_point_2d< double > & operator+= (vgl_point_2d< double > &p, vgl_vector_2d< double > const &v)
vgl_point_2d< double > & operator-= (vgl_point_2d< double > &p, vgl_vector_2d< double > const &v)
double cross_ratio (vgl_point_2d< T >const &p1, vgl_point_2d< T >const &p2, vgl_point_2d< T >const &p3, vgl_point_2d< T >const &p4)
bool collinear (vgl_point_2d< double > const &p1, vgl_point_2d< double > const &p2, vgl_point_2d< double > const &p3)
double ratio (vgl_point_2d< double > const &p1, vgl_point_2d< double > const &p2, vgl_point_2d< double > const &p3)
vgl_point_2d< double > midpoint (vgl_point_2d< double > const &p1, vgl_point_2d< double > const &p2, doublef=(double) 0.5)
vgl_point_2d< double > centre (vgl_point_2d< double > const &p1, vgl_point_2d< double > const &p2)
vgl_point_2d< double > centre (vgl_point_2d< double > const &p1, vgl_point_2d< double > const &p2, vgl_point_2d< double > const &p3)
vgl_point_2d< double > centre (vgl_point_2d< double > const &p1, vgl_point_2d< double > const &p2, vgl_point_2d< double > const &p3, vgl_point_2d< double > const &p4)
vgl_point_2d< double > centre (vcl_vector< vgl_point_2d< double > > const &v)
void ref ()
void unref ()
int get_references () const
bool is_referenced () const

Protected Attributes

bool exists_

Detailed Description

a specification of template class bugl_gaussian_point_2d.

Definition at line 19 of file bugl_normal_point_2d.h.


Constructor & Destructor Documentation

bugl_normal_point_2d::bugl_normal_point_2d ( vgl_point_2d< double > &  p,
vnl_matrix_fixed< double, 2, 2 > &  s 
) [inline]

Definition at line 22 of file bugl_normal_point_2d.h.

bugl_normal_point_2d::bugl_normal_point_2d ( double  x,
double  y,
vnl_matrix_fixed< double, 2, 2 > &  s 
) [inline]

Definition at line 25 of file bugl_normal_point_2d.h.

bugl_normal_point_2d::bugl_normal_point_2d ( bugl_normal_point_2d const &  p) [inline]

Definition at line 28 of file bugl_normal_point_2d.h.

bugl_normal_point_2d::bugl_normal_point_2d ( ) [inline]

Definition at line 31 of file bugl_normal_point_2d.h.

bugl_normal_point_2d::~bugl_normal_point_2d ( ) [inline]

Definition at line 33 of file bugl_normal_point_2d.h.


Member Function Documentation

vgl_point_2d< double > vgl_point_2d< double >::centre ( vgl_point_2d< double > const &  p1,
vgl_point_2d< double > const &  p2 
) [inherited]
vgl_point_2d< double > vgl_point_2d< double >::centre ( vgl_point_2d< double > const &  p1,
vgl_point_2d< double > const &  p2,
vgl_point_2d< double > const &  p3 
) [inherited]
vgl_point_2d< double > vgl_point_2d< double >::centre ( vgl_point_2d< double > const &  p1,
vgl_point_2d< double > const &  p2,
vgl_point_2d< double > const &  p3,
vgl_point_2d< double > const &  p4 
) [inherited]
vgl_point_2d< double > vgl_point_2d< double >::centre ( vcl_vector< vgl_point_2d< double > > const &  v) [inherited]
bool vgl_point_2d< double >::collinear ( vgl_point_2d< double > const &  p1,
vgl_point_2d< double > const &  p2,
vgl_point_2d< double > const &  p3 
) [inherited]
double vgl_point_2d< double >::cross_ratio ( vgl_point_2d< T >const &  p1,
vgl_point_2d< T >const &  p2,
vgl_point_2d< T >const &  p3,
vgl_point_2d< T >const &  p4 
) [inherited]
bool bugl_uncertainty_point_2d< double >::exists ( ) const [inline, inherited]

Definition at line 25 of file bugl_uncertainty_point_2d.h.

vnl_matrix_fixed<double , 2, 2> bugl_gaussian_point_2d< double >::get_covariant_matrix ( ) const [inline, inherited]

Definition at line 31 of file bugl_gaussian_point_2d.h.

bool vgl_point_2d< double >::ideal ( double  = (Type) 0) const [inherited]
vgl_point_2d< double > vgl_point_2d< double >::midpoint ( vgl_point_2d< double > const &  p1,
vgl_point_2d< double > const &  p2,
double  f = (Type) 0.5 
) [inherited]
bool vgl_point_2d< double >::operator!= ( vgl_point_2d< double >const &  p) const [inherited]
vgl_point_2d< double > vgl_point_2d< double >::operator+ ( vgl_point_2d< double > const &  p,
vgl_vector_2d< double > const &  v 
) [inherited]
vgl_point_2d< double > & vgl_point_2d< double >::operator+= ( vgl_point_2d< double > &  p,
vgl_vector_2d< double > const &  v 
) [inherited]
vgl_vector_2d< double > vgl_point_2d< double >::operator- ( vgl_point_2d< double > const &  p1,
vgl_point_2d< double > const &  p2 
) [inherited]
vgl_point_2d< double > vgl_point_2d< double >::operator- ( vgl_point_2d< double > const &  p,
vgl_vector_2d< double > const &  v 
) [inherited]
vgl_point_2d< double > & vgl_point_2d< double >::operator-= ( vgl_point_2d< double > &  p,
vgl_vector_2d< double > const &  v 
) [inherited]
vcl_ostream & vgl_point_2d< double >::operator<< ( vcl_ostream &  s,
vgl_point_2d< double > const &  p 
) [inherited]
bool vgl_point_2d< double >::operator== ( vgl_point_2d< double >const &  p) const [inherited]
vcl_istream & vgl_point_2d< double >::operator>> ( vcl_istream &  s,
vgl_point_2d< double > &  p 
) [inherited]
double bugl_gaussian_point_2d< double >::prob_at ( vgl_point_2d< double > const &  p) const [virtual, inherited]

probability density at point p.

Implements bugl_uncertainty_point_2d< double >.

double vgl_point_2d< double >::ratio ( vgl_point_2d< double > const &  p1,
vgl_point_2d< double > const &  p2,
vgl_point_2d< double > const &  p3 
) [inherited]
vcl_istream & vgl_point_2d< double >::read ( vcl_istream &  is) [inherited]
void vgl_point_2d< double >::set ( double const  p[2]) [inherited]
void vgl_point_2d< double >::set ( double  px,
double  py 
) [inherited]
void bugl_gaussian_point_2d< double >::set_covariant_matrix ( vnl_matrix_fixed< double , 2, 2 > const &  s) [inherited]
void bugl_uncertainty_point_2d< double >::set_point ( ) [inline, inherited]

set as if this point is not initialised (as with default constructor).

Definition at line 27 of file bugl_uncertainty_point_2d.h.

void bugl_uncertainty_point_2d< double >::set_point ( vgl_point_2d< double > const &  p) [inline, inherited]

Definition at line 28 of file bugl_uncertainty_point_2d.h.

vgl_point_2d< T > vgl_point_2d< double >::vgl_closest_point_origin ( vgl_line_2d< T > const &  l) [inherited]
double vgl_point_2d< double >::vgl_distance ( vgl_point_2d< T >const &  p1,
vgl_point_2d< T >const &  p2 
) [inherited]
vcl_vector< vgl_point_2d< T > > vgl_point_2d< double >::vgl_intersection ( vgl_polygon< T > const &  poly,
vgl_line_2d< T > const &  line 
) [inherited]
bool vgl_point_2d< double >::vgl_intersection ( vgl_point_2d< T > const &  p0,
vgl_point_2d< T > const &  p1 
) [inherited]
bool vgl_point_2d< double >::vgl_intersection ( vgl_point_3d< T > const &  p0,
vgl_point_3d< T > const &  p1 
) [inherited]
bool vgl_point_2d< double >::vgl_intersection ( vgl_point_2d< T > const &  p1,
vgl_point_2d< T > const &  p2,
vgl_point_2d< T > const &  q1,
vgl_point_2d< T > const &  q2,
double  tol = 1e-6 
) [inherited]
double vgl_point_2d< double >::x ( void  ) const [inherited]
double & vgl_point_2d< double >::x ( void  ) [inherited]
double & vgl_point_2d< double >::y ( void  ) [inherited]
double vgl_point_2d< double >::y ( void  ) const [inherited]

Member Data Documentation

bool bugl_uncertainty_point_2d< double >::exists_ [protected, inherited]

Definition at line 30 of file bugl_uncertainty_point_2d.h.


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