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
Loading...
Searching...
No Matches
Namespaces | Functions
coordinates_3d.cpp File Reference
#include "./coordinates_3d.hpp"
Include dependency graph for coordinates_3d.cpp:

Go to the source code of this file.

Namespaces

namespace  scifir
 The namespace scifir contains all scifir-units, excepting the string literals, which are outside.
 

Functions

string scifir::to_string (cardinale_point x)
 
string scifir::to_string (const coordinates_3d< float > &x)
 Returns the string representation of coordinates_3d<float>.
 
cardinale_point scifir::create_cardinale_point (const string &x)
 
float scifir::distance (const coordinates_3d< float > &x, const coordinates_3d< float > &y)
 Calculates the distance between two coordinates_3d<float>.
 
ostream & operator<< (ostream &os, const scifir::coordinates_3d< float > &x)
 Adds the string representation of the coordinates_3d<float> x to an output stream os.
 

Function Documentation

◆ operator<<()

ostream & operator<< ( ostream &  os,
const scifir::coordinates_3d< float > &  x 
)

Adds the string representation of the coordinates_3d<float> x to an output stream os.

Definition at line 55 of file coordinates_3d.cpp.

56{
57 return os << scifir::to_string(x);
58}
string to_string(const aid &x)
Creates a string representation of aid, it's for aid equivalent to the display() function of aid.
Definition aid.cpp:582