1 #ifndef ABLATELIBRARY_CONVEXPOLYGON_HPP
2 #define ABLATELIBRARY_CONVEXPOLYGON_HPP
5 #include "geometry.hpp"
6 #include "triangle.hpp"
7 namespace ablate::mathFunctions::geom {
16 std::vector<Triangle> triangles;
19 explicit ConvexPolygon(std::vector<std::vector<double>> points,
double maxDistance = {},
const std::shared_ptr<mathFunctions::MathFunction>& insideValues = {},
20 const std::shared_ptr<mathFunctions::MathFunction>& outsideValues = {});
29 explicit ConvexPolygon(std::vector<std::shared_ptr<std::vector<double>>> points,
double maxDistance = {},
const std::shared_ptr<mathFunctions::MathFunction>& insideValues = {},
30 const std::shared_ptr<mathFunctions::MathFunction>& outsideValues = {});
32 bool InsideGeometry(
const double* xyz,
const int& ndims,
const double& time)
const override;
Definition: convexPolygon.hpp:13
bool InsideGeometry(const double *xyz, const int &ndims, const double &time) const override
Definition: convexPolygon.cpp:44
Definition: geometry.hpp:9