scifir-units 2.0.0
scifir-units is a library of units of measurement, angles, coordinates, fields, and related data, all lightweight, that help in the development of scientific software and scientific machines
|
#include "./coordinates_2d.hpp"
#include "../coordinates/direction.hpp"
#include "../meca_number/angle.hpp"
#include "../util/types.hpp"
#include <iostream>
#include <string>
Go to the source code of this file.
Classes | |
class | scifir::coordinates_2dr< T > |
class | scifir::coordinates_2dr< float > |
Namespaces | |
namespace | scifir |
The namespace scifir contains all scifir-units, excepting the string literals, which are outside. | |
Functions | |
template<typename T > | |
string | scifir::to_string (const coordinates_2dr< T > &x) |
string | scifir::to_string (const coordinates_2dr< float > &x) |
template<typename T , typename U > | |
T | scifir::distance (const coordinates_2dr< T > &x, const coordinates_2dr< U > &y) |
float | scifir::distance (const coordinates_2dr< float > &x, const coordinates_2dr< float > &y) |
template<typename T , typename U > | |
T | scifir::distance (const coordinates_2dr< T > &x, const coordinates_2d< U > &y) |
float | scifir::distance (const coordinates_2dr< float > &x, const coordinates_2d< float > &y) |
template<typename T , typename U > | |
T | scifir::distance (const coordinates_2d< T > &x, const coordinates_2dr< U > &y) |
float | scifir::distance (const coordinates_2d< float > &x, const coordinates_2dr< float > &y) |
template<typename T , typename U > | |
bool | operator== (const scifir::coordinates_2dr< T > &x, const scifir::coordinates_2dr< U > &y) |
template<typename T , typename U > | |
bool | operator!= (const scifir::coordinates_2dr< T > &x, const scifir::coordinates_2dr< U > &y) |
template<typename T , typename U > | |
bool | operator== (const scifir::coordinates_2dr< T > &x, const scifir::coordinates_2d< U > &y) |
template<typename T , typename U > | |
bool | operator!= (const scifir::coordinates_2dr< T > &x, const scifir::coordinates_2d< U > &y) |
template<typename T , typename U > | |
bool | operator== (const scifir::coordinates_2d< T > &x, const scifir::coordinates_2dr< U > &y) |
template<typename T , typename U > | |
bool | operator!= (const scifir::coordinates_2d< T > &x, const scifir::coordinates_2dr< U > &y) |
template<typename T > | |
bool | operator== (const scifir::coordinates_2dr< T > &x, const string &init_coordinates_2dr) |
template<typename T > | |
bool | operator!= (const scifir::coordinates_2dr< T > &x, const string &init_coordinates_2dr) |
template<typename T > | |
bool | operator== (const string &init_coordinates_2dr, const scifir::coordinates_2dr< T > &x) |
template<typename T > | |
bool | operator!= (const string &init_coordinates_2dr, const scifir::coordinates_2dr< T > &x) |
template<typename T > | |
void | operator+= (string &x, const scifir::coordinates_2dr< T > &y) |
template<typename T > | |
string | operator+ (const string &x, const scifir::coordinates_2dr< T > &y) |
template<typename T > | |
string | operator+ (const scifir::coordinates_2dr< T > &x, const string &y) |
template<typename T > | |
ostream & | operator<< (ostream &os, const scifir::coordinates_2dr< T > &x) |
ostream & | operator<< (ostream &os, const scifir::coordinates_2dr< float > &x) |
template<typename T > | |
istream & | operator>> (istream &is, scifir::coordinates_2dr< T > &x) |
bool operator!= | ( | const scifir::coordinates_2d< T > & | x, |
const scifir::coordinates_2dr< U > & | y | ||
) |
Definition at line 540 of file coordinates_2dr.hpp.
bool operator!= | ( | const scifir::coordinates_2dr< T > & | x, |
const scifir::coordinates_2d< U > & | y | ||
) |
Definition at line 521 of file coordinates_2dr.hpp.
bool operator!= | ( | const scifir::coordinates_2dr< T > & | x, |
const scifir::coordinates_2dr< U > & | y | ||
) |
Definition at line 502 of file coordinates_2dr.hpp.
bool operator!= | ( | const scifir::coordinates_2dr< T > & | x, |
const string & | init_coordinates_2dr | ||
) |
Definition at line 553 of file coordinates_2dr.hpp.
bool operator!= | ( | const string & | init_coordinates_2dr, |
const scifir::coordinates_2dr< T > & | x | ||
) |
Definition at line 566 of file coordinates_2dr.hpp.
string operator+ | ( | const scifir::coordinates_2dr< T > & | x, |
const string & | y | ||
) |
Definition at line 584 of file coordinates_2dr.hpp.
string operator+ | ( | const string & | x, |
const scifir::coordinates_2dr< T > & | y | ||
) |
Definition at line 578 of file coordinates_2dr.hpp.
void operator+= | ( | string & | x, |
const scifir::coordinates_2dr< T > & | y | ||
) |
Definition at line 572 of file coordinates_2dr.hpp.
ostream & operator<< | ( | ostream & | os, |
const scifir::coordinates_2dr< float > & | x | ||
) |
Definition at line 28 of file coordinates_2dr.cpp.
ostream & operator<< | ( | ostream & | os, |
const scifir::coordinates_2dr< T > & | x | ||
) |
Definition at line 590 of file coordinates_2dr.hpp.
bool operator== | ( | const scifir::coordinates_2d< T > & | x, |
const scifir::coordinates_2dr< U > & | y | ||
) |
Definition at line 527 of file coordinates_2dr.hpp.
bool operator== | ( | const scifir::coordinates_2dr< T > & | x, |
const scifir::coordinates_2d< U > & | y | ||
) |
Definition at line 508 of file coordinates_2dr.hpp.
bool operator== | ( | const scifir::coordinates_2dr< T > & | x, |
const scifir::coordinates_2dr< U > & | y | ||
) |
Definition at line 489 of file coordinates_2dr.hpp.
bool operator== | ( | const scifir::coordinates_2dr< T > & | x, |
const string & | init_coordinates_2dr | ||
) |
Definition at line 546 of file coordinates_2dr.hpp.
bool operator== | ( | const string & | init_coordinates_2dr, |
const scifir::coordinates_2dr< T > & | x | ||
) |
Definition at line 559 of file coordinates_2dr.hpp.
istream & operator>> | ( | istream & | is, |
scifir::coordinates_2dr< T > & | x | ||
) |
Definition at line 598 of file coordinates_2dr.hpp.