MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::Edge Class Reference

Class that implements an edge defined by a start and end point. More...

#include <material_metrics.hpp>

Public Member Functions

 Edge (const Vector &start, const Vector &end)
 
real_t GetDistanceTo (const Vector &x) const
 Compute the distance between a point and the edge.
 

Detailed Description

Class that implements an edge defined by a start and end point.

Definition at line 23 of file material_metrics.hpp.

Constructor & Destructor Documentation

◆ Edge()

mfem::Edge::Edge ( const Vector & start,
const Vector & end )
inline

Definition at line 26 of file material_metrics.hpp.

Member Function Documentation

◆ GetDistanceTo()

real_t mfem::Edge::GetDistanceTo ( const Vector & x) const

Compute the distance between a point and the edge.

Definition at line 72 of file material_metrics.cpp.


The documentation for this class was generated from the following files: