| 
    JunkBox_Lib++ (for Windows) 1.10.1
    
   | 
 
#include <BrepLib.h>
Public Member Functions | |
| BrepSolidList (void) | |
| virtual | ~BrepSolidList (void) | 
| void | init (void) | 
| void | clear (void) | 
| void | free (void) | 
| int | addShell (MeshObjectData *mesh) | 
| int | addSolid (MeshObjectData *mesh) | 
| void | closeSolid (void) | 
| void | outputFile (const char *fn, const char *path=NULL, bool asciifile=true) | 
| BREP_SOLID * | getMerge (CVCounter *counter=NULL) | 
Public Attributes | |
| BREP_SOLID_LIST | solid_list | 
      
  | 
  inline | 
Definition at line 30 of file BrepLib.h.
References BrepSolidList::init().

      
  | 
  virtual | 
      
  | 
  inline | 
Definition at line 42 of file BrepLib.h.
References BrepSolidList::addSolid().

| int addSolid | ( | MeshObjectData * | mesh | ) | 
Definition at line 54 of file BrepLib.cpp.
References MeshObjectData::affineTrans, jbxl::BREP_FACET, jbxl::BREP_SHELL, jbxl::BREP_SOLID, jbxl::CloseTriSolid(), BREP_SOLID::contours, jbxl::CreateContourByVector(), MeshFacetNode::data_index, jbxl::deleteNull(), AffineTrans< T >::execRotation(), AffineTrans< T >::execTrans(), MeshObjectData::facet, BREP_SOLID::facetno, BrepSolidList::free(), jbxl::GetOctreeVertices(), MeshFacetNode::next, BREP_VERTEX::normal, MeshFacetNode::normal_value, MeshFacetNode::num_index, BREP_SOLID::octree, BREP_VERTEX::point, BrepSolidList::solid_list, and MeshFacetNode::vertex_value.
Referenced by BrepSolidList::addShell().


| void clear | ( | void | ) | 
Definition at line 38 of file BrepLib.cpp.
References BrepSolidList::solid_list.
| void free | ( | void | ) | 
Definition at line 29 of file BrepLib.cpp.
References jbxl::freeBrepSolid(), and BrepSolidList::solid_list.
Referenced by BrepSolidList::addSolid(), jbxl::freeBrepSolidList(), and BrepSolidList::outputFile().


| BREP_SOLID * getMerge | ( | CVCounter * | counter = NULL | ) | 
Definition at line 146 of file BrepLib.cpp.
References jbxl::BREP_FACET, jbxl::BREP_SHELL, jbxl::BREP_SOLID, jbxl::CloseTriSolid(), BREP_SOLID::contours, jbxl::CreateContourByVector(), jbxl::deleteNull(), BREP_SOLID::facetno, CVCounter::GetUsableCounter(), BREP_WING::next, BREP_VERTEX::normal, BREP_VERTEX::point, BrepSolidList::solid_list, CVCounter::Start(), CVCounter::StepIt(), and BREP_WING::vertex.
Referenced by BrepSolidList::outputFile().


| void init | ( | void | ) | 
Definition at line 23 of file BrepLib.cpp.
References BrepSolidList::solid_list.
Referenced by BrepSolidList::BrepSolidList().

| void outputFile | ( | const char * | fn, | 
| const char * | path = NULL, | ||
| bool | asciifile = true ) | 
Definition at line 113 of file BrepLib.cpp.
References Buffer::buf, canonical_filename_Buffer(), cat_Buffer(), change_file_extension_Buffer(), BrepSolidList::free(), free_Buffer(), get_file_name(), BrepSolidList::getMerge(), make_Buffer_bystr, pack_head_tail_char(), TRUE, jbxl::writeSTLFileA(), and jbxl::writeSTLFileB().

| BREP_SOLID_LIST solid_list | 
Definition at line 34 of file BrepLib.h.
Referenced by BrepSolidList::addSolid(), BrepSolidList::clear(), BrepSolidList::free(), BrepSolidList::getMerge(), and BrepSolidList::init().