source:
issm/trunk-jpl/src/c/bamg/VertexOnVertex.cpp@
18064
Last change on this file since 18064 was 18064, checked in by , 11 years ago | |
---|---|
File size: 633 bytes |
Rev | Line | |
---|---|---|
[3913] | 1 | #include <cstdio> |
2 | #include <cstring> | |
3 | #include <cmath> | |
4 | #include <ctime> | |
5 | ||
6 | #include "VertexOnVertex.h" | |
[5095] | 7 | #include "Mesh.h" |
[3913] | 8 | |
9 | namespace bamg { | |
10 | ||
11 | /*Constructors/Destructors*/ | |
[18064] | 12 | VertexOnVertex::VertexOnVertex() {/*{{{*/ |
[9371] | 13 | v=NULL; |
14 | bv=NULL; | |
[5151] | 15 | };/*}}}*/ |
[18064] | 16 | VertexOnVertex::VertexOnVertex(BamgVertex * w,BamgVertex *bw) :v(w),bv(bw){/*{{{*/ |
[13622] | 17 | |
[5151] | 18 | }/*}}}*/ |
[3913] | 19 | |
20 | /*Methods*/ | |
[18064] | 21 | void VertexOnVertex::Set(const Mesh &Th ,long i,Mesh &ThNew) { /*{{{*/ |
[3913] | 22 | *this = Th.VertexOnBThVertex[i]; |
[5149] | 23 | v = ThNew.vertices + Th.GetId(v); |
[3913] | 24 | } |
25 | /*}}}*/ | |
[18064] | 26 | void VertexOnVertex::SetOnBTh(){/*{{{*/ |
[5460] | 27 | v->BackgroundVertexHook=bv;v->IndexInTriangle=IsVertexOnVertex; |
[5151] | 28 | }/*}}}*/ |
[3913] | 29 | |
30 | } |
Note:
See TracBrowser
for help on using the repository browser.