Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

qgar::RWArcVector Class Reference
[Polygonal approximations]

#include <qgarlib/RWArcVector.H>

List of all members.


Detailed Description

A vector containing Qgar arcs.

Todo:
Author:
Christian Ah-Soon
Date:
July 3, 2001 16:29
Since:
Qgar 1.0

Definition at line 78 of file RWArcVector.H.

Public Member Functions

Constructors
 RWArcVector (RWSegmentVector &aRWvector, int thres=50)
 Construct from a vector of segments provided by the Rosin & West's method.
 RWArcVector (RWSegmentVector &aRWvector1, RWSegmentVector &aRWvector2, int thres=50)
 Construct from two vectors of segments provided by the Rosin & West's method.
Destructor
virtual ~RWArcVector ()
 Non-virtual destructor.

Protected Attributes

Thresholds
int _centerDispersionThreshold
 Threshold to estimate the dispersion of the potential centers of an arc.


Constructor & Destructor Documentation

qgar::RWArcVector::RWArcVector RWSegmentVector aRWvector,
int  thres = 50
 

Construct from a vector of segments provided by the Rosin & West's method.

Parameters:
aRWvector the vector of segments
thres threshold: when high, the arc can be far from the segments

Definition at line 745 of file RWArcVector.C.

References _centerDispersionThreshold, qgar::Math::QG_PI, qgar::qgAngle(), and RWARCVECTOR_arcs3().

qgar::RWArcVector::RWArcVector RWSegmentVector aRWvector1,
RWSegmentVector aRWvector2,
int  thres = 50
 

Construct from two vectors of segments provided by the Rosin & West's method.

Parameters:
aRWvector1 first vector of segments
aRWvector2 second vector of segments
thres threshold: when high, the arc can be far from the segments
Warning:
The two vectors must have one common extremity.

Definition at line 798 of file RWArcVector.C.

References _centerDispersionThreshold, qgar::Math::QG_PI, qgar::qgAngle(), and RWARCVECTOR_arcs3().

qgar::RWArcVector::~RWArcVector  )  [virtual]
 

Non-virtual destructor.

Definition at line 910 of file RWArcVector.C.


Member Data Documentation

int qgar::RWArcVector::_centerDispersionThreshold [protected]
 

Threshold to estimate the dispersion of the potential centers of an arc.

Definition at line 138 of file RWArcVector.H.

Referenced by RWArcVector().


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