cgma
|
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <assert.h>
#include "CubitDefines.h"
#include "CubitMessage.hpp"
#include "CubitBox.hpp"
#include "Body.hpp"
#include "RefVolume.hpp"
#include "RefFace.hpp"
#include "RefEdge.hpp"
#include "RefVertex.hpp"
#include "CoVolume.hpp"
#include "Shell.hpp"
#include "RefEntityFactory.hpp"
#include "GeometryQueryTool.hpp"
#include "ModelQueryEngine.hpp"
#include "DLIList.hpp"
#include "Lump.hpp"
Go to the source code of this file.
Functions | |
void | unmark_component (RefFace *face) |
void unmark_component | ( | RefFace * | face | ) |
Definition at line 249 of file RefVolume.cpp.
{ assert( face->marked() ); face->marked( CUBIT_FALSE ); DLIList<RefEdge*> edges; face->ref_edges( edges ); DLIList<RefFace*> edge_faces; RefEdge *edge; for ( int e = edges.size(); e--; ) { edge = edges.get_and_step(); edge_faces.clean_out(); edge->ref_faces( edge_faces ); for ( int f = edge_faces.size(); f--; ) { face = edge_faces.get_and_step(); if ( face->marked() ) unmark_component( face ); } } }