MFEM  v4.6.0
Finite element discretization library
Public Member Functions | List of all members
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)
 
double GetDistanceTo (const Vector &x) const
 Compute the distance between a point and the edge. More...
 

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()

double 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: