1 #ifndef ABLATELIBRARY_TRIANGLE_HPP
2 #define ABLATELIBRARY_TRIANGLE_HPP
5 #include "cylinderShell.hpp"
7 namespace ablate::mathFunctions::geom {
17 std::array<double, 3> point1 = {0, 0, 0};
18 std::array<double, 3> point2 = {0, 0, 0};
19 std::array<double, 3> point3 = {0, 0, 0};
22 const double maxDistance;
27 std::array<double, 3> sideNorm1 = {0, 0, 0};
28 std::array<double, 3> sideNorm2 = {0, 0, 0};
29 std::array<double, 3> sideNorm3 = {0, 0, 0};
30 std::array<double, 3> triangleNorm = {0, 0, 0};
33 Triangle(std::vector<double> pt0, std::vector<double> pt1, std::vector<double> pt2,
double maxDistance = {},
const std::shared_ptr<mathFunctions::MathFunction>& insideValues = {},
34 const std::shared_ptr<mathFunctions::MathFunction>& outsideValues = {});
36 bool InsideGeometry(
const double* xyz,
const int& ndims,
const double& time)
const override;
Definition: geometry.hpp:9
Definition: triangle.hpp:12
bool InsideGeometry(const double *xyz, const int &ndims, const double &time) const override
Definition: triangle.cpp:44