osgEarth 2.1.1
Public Member Functions | Public Attributes

anonymous_namespace{MeshSubdivider.cpp}::Edge Struct Reference

List of all members.

Public Member Functions

 Edge ()
 Edge (GLuint i0, GLuint i1)
bool operator< (const Edge &rhs) const
bool operator== (const Edge &rhs) const

Public Attributes

GLuint _i0
GLuint _i1

Detailed Description

Definition at line 198 of file MeshSubdivider.cpp.


Constructor & Destructor Documentation

anonymous_namespace{MeshSubdivider.cpp}::Edge::Edge ( ) [inline]

Definition at line 200 of file MeshSubdivider.cpp.

{ }
anonymous_namespace{MeshSubdivider.cpp}::Edge::Edge ( GLuint  i0,
GLuint  i1 
) [inline]

Definition at line 201 of file MeshSubdivider.cpp.

: _i0(i0), _i1(i1) { }

Member Function Documentation

bool anonymous_namespace{MeshSubdivider.cpp}::Edge::operator< ( const Edge rhs) const [inline]

Definition at line 203 of file MeshSubdivider.cpp.

                                                {
            return
                _i0 < rhs._i0 ? true :
                _i0 > rhs._i0 ? false :
                _i1 < rhs._i1 ? true :
                _i1 > rhs._i1 ? false :
                false;
        }
bool anonymous_namespace{MeshSubdivider.cpp}::Edge::operator== ( const Edge rhs) const [inline]

Definition at line 211 of file MeshSubdivider.cpp.

{ return _i0==rhs._i0 && _i1==rhs._i1; }

Member Data Documentation

GLuint anonymous_namespace{MeshSubdivider.cpp}::Edge::_i0

Definition at line 202 of file MeshSubdivider.cpp.

GLuint anonymous_namespace{MeshSubdivider.cpp}::Edge::_i1

Definition at line 202 of file MeshSubdivider.cpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines