Creation of a n-coordinate geometric point designed to be shared by its neighbour faces.
More...
#include <Point_Rn.h>
|
static std::string | concatStrings (int i, const std::string &functionName) |
| Useful function to provide error message to the exception mechanism. More...
|
|
static std::string | concatStrings (int i, double val, const std::string &functionName) |
| Useful function to provide error message to the exception mechanism. More...
|
|
Creation of a n-coordinate geometric point designed to be shared by its neighbour faces.
Definition at line 34 of file Point_Rn.h.
Point_Rn::Point_Rn |
( |
unsigned int |
n | ) |
|
Create a n-coordinates point.
Definition at line 30 of file Point_Rn.cpp.
Point_Rn::Point_Rn |
( |
unsigned int |
n, |
|
|
double |
u |
|
) |
| |
Fill the n-dimensional point with the constant u.
Definition at line 34 of file Point_Rn.cpp.
Point_Rn::Point_Rn |
( |
double |
u1, |
|
|
double |
u2, |
|
|
double |
u3 |
|
) |
| |
Create a 3-dimensional point.
Definition at line 38 of file Point_Rn.cpp.
vector<double>::const_iterator Point_Rn::begin |
( |
| ) |
const |
|
inline |
std::string Point_Rn::concatStrings |
( |
int |
i, |
|
|
const std::string & |
functionName |
|
) |
| |
|
static |
Useful function to provide error message to the exception mechanism.
Definition at line 79 of file Point_Rn.cpp.
std::string Point_Rn::concatStrings |
( |
int |
i, |
|
|
double |
val, |
|
|
const std::string & |
functionName |
|
) |
| |
|
static |
Useful function to provide error message to the exception mechanism.
Definition at line 93 of file Point_Rn.cpp.
int Point_Rn::dimension |
( |
| ) |
const |
|
inline |
double Point_Rn::distanceFrom |
( |
const Point_Rn & |
P | ) |
|
vector<double>::const_iterator Point_Rn::end |
( |
| ) |
const |
|
inline |
double Point_Rn::getCoordinate |
( |
unsigned int |
i | ) |
const |
throw | ( | std::out_of_range |
| ) | | |
void Point_Rn::load |
( |
std::istream & |
this_istream | ) |
|
void Point_Rn::negate |
( |
| ) |
|
|
inline |
double Point_Rn::normalize |
( |
| ) |
|
void Point_Rn::save |
( |
std::ostream & |
this_ostream | ) |
const |
void Point_Rn::setCoordinate |
( |
unsigned int |
i, |
|
|
double |
val |
|
) |
| |
throw | ( | std::out_of_range |
| ) | | |
const vector<double>& Point_Rn::vect |
( |
| ) |
const |
|
inline |
vector<double> Point_Rn::_coordinates |
|
protected |
The documentation for this class was generated from the following files: