source: molecuilder/src/Space.hpp@ 7a8319

Last change on this file since 7a8319 was 0e9394, checked in by Tillmann Crueger <crueger@…>, 15 years ago

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

  • Property mode set to 100644
File size: 353 bytes
Line 
1/*
2 * Space.hpp
3 *
4 * Created on: Apr 30, 2010
5 * Author: crueger
6 */
7
8#ifndef SPACE_HPP_
9#define SPACE_HPP_
10
11class Vector;
12
13class Space
14{
15public:
16 Space();
17 virtual ~Space();
18
19 virtual double distance(Vector &point)=0;
20 virtual Vector getClosestPoint(Vector &point)=0;
21 virtual bool isContained(Vector &point)=0;
22};
23
24#endif /* SPACE_HPP_ */
Note: See TracBrowser for help on using the repository browser.