Ignore:
Timestamp:
Apr 30, 2010, 9:53:16 AM (15 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
4eee8f
Parents:
cb2b9a
Message:

Added const correctness to plane class and simplified interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/Space.hpp

    rcb2b9a rf70c2a  
    1717  virtual ~Space();
    1818
    19   virtual double distance(Vector &point)=0;
    20   virtual Vector getClosestPoint(Vector &point)=0;
    21   virtual bool isContained(Vector &point)=0;
     19  virtual double distance(const Vector &point) const=0;
     20  virtual Vector getClosestPoint(const Vector &point) const=0;
     21  virtual bool isContained(const Vector &point) const;
     22  virtual bool hasZero() const;
     23
    2224};
    2325
Note: See TracChangeset for help on using the changeset viewer.