#include <deal.II/base/config.h>
#include <deal.II/base/exceptions.h>
#include <deal.II/base/tensor.h>
#include <boost/geometry/core/cs.hpp>
#include <boost/geometry/geometries/point.hpp>
#include <cmath>
Go to the source code of this file.
|
template<int dim, typename Number , typename OtherNumber > |
Point< dim, typename ProductType< Number, typename EnableIfScalar< OtherNumber >::type >::type > | operator* (const OtherNumber factor, const Point< dim, Number > &p) |
|
template<int dim, typename Number > |
std::ostream & | operator<< (std::ostream &out, const Point< dim, Number > &p) |
|
template<int dim, typename Number > |
std::istream & | operator>> (std::istream &in, Point< dim, Number > &p) |
|
◆ operator*()
template<int dim, typename Number , typename OtherNumber >
Global operator scaling a point vector by a scalar.
- Note
- This function can also be used in CUDA device code.
Definition at line 656 of file point.h.
◆ operator<<()
template<int dim, typename Number >
std::ostream & operator<< |
( |
std::ostream & |
out, |
|
|
const Point< dim, Number > & |
p |
|
) |
| |
|
inline |
Output operator for points. Print the elements consecutively, with a space in between.
Definition at line 670 of file point.h.
◆ operator>>()
template<int dim, typename Number >
std::istream & operator>> |
( |
std::istream & |
in, |
|
|
Point< dim, Number > & |
p |
|
) |
| |
|
inline |
Input operator for points. Inputs the elements consecutively.
Definition at line 687 of file point.h.