cgma
|
#include <OctreeIntersectionData.hpp>
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) |
RefFace * | get_face (void) |
CubitOctreeNode * | get_white_node (void) |
CubitFacet * | get_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 | |
CubitOctreeNode * | whiteNode |
CubitVector | facetNormal |
CubitVector | intPoint |
double | length |
RefFace * | refFace |
CubitFacet * | ptrFacet |
CubitBoolean | halfSpace |
CubitBoolean | merged |
Definition at line 24 of file OctreeIntersectionData.hpp.
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.
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; }
OctreeIntersectionData::~OctreeIntersectionData | ( | ) | [inline] |
Definition at line 29 of file OctreeIntersectionData.hpp.
{}
static int OctreeIntersectionData::compare_function | ( | OctreeIntersectionData *& | a, |
OctreeIntersectionData *& | b | ||
) | [inline, static] |
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;} }
RefFace* OctreeIntersectionData::get_face | ( | void | ) | [inline] |
Definition at line 33 of file OctreeIntersectionData.hpp.
{ return refFace; }
CubitVector OctreeIntersectionData::get_facet_normal | ( | ) | [inline] |
Definition at line 37 of file OctreeIntersectionData.hpp.
{return facetNormal;}
CubitFacet* OctreeIntersectionData::get_facet_ptr | ( | ) | [inline] |
Definition at line 35 of file OctreeIntersectionData.hpp.
{return ptrFacet;} // for SAT code
CubitBoolean OctreeIntersectionData::get_halfspace | ( | ) | [inline] |
Definition at line 36 of file OctreeIntersectionData.hpp.
{return halfSpace;} // for SAT code
CubitVector OctreeIntersectionData::get_int_point | ( | void | ) | [inline] |
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; }
CubitVector OctreeIntersectionData::get_normal | ( | void | ) | [inline] |
Definition at line 30 of file OctreeIntersectionData.hpp.
{ return facetNormal; }
CubitOctreeNode* OctreeIntersectionData::get_white_node | ( | void | ) | [inline] |
Definition at line 34 of file OctreeIntersectionData.hpp.
{ return whiteNode; }
CubitBoolean OctreeIntersectionData::is_merged | ( | ) | [inline] |
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;}
Definition at line 51 of file OctreeIntersectionData.hpp.
Definition at line 56 of file OctreeIntersectionData.hpp.
CubitVector OctreeIntersectionData::intPoint [private] |
Definition at line 52 of file OctreeIntersectionData.hpp.
double OctreeIntersectionData::length [private] |
Definition at line 53 of file OctreeIntersectionData.hpp.
CubitBoolean OctreeIntersectionData::merged [private] |
Definition at line 57 of file OctreeIntersectionData.hpp.
CubitFacet* OctreeIntersectionData::ptrFacet [private] |
Definition at line 55 of file OctreeIntersectionData.hpp.
RefFace* OctreeIntersectionData::refFace [private] |
Definition at line 54 of file OctreeIntersectionData.hpp.
CubitOctreeNode* OctreeIntersectionData::whiteNode [private] |
Definition at line 50 of file OctreeIntersectionData.hpp.