Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HDS_overlay Class Reference

#include <HDS_overlay.h>

Inheritance diagram for HDS_overlay:
Collaboration diagram for HDS_overlay:

Public Types

typedef HDS_overlay This
 
typedef
CGAL::Halfedge_data_structure_using_vector
< Vertex_overlay,
Halfedge_overlay,
Facet_overlay
Base
 

Public Member Functions

 HDS_overlay (RFC_Pane_overlay *p)
 
 HDS_overlay (RFC_Pane_overlay *p, const HDS_overlay &hds)
 
RFC_Pane_overlaypane ()
 
const RFC_Pane_overlaypane () const
 
void normalize_border_vertices ()
 
Vertex * new_vertex ()
 
Vertex * new_vertex (const Vertex *v)
 
Vertex * new_vertex (const Point &p)
 

Protected Attributes

RFC_Pane_overlaypn
 

Private Member Functions

 HDS_overlay ()
 
 HDS_overlay (const HDS_overlay &)
 
Thisoperator= (const HDS_overlay &)
 

Detailed Description

Definition at line 178 of file HDS_overlay.h.

Member Typedef Documentation

typedef CGAL::Halfedge_data_structure_using_vector< Vertex_overlay, Halfedge_overlay, Facet_overlay> Base

Definition at line 183 of file HDS_overlay.h.

typedef HDS_overlay This

Definition at line 181 of file HDS_overlay.h.

Constructor & Destructor Documentation

HDS_overlay ( RFC_Pane_overlay p)
inlineexplicit

Definition at line 240 of file HDS_overlay.h.

240 : pn(p) {}
RFC_Pane_overlay * pn
Definition: HDS_overlay.h:281
HDS_overlay ( RFC_Pane_overlay p,
const HDS_overlay hds 
)
inline

Definition at line 241 of file HDS_overlay.h.

242  : Base( hds), pn(p) {
243  for ( Vertex_iterator it=vertices_begin(); it!=vertices_end(); ++it)
244  it->set_pane( p);
245  }
CGAL::Halfedge_data_structure_using_vector< Vertex_overlay, Halfedge_overlay, Facet_overlay > Base
Definition: HDS_overlay.h:183
RFC_Pane_overlay * pn
Definition: HDS_overlay.h:281
HDS_overlay ( )
private
HDS_overlay ( const HDS_overlay )
private

Member Function Documentation

Vertex* new_vertex ( )
inline

Definition at line 261 of file HDS_overlay.h.

References pn, and RFC_assertion.

261  {
262  RFC_assertion( vertices.size() < vertices.capacity());
263  vertices.push_back( Vertex()); vertices.back().set_pane(pn);
264  return & (vertices.back());
265  }
RFC_Pane_overlay * pn
Definition: HDS_overlay.h:281
#define RFC_assertion
Definition: rfc_basic.h:65
Vertex* new_vertex ( const Vertex *  v)
inline

Definition at line 267 of file HDS_overlay.h.

References pn, and RFC_assertion.

267  {
268  RFC_assertion( vertices.size() < vertices.capacity());
269  vertices.push_back( *v); vertices.back().set_pane(pn);
270  return & (vertices.back());
271  }
RFC_Pane_overlay * pn
Definition: HDS_overlay.h:281
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to and or **sell copies of the and to permit persons to whom the **Software is furnished to do subject to the following this list of conditions and the following disclaimers ****Redistributions in binary form must reproduce the above **copyright this list of conditions and the following **disclaimers in the documentation and or other materials **provided with the distribution ****Neither the names of the Center for Simulation of Advanced the University of nor the names of its **contributors may be used to endorse or promote products derived **from this Software without specific prior written permission ****THE SOFTWARE IS PROVIDED AS WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE v
Definition: roccomf90.h:20
#define RFC_assertion
Definition: rfc_basic.h:65
Vertex* new_vertex ( const Point &  p)
inline

Definition at line 273 of file HDS_overlay.h.

References pn, and RFC_assertion.

273  {
274  RFC_assertion( vertices.size() < vertices.capacity());
275  vertices.push_back( Vertex( p)); vertices.back().set_pane(pn);
276  return & (vertices.back());
277  }
RFC_Pane_overlay * pn
Definition: HDS_overlay.h:281
#define RFC_assertion
Definition: rfc_basic.h:65
void normalize_border_vertices ( )

Definition at line 50 of file RFC_Window_overlay.C.

References RFC_assertion, and v.

Referenced by RFC_Pane_overlay::build_hds().

50  {
51  Base::normalize_border();
52 
53  // Loop through all the border halfedges
54  Halfedge_iterator it;
55  for ( it=border_halfedges_begin(); it!=halfedges_end(); ++it) {
56  RFC_assertion(!it->is_border());
57  ++it; RFC_assertion(it->is_border());
58  Vertex *v = it->vertex();
59  if ( v->halfedge() != &*it)
60  v->set_halfedge( &*it);
61  }
62 }
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to and or **sell copies of the and to permit persons to whom the **Software is furnished to do subject to the following this list of conditions and the following disclaimers ****Redistributions in binary form must reproduce the above **copyright this list of conditions and the following **disclaimers in the documentation and or other materials **provided with the distribution ****Neither the names of the Center for Simulation of Advanced the University of nor the names of its **contributors may be used to endorse or promote products derived **from this Software without specific prior written permission ****THE SOFTWARE IS PROVIDED AS WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE v
Definition: roccomf90.h:20
#define RFC_assertion
Definition: rfc_basic.h:65

Here is the caller graph for this function:

This& operator= ( const HDS_overlay )
private
RFC_Pane_overlay* pane ( )
inline

Definition at line 249 of file HDS_overlay.h.

References pn.

249 { return pn; }
RFC_Pane_overlay * pn
Definition: HDS_overlay.h:281
const RFC_Pane_overlay* pane ( ) const
inline

Definition at line 250 of file HDS_overlay.h.

References pn.

250 { return pn; }
RFC_Pane_overlay * pn
Definition: HDS_overlay.h:281

Member Data Documentation

RFC_Pane_overlay* pn
protected

Definition at line 281 of file HDS_overlay.h.

Referenced by new_vertex(), and pane().


The documentation for this class was generated from the following files: