cgma
FB_Triangle Class Reference

#include <FBStructs.hpp>

List of all members.

Public Member Functions

 FB_Triangle (int vert0, int vert1, int vert2, int myparent, int csvalue, int c0value, int c1value, int c2value)
 FB_Triangle ()
 ~FB_Triangle ()
bool are_fb_coords_in_fb_triangle (int fb_vert_index_1, int fb_vert_index_2)
 Util function to determine whether two verts are in a Triangle.

Public Attributes

int v0
int v1
int v2
FSBoundingBox boundingbox
double a
double b
double c
double d
bool dudded
std::vector< FB_Edge * > edge_list
int parent
int cubitsurfaceindex
int cubitedge0index
int cubitedge1index
int cubitedge2index

Detailed Description

Definition at line 97 of file FBStructs.hpp.


Constructor & Destructor Documentation

FB_Triangle::FB_Triangle ( int  vert0,
int  vert1,
int  vert2,
int  myparent,
int  csvalue,
int  c0value,
int  c1value,
int  c2value 
) [inline]

Definition at line 100 of file FBStructs.hpp.

                                                      {
     v0 = vert0; v1 = vert1; v2 = vert2;
     dudded = false;
     parent = myparent;
     cubitsurfaceindex = csvalue;
     cubitedge0index = c0value;
     cubitedge1index = c1value;
     cubitedge2index = c2value;
   }

Definition at line 111 of file FBStructs.hpp.

                  {
     for(size_t i = 0; i < edge_list.size(); i++)
     {
       delete edge_list[i];
     }

   }

Member Function Documentation

bool FB_Triangle::are_fb_coords_in_fb_triangle ( int  fb_vert_index_1,
int  fb_vert_index_2 
) [inline]

Util function to determine whether two verts are in a Triangle.

Definition at line 119 of file FBStructs.hpp.

    {
      if((fb_vert_index_1 == v0 || fb_vert_index_1 == v1 ||
          fb_vert_index_1 == v2) && (fb_vert_index_2== v0 ||
         fb_vert_index_2 == v1 || fb_vert_index_2 == v2)){
        return true;
      }
      return false;
    }

Member Data Documentation

Definition at line 132 of file FBStructs.hpp.

Definition at line 132 of file FBStructs.hpp.

Definition at line 132 of file FBStructs.hpp.

Definition at line 137 of file FBStructs.hpp.

Definition at line 137 of file FBStructs.hpp.

Definition at line 137 of file FBStructs.hpp.

Definition at line 136 of file FBStructs.hpp.

Definition at line 132 of file FBStructs.hpp.

Definition at line 133 of file FBStructs.hpp.

Definition at line 134 of file FBStructs.hpp.

Definition at line 135 of file FBStructs.hpp.

Definition at line 130 of file FBStructs.hpp.

Definition at line 130 of file FBStructs.hpp.

Definition at line 130 of file FBStructs.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines