atlas::interpolation::element::Triag2D class

Constructors, destructors, conversion operators

Triag2D(const double* x0, const double* x1, const double* x2)
Triag2D(const PointXY& x0, const PointXY& x1, const PointXY& x2)
Triag2D(const Vector2D& x0, const Vector2D& x1, const Vector2D& x2)

Public functions

auto intersects(const PointXY& r, double edgeEpsilon = 5*std::numeric_limits<double>::epsilon(), double epsilon = 5*std::numeric_limits<double>::epsilon()) const -> method::Intersect
auto validate() const -> bool
auto area() const -> double
void print(std::ostream&) const
auto p(int i) -> const Vector2D&

Friends

auto operator<<(std::ostream& s, const Triag2D& p) -> std::ostream&