Flow123d  jenkins-Flow123d-linux-release-multijob-198
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 33 of file intersectionLocal.h.

Member Enumeration Documentation

Enumerator
point 
line 
area 

Definition at line 35 of file intersectionLocal.h.

Constructor & Destructor Documentation

IntersectionLocal::IntersectionLocal ( IntersectionType  i_type)

Definition at line 42 of file intersectionLocal.cpp.

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

Definition at line 85 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 49 of file intersectionLocal.cpp.

Here is the caller graph for this function:

void IntersectionLocal::add_local_point ( IntersectionPoint InPoint)

Definition at line 53 of file intersectionLocal.cpp.

Here is the caller graph for this function:

int IntersectionLocal::generateId ( )
private

Definition at line 14 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 58 of file intersectionLocal.h.

Here is the caller graph for this function:

IntersectionType IntersectionLocal::get_type ( ) const
inline

Definition at line 53 of file intersectionLocal.h.

Here is the caller graph for this function:

static int IntersectionLocal::getNumInstances ( )
inlinestatic

Definition at line 49 of file intersectionLocal.h.

unsigned int IntersectionLocal::n_points ( ) const
inline

Definition at line 55 of file intersectionLocal.h.

void IntersectionLocal::print ( FILE *  out_file)

Definition at line 57 of file intersectionLocal.cpp.

Member Data Documentation

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

Definition at line 68 of file intersectionLocal.h.

int IntersectionLocal::id
private

Definition at line 66 of file intersectionLocal.h.

int IntersectionLocal::numberInstance = 0
staticprivate

Definition at line 65 of file intersectionLocal.h.

IntersectionType IntersectionLocal::type
private

Definition at line 69 of file intersectionLocal.h.


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