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

#include <Overlay_primitives.h>

Collaboration diagram for Normal_set:

Public Types

typedef Normal_set Self
 
typedef Vertex_overlay Vertex
 
typedef Halfedge_overlay Halfedge
 
typedef Facet_overlay Facet
 
typedef Vector_3 Value
 
typedef unsigned int Size
 

Public Member Functions

 Normal_set (const Halfedge *h)
 
 Normal_set (const Halfedge *h, Size)
 
const Valueoperator[] (Size i) const
 
Size size_of_edges () const
 
Size size_of_nodes () const
 

Protected Attributes

Vertex_set vs
 
std::vector< const Halfedge * > hs
 

Detailed Description

Definition at line 109 of file Overlay_primitives.h.

Member Typedef Documentation

Definition at line 114 of file Overlay_primitives.h.

Definition at line 113 of file Overlay_primitives.h.

typedef Normal_set Self

Definition at line 111 of file Overlay_primitives.h.

typedef unsigned int Size

Definition at line 116 of file Overlay_primitives.h.

typedef Vector_3 Value

Definition at line 115 of file Overlay_primitives.h.

Definition at line 112 of file Overlay_primitives.h.

Constructor & Destructor Documentation

Normal_set ( const Halfedge h)
inlineexplicit

Definition at line 118 of file Overlay_primitives.h.

References hs, i, Halfedge_overlay::next(), and s.

118  : vs(h), hs(vs.size_of_nodes()) {
119  for ( unsigned int i=0, s=hs.size(); i<s; ++i)
120  { hs[i] = h; h = h->next(); }
121  }
double s
Definition: blastest.C:80
Halfedge next() const
Get the next halfedge of its owner element.
Definition: Manifold_2.h:465
blockLoc i
Definition: read.cpp:79
Size size_of_nodes() const
std::vector< const Halfedge * > hs

Here is the call graph for this function:

Normal_set ( const Halfedge h,
Size   
)
inline

Definition at line 122 of file Overlay_primitives.h.

References hs, i, Halfedge_overlay::next(), and s.

122  : vs(h,0), hs(vs.size_of_nodes()) {
123  for ( unsigned int i=0, s=hs.size(); i<s; ++i)
124  { hs[i] = h; h = h->next(); }
125  }
double s
Definition: blastest.C:80
Halfedge next() const
Get the next halfedge of its owner element.
Definition: Manifold_2.h:465
blockLoc i
Definition: read.cpp:79
Size size_of_nodes() const
std::vector< const Halfedge * > hs

Here is the call graph for this function:

Member Function Documentation

const Value& operator[] ( Size  i) const
inline

Definition at line 131 of file Overlay_primitives.h.

References RFC_Pane_overlay::get_normal(), hs, Vertex_set::pane(), and vs.

132  { return vs.pane()->get_normal(hs[i], vs[i]); }
const RFC_Pane_overlay * pane() const
blockLoc i
Definition: read.cpp:79
std::vector< const Halfedge * > hs
Vector_3 & get_normal(int v)

Here is the call graph for this function:

Size size_of_edges ( ) const
inline

Definition at line 133 of file Overlay_primitives.h.

References Vertex_set::size_of_edges(), and vs.

Referenced by Overlay_primitives::get_projdir().

133 { return vs.size_of_edges(); }
Size size_of_edges() const

Here is the call graph for this function:

Here is the caller graph for this function:

Size size_of_nodes ( ) const
inline

Definition at line 134 of file Overlay_primitives.h.

References Vertex_set::size_of_nodes(), and vs.

134 { return vs.size_of_nodes(); }
Size size_of_nodes() const

Here is the call graph for this function:

Member Data Documentation

std::vector< const Halfedge*> hs
protected

Definition at line 138 of file Overlay_primitives.h.

Referenced by Normal_set(), and operator[]().

Vertex_set vs
protected

Definition at line 137 of file Overlay_primitives.h.

Referenced by operator[](), size_of_edges(), and size_of_nodes().


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