OctreeIntersectionData Class Reference

#include <OctreeIntersectionData.hpp>

List of all members.

Public Member Functions

 OctreeIntersectionData (const CubitVector &normal, const CubitBoolean half_space, const double &len, RefFace *ptr_face, const CubitVector &closest_point_on_facet, CubitFacet *lp_facet)
 OctreeIntersectionData (CubitOctreeNode *ptr_white_node, CubitVector normal, CubitVector int_point, double len, RefFace *ptr_face)
 ~OctreeIntersectionData ()
CubitVector get_normal (void)
CubitVector get_int_point (void)
double get_length (void)
RefFaceget_face (void)
CubitOctreeNodeget_white_node (void)
CubitFacetget_facet_ptr ()
CubitBoolean get_halfspace ()
CubitVector get_facet_normal ()
CubitBoolean is_merged ()
void set_merged (const CubitBoolean val)

Static Public Member Functions

static int compare_function (OctreeIntersectionData *&a, OctreeIntersectionData *&b)

Private Attributes

CubitVector facetNormal
CubitVector intPoint
double length
CubitBoolean halfSpace
CubitBoolean merged

Detailed Description

Definition at line 24 of file OctreeIntersectionData.hpp.

Constructor & Destructor Documentation

OctreeIntersectionData::OctreeIntersectionData ( const CubitVector normal,
const CubitBoolean  half_space,
const double &  len,
RefFace ptr_face,
const CubitVector closest_point_on_facet,
CubitFacet lp_facet 

Definition at line 8 of file OctreeIntersectionData.cpp.

  facetNormal = normal;
  halfSpace = half_space;
  length = len;
  refFace = ptr_face;
  intPoint = closest_point_on_facet;
  ptrFacet = lp_facet;
  merged = 0;
OctreeIntersectionData::OctreeIntersectionData ( CubitOctreeNode ptr_white_node,
CubitVector  normal,
CubitVector  int_point,
double  len,
RefFace ptr_face 

Definition at line 19 of file OctreeIntersectionData.cpp.

  facetNormal = normal;
  intPoint = int_point;
  refFace = ptr_face;
  length = len; 
  whiteNode = ptr_white_node;

Member Function Documentation

Definition at line 39 of file OctreeIntersectionData.hpp.

    if (a->get_length() < b->get_length()) {return -1;}
    else if (a->get_length() > b->get_length()) {return 1;}
    else {return 0;}

Definition at line 33 of file OctreeIntersectionData.hpp.

{ return refFace; }

Definition at line 35 of file OctreeIntersectionData.hpp.

{return ptrFacet;} // for SAT code

Definition at line 36 of file OctreeIntersectionData.hpp.

{return halfSpace;} // for SAT code

Definition at line 31 of file OctreeIntersectionData.hpp.

{return intPoint; }
double OctreeIntersectionData::get_length ( void  ) [inline]

Definition at line 32 of file OctreeIntersectionData.hpp.

{ return length; }

Definition at line 30 of file OctreeIntersectionData.hpp.

{ return facetNormal; }

Definition at line 34 of file OctreeIntersectionData.hpp.

{ return whiteNode; }

Definition at line 46 of file OctreeIntersectionData.hpp.

{return merged;}
void OctreeIntersectionData::set_merged ( const CubitBoolean  val) [inline]

Definition at line 47 of file OctreeIntersectionData.hpp.

{merged = val;}

Member Data Documentation

Definition at line 53 of file OctreeIntersectionData.hpp.

Definition at line 54 of file OctreeIntersectionData.hpp.

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