Changes in src/Plane.hpp [d4c9ae:27ac00]
- File:
-
- 1 edited
-
src/Plane.hpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Plane.hpp
rd4c9ae r27ac00 17 17 18 18 class Vector; 19 class Line; 19 20 20 21 class Plane : public Space … … 42 43 * Same as getOffset()*getNormal(); 43 44 */ 44 Vector getOffsetVector() ;45 Vector getOffsetVector() const; 45 46 46 47 /** 47 48 * returns three seperate points on this plane 48 49 */ 49 std::vector<Vector> getPointsOnPlane() ;50 std::vector<Vector> getPointsOnPlane() const; 50 51 51 52 // some calculations 52 Vector GetIntersection(const Vector &Origin, const Vector &LineVector); 53 Vector GetIntersection(const Line &Line) const; 54 55 Vector mirrorVector(const Vector &rhs) const; 56 57 /** 58 * get a Line that is orthogonal to this plane, going through a chosen 59 * point. 60 * 61 * The point does not have to lie on the plane itself. 62 */ 63 Line getOrthogonalLine(const Vector &origin) const; 53 64 54 65 /****** Methods inherited from Space ***********/
Note:
See TracChangeset
for help on using the changeset viewer.
