Hugin trunk 0.1
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
HuginLines::VerticalLine Class Reference

Public Member Functions

void SetStart (const vigra::Point2D point)
 
void SetStart (const int x, const int y)
 
void SetEnd (const vigra::Point2D point)
 
void SetEnd (const int x, const int y)
 
double GetLineLength () const
 
double GetEstimatedDistance (const VerticalLine &otherLine) const
 
double GetAngle () const
 
const vigra::Point2D & GetStart () const
 
const vigra::Point2D & GetEnd () const
 
const bool IsVertical () const
 

Private Attributes

vigra::Point2D m_start
 
vigra::Point2D m_end
 

Detailed Description

Definition at line 173 of file FindLines.cpp.

Member Function Documentation

◆ GetAngle()

double HuginLines::VerticalLine::GetAngle ( ) const
inline

Definition at line 214 of file FindLines.cpp.

References m_end, m_start, and threshold().

◆ GetEnd()

const vigra::Point2D & HuginLines::VerticalLine::GetEnd ( ) const
inline

Definition at line 222 of file FindLines.cpp.

References m_end.

◆ GetEstimatedDistance()

double HuginLines::VerticalLine::GetEstimatedDistance ( const VerticalLine otherLine) const
inline

Definition at line 196 of file FindLines.cpp.

References HuginLines::GetFootpoint(), m_end, m_start, and threshold().

◆ GetLineLength()

double HuginLines::VerticalLine::GetLineLength ( ) const
inline

Definition at line 192 of file FindLines.cpp.

References m_end, and m_start.

◆ GetStart()

const vigra::Point2D & HuginLines::VerticalLine::GetStart ( ) const
inline

Definition at line 218 of file FindLines.cpp.

References m_start.

◆ IsVertical()

const bool HuginLines::VerticalLine::IsVertical ( ) const
inline

Definition at line 226 of file FindLines.cpp.

References m_end, and m_start.

◆ SetEnd() [1/2]

void HuginLines::VerticalLine::SetEnd ( const int  x,
const int  y 
)
inline

Definition at line 188 of file FindLines.cpp.

References m_end.

◆ SetEnd() [2/2]

void HuginLines::VerticalLine::SetEnd ( const vigra::Point2D  point)
inline

Definition at line 184 of file FindLines.cpp.

References m_end.

◆ SetStart() [1/2]

void HuginLines::VerticalLine::SetStart ( const int  x,
const int  y 
)
inline

Definition at line 180 of file FindLines.cpp.

References m_start.

◆ SetStart() [2/2]

void HuginLines::VerticalLine::SetStart ( const vigra::Point2D  point)
inline

Definition at line 176 of file FindLines.cpp.

References m_start.

Member Data Documentation

◆ m_end

vigra::Point2D HuginLines::VerticalLine::m_end
private

◆ m_start

vigra::Point2D HuginLines::VerticalLine::m_start
private

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