summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4a9f35d)
raw | patch | inline | side by side (parent: 4a9f35d)
author | cilix42 <cilix42@users.sourceforge.net> | |
Wed, 2 Apr 2008 12:10:32 +0000 (12:10 +0000) | ||
committer | cilix42 <cilix42@users.sourceforge.net> | |
Wed, 2 Apr 2008 12:10:32 +0000 (12:10 +0000) |
src/transf_mat_3x4.cpp | patch | blob | history | |
src/transf_mat_3x4.h | patch | blob | history |
diff --git a/src/transf_mat_3x4.cpp b/src/transf_mat_3x4.cpp
index a624fb1636bb5ef7db1f20af4ce8c4838385f11c..ec03b0de6314bf94e239d8718c5e1b3eef83d77a 100644 (file)
--- a/src/transf_mat_3x4.cpp
+++ b/src/transf_mat_3x4.cpp
return *this;
}
+void
+TransfMat3x4::copy_tmat(double rhs[3][4]) {
+ for (int i = 0; i < 3; ++i) {
+ for (int j = 0; j < 4; ++j) {
+ rhs[i][j] = tmat[i][j];
+ }
+ }
+}
void
TransfMat3x4::print () const {
diff --git a/src/transf_mat_3x4.h b/src/transf_mat_3x4.h
index 549db1c93a720c36b3d1eaffca9bcce495abdda4..58d332cb93301b1bdc923099f4f5e140e7b3c122 100644 (file)
--- a/src/transf_mat_3x4.h
+++ b/src/transf_mat_3x4.h
* Released under GNU GPL, read the file 'COPYING' for more information
*/
+#include "libnr/nr-point-fns.h"
#include "proj_pt.h"
#include "axis-manip.h"
-#include "libnr/nr-point-fns.h"
namespace Proj {
void print() const;
+ void copy_tmat(double rhs[3][4]);
+
private:
// FIXME: Is changing a single column allowed when a projective coordinate system is specified!?!?!
void normalize_column (Proj::Axis axis);