A.I.M.S algorithms


geodesic::Interval Class Reference

#include <aims/geodesicpath/geodesic_algorithm_exact_elements.h>

Inheritance diagram for geodesic::Interval:
Collaboration diagram for geodesic::Interval:

Public Types

enum  DirectionType { FROM_FACE_0, FROM_FACE_1, FROM_SOURCE, UNDEFINED_DIRECTION }
 

Public Member Functions

 Interval ()
 
 ~Interval ()
 
double signal (double x)
 
double max_distance (double end)
 
void compute_min_distance (double stop)
 
bool operator() (interval_pointer const x, interval_pointer const y) const
 
double stop ()
 
double hypotenuse (double a, double b)
 
void find_closest_point (double const x, double const y, double &offset, double &distance)
 
double & start ()
 
double & d ()
 
double & pseudo_x ()
 
double & pseudo_y ()
 
double & min ()
 
interval_pointernext ()
 
edge_pointeredge ()
 
DirectionTypedirection ()
 
bool visible_from_source ()
 
unsigned & source_index ()
 
void initialize (edge_pointer edge, SurfacePoint *point=NULL, unsigned source_index=0)
 

Protected Attributes

double m_start
 
double m_d
 
double m_pseudo_x
 
double m_pseudo_y
 
double m_min
 
interval_pointer m_next
 
edge_pointer m_edge
 
unsigned m_source_index
 
DirectionType m_direction
 

Detailed Description

Definition at line 19 of file geodesic_algorithm_exact_elements.h.

Member Enumeration Documentation

Enumerator
FROM_FACE_0 
FROM_FACE_1 
FROM_SOURCE 
UNDEFINED_DIRECTION 

Definition at line 26 of file geodesic_algorithm_exact_elements.h.

Constructor & Destructor Documentation

geodesic::Interval::Interval ( )
inline

Definition at line 23 of file geodesic_algorithm_exact_elements.h.

geodesic::Interval::~Interval ( )
inline

Definition at line 24 of file geodesic_algorithm_exact_elements.h.

Member Function Documentation

void geodesic::Interval::compute_min_distance ( double  stop)
inline

Definition at line 72 of file geodesic_algorithm_exact_elements.h.

References geodesic::GEODESIC_INF, m_d, m_min, m_pseudo_x, m_pseudo_y, m_start, and signal().

Referenced by initialize().

double& geodesic::Interval::d ( )
inline

Definition at line 127 of file geodesic_algorithm_exact_elements.h.

References m_d.

Referenced by geodesic::GeodesicAlgorithmExact::propagate().

DirectionType& geodesic::Interval::direction ( )
inline
void geodesic::Interval::find_closest_point ( double const  x,
double const  y,
double &  offset,
double &  distance 
)
inline
double geodesic::Interval::hypotenuse ( double  a,
double  b 
)
inline

Definition at line 116 of file geodesic_algorithm_exact_elements.h.

Referenced by find_closest_point().

double geodesic::Interval::max_distance ( double  end)
inline
double& geodesic::Interval::min ( )
inline

Definition at line 130 of file geodesic_algorithm_exact_elements.h.

References m_min.

Referenced by geodesic::IntervalList::find_closest_point(), and operator()().

bool geodesic::Interval::operator() ( interval_pointer const  x,
interval_pointer const  y 
) const
inline
double& geodesic::Interval::pseudo_x ( )
inline
double& geodesic::Interval::pseudo_y ( )
inline
double geodesic::Interval::signal ( double  x)
inline
unsigned& geodesic::Interval::source_index ( )
inline
double& geodesic::Interval::start ( )
inline
bool geodesic::Interval::visible_from_source ( )
inline

Definition at line 134 of file geodesic_algorithm_exact_elements.h.

References FROM_SOURCE, and m_direction.

Member Data Documentation

double geodesic::Interval::m_d
protected
DirectionType geodesic::Interval::m_direction
protected

Definition at line 151 of file geodesic_algorithm_exact_elements.h.

Referenced by direction(), initialize(), and visible_from_source().

edge_pointer geodesic::Interval::m_edge
protected

Definition at line 149 of file geodesic_algorithm_exact_elements.h.

Referenced by edge(), find_closest_point(), initialize(), and stop().

double geodesic::Interval::m_min
protected

Definition at line 146 of file geodesic_algorithm_exact_elements.h.

Referenced by compute_min_distance(), initialize(), and min().

interval_pointer geodesic::Interval::m_next
protected

Definition at line 148 of file geodesic_algorithm_exact_elements.h.

Referenced by initialize(), next(), and stop().

double geodesic::Interval::m_pseudo_x
protected
double geodesic::Interval::m_pseudo_y
protected
unsigned geodesic::Interval::m_source_index
protected

Definition at line 150 of file geodesic_algorithm_exact_elements.h.

Referenced by initialize(), and source_index().

double geodesic::Interval::m_start
protected

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