source: molecuilder/src/Space.cpp@ a71ad8

Last change on this file since a71ad8 was f70c2a, checked in by Tillmann Crueger <crueger@…>, 15 years ago

Added const correctness to plane class and simplified interface

  • Property mode set to 100644
File size: 317 bytes
Line 
1/*
2 * Space.cpp
3 *
4 * Created on: Apr 30, 2010
5 * Author: crueger
6 */
7
8#include "Space.hpp"
9#include "vector.hpp"
10
11Space::Space()
12{}
13
14Space::~Space()
15{}
16
17bool Space::hasZero() const{
18 return isContained(zeroVec);
19}
20
21bool Space::isContained(const Vector &point) const{
22 return (distance(point)) < MYEPSILON;
23}
Note: See TracBrowser for help on using the repository browser.