Qt 4.8
Public Functions | Properties | List of all members
QTriangulator< T >::ComplexToSimple::CompareEdges Class Reference

Public Functions

 CompareEdges (ComplexToSimple *parent)
 
bool operator() (int i, int j) const
 

Properties

ComplexToSimplem_parent
 

Detailed Description

template<typename T>
class QTriangulator< T >::ComplexToSimple::CompareEdges

Definition at line 1348 of file qtriangulator.cpp.

Constructors and Destructors

◆ CompareEdges()

template<typename T>
QTriangulator< T >::ComplexToSimple::CompareEdges::CompareEdges ( ComplexToSimple parent)
inline

Definition at line 1351 of file qtriangulator.cpp.

1351 : m_parent(parent) { }

Functions

◆ operator()()

template<typename T >
bool QTriangulator< T >::ComplexToSimple::CompareEdges::operator() ( int  i,
int  j 
) const

Definition at line 2356 of file qtriangulator.cpp.

2357 {
2359  m_parent->m_parent->m_vertices.at(m_parent->m_edges.at(j).from));
2360  if (cmp == 0) {
2363  }
2364  return cmp > 0;
2365 }
static int comparePoints(const QPodPoint &u, const QPodPoint &v)
Type & at(int i)
Definition: qdatabuffer_p.h:86
static int cmp(const ushort *s1, const ushort *s2, size_t len)
QDataBuffer< QPodPoint > m_vertices

Properties

◆ m_parent

template<typename T>
ComplexToSimple* QTriangulator< T >::ComplexToSimple::CompareEdges::m_parent
private

Definition at line 1354 of file qtriangulator.cpp.


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