RINGMesh  Version 5.0.0
A programming library for geological model meshes
RINGMesh::Edge< DIMENSION > Class Template Reference

#include <well.h>

Public Member Functions

 Edge (const vecn< DIMENSION > &v0, const vecn< DIMENSION > &v1)
 
const vecn< DIMENSION > & vertex (index_t i) const
 
vecn< DIMENSION > barycenter () const
 

Private Attributes

std::array< vecn< DIMENSION >, 2 > vertices_
 

Detailed Description

template<index_t DIMENSION>
class RINGMesh::Edge< DIMENSION >

Definition at line 216 of file well.h.

Constructor & Destructor Documentation

◆ Edge()

template<index_t DIMENSION>
RINGMesh::Edge< DIMENSION >::Edge ( const vecn< DIMENSION > &  v0,
const vecn< DIMENSION > &  v1 
)
inline

Definition at line 219 of file well.h.

Member Function Documentation

◆ barycenter()

template<index_t DIMENSION>
vecn< DIMENSION > RINGMesh::Edge< DIMENSION >::barycenter ( ) const
inline

Definition at line 230 of file well.h.

◆ vertex()

template<index_t DIMENSION>
const vecn< DIMENSION >& RINGMesh::Edge< DIMENSION >::vertex ( index_t  i) const
inline

Definition at line 225 of file well.h.

Member Data Documentation

◆ vertices_

template<index_t DIMENSION>
std::array< vecn< DIMENSION >, 2 > RINGMesh::Edge< DIMENSION >::vertices_
private

Definition at line 236 of file well.h.


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