OctahedronPolygon.hpp   OctahedronPolygon.hpp
skipping to change at line 29 skipping to change at line 29
#ifndef _OCTAHEDRON_REGION_HPP_ #ifndef _OCTAHEDRON_REGION_HPP_
#define _OCTAHEDRON_REGION_HPP_ #define _OCTAHEDRON_REGION_HPP_
#include <QVector> #include <QVector>
#include <QDebug> #include <QDebug>
#include <QVarLengthArray> #include <QVarLengthArray>
#include "VecMath.hpp" #include "VecMath.hpp"
#include "StelVertexArray.hpp" #include "StelVertexArray.hpp"
//! @struct EdgeVertex
//! Describe a vertex composing polygon contours, and whether it belong to
an edge or not.
struct EdgeVertex struct EdgeVertex
{ {
EdgeVertex() : edgeFlag(false) {;} EdgeVertex() : edgeFlag(false) {;}
EdgeVertex(bool b) : edgeFlag(b) {;} EdgeVertex(bool b) : edgeFlag(b) {;}
EdgeVertex(const Vec3d& v, bool b) : vertex(v), edgeFlag(b) {;} EdgeVertex(const Vec3d& v, bool b) : vertex(v), edgeFlag(b) {;}
//! The normalized vertex direction.
Vec3d vertex; Vec3d vertex;
//! Set to true if the vertex is part of at least one edge segment, i.e. it lays on the boundary of the polygon.
bool edgeFlag; bool edgeFlag;
}; };
Q_DECLARE_TYPEINFO(EdgeVertex, Q_PRIMITIVE_TYPE); Q_DECLARE_TYPEINFO(EdgeVertex, Q_PRIMITIVE_TYPE);
QDataStream& operator<<(QDataStream& out, const EdgeVertex&); QDataStream& operator<<(QDataStream& out, const EdgeVertex&);
QDataStream& operator>>(QDataStream& in, EdgeVertex&); QDataStream& operator>>(QDataStream& in, EdgeVertex&);
class SubContour : public QVector<EdgeVertex> class SubContour : public QVector<EdgeVertex>
{ {
End of changes. 3 change blocks.
0 lines changed or deleted 5 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/