cgma
|
00001 #include "OctreeIntersectionData.hpp" 00002 #include "RefFace.hpp" 00003 #include "CubitFacet.hpp" 00004 #include "CubitPoint.hpp" 00005 00006 00007 00008 OctreeIntersectionData::OctreeIntersectionData(const CubitVector &normal, const CubitBoolean half_space, const double &len, RefFace *ptr_face, const CubitVector &closest_point_on_facet, CubitFacet *lp_facet) 00009 { 00010 facetNormal = normal; 00011 halfSpace = half_space; 00012 length = len; 00013 refFace = ptr_face; 00014 intPoint = closest_point_on_facet; 00015 ptrFacet = lp_facet; 00016 merged = 0; 00017 } 00018 00019 OctreeIntersectionData::OctreeIntersectionData( CubitOctreeNode *ptr_white_node, CubitVector normal, CubitVector int_point, double len, RefFace *ptr_face) 00020 { 00021 facetNormal = normal; 00022 intPoint = int_point; 00023 refFace = ptr_face; 00024 length = len; 00025 whiteNode = ptr_white_node; 00026 } 00027 00028 00029 //EOF