Ignore:
Timestamp:
Apr 30, 2010, 9:03:57 AM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
7a8319
Parents:
c53e0b
git-author:
Tillmann Crueger <crueger@…> (04/30/10 08:26:28)
git-committer:
Tillmann Crueger <crueger@…> (04/30/10 09:03:57)
Message:

Added a class Space to represent general subspaces of R3 (planes and lines)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/Plane.hpp

    rc53e0b r0e9394  
    1111#include <memory>
    1212#include <vector>
     13#include "Space.hpp"
    1314
    1415class Vector;
    1516
    16 class Plane
     17class Plane : public Space
    1718{
    1819  typedef std::auto_ptr<Vector> vec_ptr;
     
    4748  Vector GetIntersection(const Vector &Origin, const Vector &LineVector);
    4849
     50  /****** Methods inherited from Space ***********/
     51
     52  virtual double distance(Vector &point);
     53  virtual Vector getClosestPoint(Vector &point);
     54  virtual bool isContained(Vector &point);
     55
     56
    4957private:
    5058  vec_ptr normalVector;
Note: See TracChangeset for help on using the changeset viewer.