00001
00002
00003
00004 #ifndef __edu_mines_jtk_mesh_TriSurf$Node__
00005 #define __edu_mines_jtk_mesh_TriSurf$Node__
00006
00007 #pragma interface
00008
00009 #include <java/lang/Object.h>
00010 #include <gcj/array.h>
00011
00012 extern "Java"
00013 {
00014 namespace edu
00015 {
00016 namespace mines
00017 {
00018 namespace jtk
00019 {
00020 namespace mesh
00021 {
00022 class TetMesh$Node;
00023 class TriSurf$Edge;
00024 class TriSurf$Face;
00025 class TriSurf$FaceIterator;
00026 class TriSurf$Node;
00027 }
00028 }
00029 }
00030 }
00031 }
00032
00033 class edu::mines::jtk::mesh::TriSurf$Node : public ::java::lang::Object
00034 {
00035
00036 public:
00037 TriSurf$Node(jfloat, jfloat, jfloat);
00038 virtual jfloat x();
00039 virtual jfloat y();
00040 virtual jfloat z();
00041 virtual jboolean isInSurface();
00042 virtual jboolean isOnBoundary();
00043 virtual ::edu::mines::jtk::mesh::TriSurf$Edge * edgeBefore();
00044 virtual ::edu::mines::jtk::mesh::TriSurf$Edge * edgeAfter();
00045 virtual JArray< jfloat > * normalVector();
00046 virtual void normalVector(JArray< jfloat > *);
00047 virtual jint countFaces();
00048 virtual ::edu::mines::jtk::mesh::TriSurf$FaceIterator * getFaces();
00049 virtual ::java::lang::String * toString();
00050 private:
00051 void validate();
00052 void init();
00053 void setFace(::edu::mines::jtk::mesh::TriSurf$Face *);
00054 void setEdgeBefore(::edu::mines::jtk::mesh::TriSurf$Edge *);
00055 void setEdgeAfter(::edu::mines::jtk::mesh::TriSurf$Edge *);
00056 ::edu::mines::jtk::mesh::TriSurf$Face * face();
00057 ::edu::mines::jtk::mesh::TriSurf$Face * faceNext(::edu::mines::jtk::mesh::TriSurf$Face *);
00058 ::edu::mines::jtk::mesh::TriSurf$Face * facePrev(::edu::mines::jtk::mesh::TriSurf$Face *);
00059 static void accNormalVector(::edu::mines::jtk::mesh::TriSurf$Face *, JArray< jfloat > *);
00060 public:
00061 static ::edu::mines::jtk::mesh::TriSurf$Face * access$000(::edu::mines::jtk::mesh::TriSurf$Node *);
00062 static ::edu::mines::jtk::mesh::TriSurf$Face * access$100(::edu::mines::jtk::mesh::TriSurf$Node *, ::edu::mines::jtk::mesh::TriSurf$Face *);
00063 static ::edu::mines::jtk::mesh::TriSurf$Face * access$200(::edu::mines::jtk::mesh::TriSurf$Node *, ::edu::mines::jtk::mesh::TriSurf$Face *);
00064 static ::edu::mines::jtk::mesh::TriSurf$Edge * access$400(::edu::mines::jtk::mesh::TriSurf$Node *);
00065 static ::edu::mines::jtk::mesh::TriSurf$Edge * access$500(::edu::mines::jtk::mesh::TriSurf$Node *);
00066 static ::edu::mines::jtk::mesh::TetMesh$Node * access$800(::edu::mines::jtk::mesh::TriSurf$Node *);
00067 static void access$1200(::edu::mines::jtk::mesh::TriSurf$Node *);
00068 static void access$2000(::edu::mines::jtk::mesh::TriSurf$Node *, ::edu::mines::jtk::mesh::TriSurf$Face *);
00069 static void access$2100(::edu::mines::jtk::mesh::TriSurf$Node *, ::edu::mines::jtk::mesh::TriSurf$Edge *);
00070 static void access$2200(::edu::mines::jtk::mesh::TriSurf$Node *, ::edu::mines::jtk::mesh::TriSurf$Edge *);
00071 static void access$2300(::edu::mines::jtk::mesh::TriSurf$Node *);
00072 public:
00073 jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) index;
00074 ::java::lang::Object * data;
00075 private:
00076 ::edu::mines::jtk::mesh::TetMesh$Node * _meshNode;
00077 ::edu::mines::jtk::mesh::TriSurf$Face * _face;
00078 ::edu::mines::jtk::mesh::TriSurf$Edge * _edgeBefore;
00079 ::edu::mines::jtk::mesh::TriSurf$Edge * _edgeAfter;
00080 public:
00081 static jboolean $assertionsDisabled;
00082 public:
00083 static ::java::lang::Class class$;
00084 };
00085
00086 #endif // __edu_mines_jtk_mesh_TriSurf$Node__