Ice Sheet System Model  4.18
Code documentation
Public Member Functions | Data Fields
bamg::VertexOnEdge Class Reference

#include <VertexOnEdge.h>

Public Member Functions

 VertexOnEdge (BamgVertex *w, Edge *bw, double s)
 
 VertexOnEdge ()
 
 operator double () const
 
 operator BamgVertex * () const
 
 operator Edge * () const
 
BamgVertexoperator[] (int i) const
 
void SetOnBTh ()
 
void Set (const Mesh &, long, Mesh &)
 

Data Fields

BamgVertexv
 
Edgebe
 
double abcisse
 

Detailed Description

Definition at line 12 of file VertexOnEdge.h.

Constructor & Destructor Documentation

◆ VertexOnEdge() [1/2]

bamg::VertexOnEdge::VertexOnEdge ( BamgVertex w,
Edge bw,
double  s 
)
inline

Definition at line 20 of file VertexOnEdge.h.

20 :v(w),be(bw),abcisse(s) {};

◆ VertexOnEdge() [2/2]

bamg::VertexOnEdge::VertexOnEdge ( )
inline

Definition at line 21 of file VertexOnEdge.h.

21 {};

Member Function Documentation

◆ operator double()

bamg::VertexOnEdge::operator double ( ) const
inline

Definition at line 24 of file VertexOnEdge.h.

24 { return abcisse;}

◆ operator BamgVertex *()

bamg::VertexOnEdge::operator BamgVertex * ( ) const
inline

Definition at line 25 of file VertexOnEdge.h.

25 { return v;}

◆ operator Edge *()

bamg::VertexOnEdge::operator Edge * ( ) const
inline

Definition at line 26 of file VertexOnEdge.h.

26 { return be;}

◆ operator[]()

BamgVertex& bamg::VertexOnEdge::operator[] ( int  i) const
inline

Definition at line 27 of file VertexOnEdge.h.

27 { return (*be)[i];}

◆ SetOnBTh()

void bamg::VertexOnEdge::SetOnBTh ( )

Definition at line 17 of file VertexOnEdge.cpp.

17  {/*{{{*/
18  v->BackgroundEdgeHook=this;
20  }

◆ Set()

void bamg::VertexOnEdge::Set ( const Mesh Th,
long  i,
Mesh ThNew 
)

Definition at line 12 of file VertexOnEdge.cpp.

12  {/*{{{*/
13  *this = Th.VertexOnBThEdge[i];
14  v = ThNew.vertices + Th.GetId(v);
15  }

Field Documentation

◆ v

BamgVertex* bamg::VertexOnEdge::v

Definition at line 15 of file VertexOnEdge.h.

◆ be

Edge* bamg::VertexOnEdge::be

Definition at line 16 of file VertexOnEdge.h.

◆ abcisse

double bamg::VertexOnEdge::abcisse

Definition at line 17 of file VertexOnEdge.h.


The documentation for this class was generated from the following files:
bamg::BamgVertex::BackgroundEdgeHook
VertexOnEdge * BackgroundEdgeHook
Definition: BamgVertex.h:33
bamg::VertexOnEdge::be
Edge * be
Definition: VertexOnEdge.h:16
bamg::VertexOnEdge::v
BamgVertex * v
Definition: VertexOnEdge.h:15
bamg::IsVertexOnEdge
const int IsVertexOnEdge
Definition: macros.h:12
bamg::VertexOnEdge::abcisse
double abcisse
Definition: VertexOnEdge.h:17
bamg::BamgVertex::IndexInTriangle
short IndexInTriangle
Definition: BamgVertex.h:25