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

#include <HDS_overlay.h>

Public Member Functions

 Host_face ()
 
 Host_face (Halfedge_overlay *h, Parent_type t)
 
Halfedge_overlayhalfedge () const
 
Parent_type parent_type () const
 
bool operator== (const Host_face &h) const
 
bool operator!= (const Host_face &h) const
 

Private Attributes

char * _p
 

Detailed Description

Definition at line 290 of file HDS_overlay.h.

Constructor & Destructor Documentation

Host_face ( )
inline

Definition at line 291 of file HDS_overlay.h.

291 : _p(0) {};
char * _p
Definition: HDS_overlay.h:302
Host_face ( Halfedge_overlay h,
Parent_type  t 
)
inline

Definition at line 292 of file HDS_overlay.h.

References halfedge(), parent_type(), and RFC_assertion.

293  : _p( (char*)(h) + (int(t)&3))
294  { RFC_assertion( h==halfedge() && t==parent_type()); }
char * _p
Definition: HDS_overlay.h:302
Halfedge_overlay * halfedge() const
Definition: HDS_overlay.h:295
Parent_type parent_type() const
Definition: HDS_overlay.h:297
#define RFC_assertion
Definition: rfc_basic.h:65

Here is the call graph for this function:

Member Function Documentation

Halfedge_overlay* halfedge ( ) const
inline

Definition at line 295 of file HDS_overlay.h.

References _p, and parent_type().

Referenced by INode::blue_halfedge(), Overlay::get_edge_pair_parents(), Overlay::get_next_inode(), Overlay::get_next_inode_ccw(), Overlay::get_next_inode_cw(), INode::green_halfedge(), INode::halfedge(), and Host_face().

296  { return (Halfedge_overlay*)(_p-parent_type()); }
char * _p
Definition: HDS_overlay.h:302
Parent_type parent_type() const
Definition: HDS_overlay.h:297

Here is the call graph for this function:

Here is the caller graph for this function:

bool operator!= ( const Host_face h) const
inline

Definition at line 300 of file HDS_overlay.h.

References _p.

300 { return _p!=h._p; }
char * _p
Definition: HDS_overlay.h:302
bool operator== ( const Host_face h) const
inline

Definition at line 299 of file HDS_overlay.h.

References _p.

299 { return _p==h._p; }
char * _p
Definition: HDS_overlay.h:302
Parent_type parent_type ( ) const
inline

Definition at line 297 of file HDS_overlay.h.

References _p.

Referenced by INode::blue_parent_type(), Overlay::get_edge_pair_parents(), Overlay::get_next_inode(), Overlay::get_next_inode_ccw(), Overlay::get_next_inode_cw(), INode::green_parent_type(), halfedge(), Host_face(), and INode::parent_type().

298  { return Parent_type(std::distance((char*)NULL,_p)&3); }
char * _p
Definition: HDS_overlay.h:302
Parent_type
Definition: rfc_basic.h:49

Here is the caller graph for this function:

Member Data Documentation

char* _p
private

Definition at line 302 of file HDS_overlay.h.

Referenced by halfedge(), operator!=(), operator==(), and parent_type().


The documentation for this struct was generated from the following file: