|
PolyFEM
|
3D point. More...
#include <PolygonMesh.hpp>
Public Member Functions | |
| Point ()=default | |
| Point (const double x, const double y, const double z) | |
| double & | operator[] (const int i) |
| double | operator[] (const int i) const |
| Point & | operator+= (const Point &v) |
| Point | operator+ (const Point &v) const |
| Point | operator- (const Point &v) const |
| Point | operator/ (const double s) const |
Public Attributes | |
| std::array< double, 3 > | coords = {{0, 0, 0}} |
Friends | |
| Point | operator* (const double s, const Point &v) |
3D point.
Each operator computes every coordinate with a single floating-point operation, like geogram's vec3.
Definition at line 24 of file PolygonMesh.hpp.
|
default |
|
inline |
Definition at line 29 of file PolygonMesh.hpp.
Definition at line 41 of file PolygonMesh.hpp.
Definition at line 34 of file PolygonMesh.hpp.
Definition at line 42 of file PolygonMesh.hpp.
|
inline |
Definition at line 43 of file PolygonMesh.hpp.
|
inline |
Definition at line 31 of file PolygonMesh.hpp.
|
inline |
Definition at line 32 of file PolygonMesh.hpp.
Definition at line 44 of file PolygonMesh.hpp.
| std::array<double, 3> polyfem::mesh::PolygonMesh::Point::coords = {{0, 0, 0}} |
Definition at line 26 of file PolygonMesh.hpp.
Referenced by p_bases.ReferenceSimplex::integrate(), and q_bases.ReferenceSimplex::integrate().