00001 00013 /*************************************************************************** 00014 * Copyright (C) 2007 by Jan Koci * 00015 * honza.koci@email.cz * 00016 * http://kengine.sourceforge.net/tutorial/ 00017 * * 00018 * This program is free software; you can redistribute it and/or modify * 00019 * it under the terms of the GNU General Public License as published by * 00020 * the Free Software Foundation; either version 2 of the License, or * 00021 * (at your option) any later version. * 00022 * * 00023 * This program is distributed in the hope that it will be useful, * 00024 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00025 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00026 * GNU General Public License for more details. * 00027 * * 00028 * You should have received a copy of the GNU General Public License * 00029 * along with this program; if not, write to the * 00030 * Free Software Foundation, Inc., * 00031 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 00032 ***************************************************************************/ 00033 00034 #pragma once 00035 00036 #include "../MathCore/K3dVector3.h" 00037 00038 00039 class K3dTestVertex 00040 { 00041 K3dVector3 m_kVertex; 00042 bool m_bIsTested; 00043 bool m_bIsDuplicated; 00044 00045 public: 00046 K3dTestVertex() 00047 { 00048 m_kVertex.Reset(); 00049 m_bIsTested = false; 00050 m_bIsDuplicated = false; 00051 } 00052 K3dTestVertex ( const K3dVector3 &_rkVertex ) 00053 { 00054 m_kVertex = _rkVertex; 00055 m_bIsTested = false; 00056 m_bIsDuplicated = false; 00057 } 00058 ~K3dTestVertex() {} 00059 00061 K3dVector3 &Vertex() 00062 { 00063 return m_kVertex; 00064 } 00065 00067 bool &IsTested() 00068 { 00069 return m_bIsTested; 00070 } 00071 00073 bool &IsDuplicated() 00074 { 00075 return m_bIsDuplicated; 00076 } 00077 };