Commit 34a71c19 authored by mattijs's avatar mattijs
Browse files

ENH: plane: null constructor so we can have a List of them

parent 931296ef
......@@ -109,6 +109,10 @@ void Foam::plane::calcPntAndVec
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
Foam::plane::plane()
{}
Foam::plane::plane(const vector& normalVector)
:
normal_(normalVector),
......
......@@ -123,6 +123,9 @@ public:
// Constructors
//- Construct null. Does not set normal and point.
plane();
//- Construct from normal vector through the origin
explicit plane(const vector& normalVector);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment