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