Volumes/include/LinAlg/plane.h
Karl-Wilfried Zimmer 66ae828379 fixed block
2024-07-21 19:12:47 +02:00

23 lines
400 B
C++

//
// Created by nb on 21.07.24.
//
#ifndef VOLSVECS_PLANE_H
#define VOLSVECS_PLANE_H
#include "LinAlg/vector3.h"
namespace LinAlg{
class Plane{
public:
Plane(const Vector3& a, const Vector3& b, const Vector3& c): _entries{a, b-a, c-a}{};
Vector3 getNormal();
virtual ~Plane()=default;
private:
Vector3 _entries[3];
};
}
#endif //VOLSVECS_PLANE_H