Flow123d  last_with_con_2.0.0-663-gd0e2296
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
IntersectionLocal Class Reference

#include <intersectionLocal.h>

Collaboration diagram for IntersectionLocal:
Collaboration graph
[legend]

Public Types

enum  IntersectionType { point, line, area }
 

Public Member Functions

 IntersectionLocal (IntersectionType i_type)
 
 IntersectionLocal (IntersectionLocal *)
 
 ~IntersectionLocal ()
 
void add_local_coord (const std::vector< double > &coordin1, const std::vector< double > &coordin2)
 
void add_local_point (IntersectionPoint *InPoint)
 
void print (FILE *out_file)
 
IntersectionType get_type () const
 
unsigned int n_points () const
 
const IntersectionPointget_point (const unsigned int index) const
 

Static Public Member Functions

static int getNumInstances ()
 

Private Member Functions

int generateId ()
 

Private Attributes

int id
 
std::vector< IntersectionPoint * > i_points
 
IntersectionType type
 

Static Private Attributes

static int numberInstance = 0
 

Detailed Description

Definition at line 50 of file intersectionLocal.h.

Member Enumeration Documentation

Enumerator
point 
line 
area 

Definition at line 52 of file intersectionLocal.h.

Constructor & Destructor Documentation

IntersectionLocal::IntersectionLocal ( IntersectionType  i_type)

Definition at line 59 of file intersectionLocal.cpp.

IntersectionLocal::IntersectionLocal ( IntersectionLocal )
IntersectionLocal::~IntersectionLocal ( )

Definition at line 102 of file intersectionLocal.cpp.

Member Function Documentation

void IntersectionLocal::add_local_coord ( const std::vector< double > &  coordin1,
const std::vector< double > &  coordin2 
)

Definition at line 66 of file intersectionLocal.cpp.

Here is the caller graph for this function:

void IntersectionLocal::add_local_point ( IntersectionPoint InPoint)

Definition at line 70 of file intersectionLocal.cpp.

Here is the caller graph for this function:

int IntersectionLocal::generateId ( )
private

Definition at line 31 of file intersectionLocal.cpp.

Here is the caller graph for this function:

const IntersectionPoint* IntersectionLocal::get_point ( const unsigned int  index) const
inline

Definition at line 75 of file intersectionLocal.h.

Here is the caller graph for this function:

IntersectionType IntersectionLocal::get_type ( ) const
inline

Definition at line 70 of file intersectionLocal.h.

Here is the caller graph for this function:

static int IntersectionLocal::getNumInstances ( )
inlinestatic

Definition at line 66 of file intersectionLocal.h.

unsigned int IntersectionLocal::n_points ( ) const
inline

Definition at line 72 of file intersectionLocal.h.

void IntersectionLocal::print ( FILE *  out_file)

Definition at line 74 of file intersectionLocal.cpp.

Member Data Documentation

std::vector<IntersectionPoint *> IntersectionLocal::i_points
private

Definition at line 85 of file intersectionLocal.h.

int IntersectionLocal::id
private

Definition at line 83 of file intersectionLocal.h.

int IntersectionLocal::numberInstance = 0
staticprivate

Definition at line 82 of file intersectionLocal.h.

IntersectionType IntersectionLocal::type
private

Definition at line 86 of file intersectionLocal.h.


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