Refactor: Use VecIjk0 instead of Vec3st.

This commit is contained in:
Kristian Bendiksen committed 2025-11-17 13:04:13 +01:00
1 parent 7e299c4841
commit 5a7e987034
17 files changed
+273 -243

No files matched your search

+9
View File
@@ -38,6 +38,8 @@
#include "cafAssert.h"
#include "cvfMath.h"
namespace caf
{
//--------------------------------------------------------------------------------------------------
@@ -72,6 +74,13 @@ VecIjk1 VecIjk0::toOneBased() const
return VecIjk1( i() + 1, j() + 1, k() + 1 );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
const VecIjk0 VecIjk0::ZERO( 0, 0, 0 );
const VecIjk0 VecIjk0::UNDEFINED( cvf::UNDEFINED_SIZE_T, cvf::UNDEFINED_SIZE_T, cvf::UNDEFINED_SIZE_T );
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
+3
View File
@@ -60,6 +60,9 @@ class VecIjk0 : public VecIjk
public:
VecIjk0( size_t i, size_t j, size_t k );
VecIjk1 toOneBased() const;
static const VecIjk0 ZERO;
static const VecIjk0 UNDEFINED;
};
class VecIjk1 : public VecIjk