|
Last change
on this file since 15061 was 13622, checked in by Mathieu Morlighem, 13 years ago |
|
CHG: cosmetics, removing all deboule blank lines and indent single white lines correctly
|
|
File size:
813 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 | /*FUNCTION VertexOnVertex::VertexOnVertex(){{{*/
|
|---|
| 13 | VertexOnVertex::VertexOnVertex() {
|
|---|
| 14 | v=NULL;
|
|---|
| 15 | bv=NULL;
|
|---|
| 16 | };/*}}}*/
|
|---|
| 17 | /*FUNCTION VertexOnVertex::VertexOnVertex(BamgVertex * w,BamgVertex *bw){{{*/
|
|---|
| 18 | VertexOnVertex::VertexOnVertex(BamgVertex * w,BamgVertex *bw) :v(w),bv(bw){
|
|---|
| 19 |
|
|---|
| 20 | }/*}}}*/
|
|---|
| 21 |
|
|---|
| 22 | /*Methods*/
|
|---|
| 23 | /*FUNCTION VertexOnVertex::Set{{{*/
|
|---|
| 24 | void VertexOnVertex::Set(const Mesh &Th ,long i,Mesh &ThNew) {
|
|---|
| 25 | *this = Th.VertexOnBThVertex[i];
|
|---|
| 26 | v = ThNew.vertices + Th.GetId(v);
|
|---|
| 27 | }
|
|---|
| 28 | /*}}}*/
|
|---|
| 29 | /*FUNCTION VertexOnVertex::SetOnBTh{{{*/
|
|---|
| 30 | void VertexOnVertex::SetOnBTh(){
|
|---|
| 31 | v->BackgroundVertexHook=bv;v->IndexInTriangle=IsVertexOnVertex;
|
|---|
| 32 | }/*}}}*/
|
|---|
| 33 |
|
|---|
| 34 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.