]> Shamusworld >> Repos - architektonas/blobdiff - src/base/vectorsolutions.h
Major refactor of Architektonas: Jettisoning old cruft.
[architektonas] / src / base / vectorsolutions.h
diff --git a/src/base/vectorsolutions.h b/src/base/vectorsolutions.h
deleted file mode 100644 (file)
index fcb6508..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-#ifndef ____VECTORSOLUTIONS_H____
-#define ____VECTORSOLUTIONS_H____
-
-#include <iostream>                                                            // Needed for 'friend ostream' below
-#include "vector.h"
-
-/**
- * Represents one to 4 vectors. Typically used to return multiple
- * solutions from a function.
- */
-class VectorSolutions
-{
-       public:
-               VectorSolutions();
-               VectorSolutions(const VectorSolutions & s);
-               VectorSolutions(int num);
-               VectorSolutions(const Vector & v1);
-               VectorSolutions(const Vector & v1, const Vector & v2);
-               VectorSolutions(const Vector & v1, const Vector & v2, const Vector & v3);
-               VectorSolutions(const Vector & v1, const Vector & v2, const Vector & v3,
-                       const Vector & v4);
-               VectorSolutions(const Vector & v1, const Vector & v2, const Vector & v3,
-                       const Vector & v4, const Vector & v5);
-
-               ~VectorSolutions();
-
-               void alloc(int num);
-               void clean();
-               Vector get(int i) const;
-               int getNumber() const;
-               bool hasValid() const;
-               void set(int i, const Vector & v);
-               void setTangent(bool t);
-               bool isTangent() const;
-               Vector getClosest(const Vector & coord, double * dist = NULL, int * index = NULL) const;
-               void rotate(Vector center, double ang);
-               void scale(Vector center, Vector factor);
-
-               VectorSolutions operator=(const VectorSolutions & s);
-
-               friend std::ostream & operator<<(std::ostream & os, const VectorSolutions & s);
-
-       private:
-               Vector * vector;
-               int num;
-               bool tangent;
-};
-
-#endif // __VECTORSOLUTIONS_H____