class
#include <atlas/util/Point.h>
PointXYZ Point in arbitrary XYZ-coordinate system.
Base classes
- class eckit::geometry::Point3
Public static variables
- static const size_t DIMS
Public static functions
- static auto cross(const Point3& p1, const Point3& p2) -> Point3
- static auto dimensions() -> size_t
- static auto distance(const KPoint& p1, const KPoint& p2) -> double
- static auto distance(const KPoint& p1, const KPoint& p2, unsigned int axis) -> double
- static auto distance2(const KPoint& p1, const KPoint& p2) -> double
- static auto equal(const KPoint& p1, const KPoint& p2) -> bool
- static auto norm(const KPoint& p1) -> double
- static auto dot(const KPoint& p1, const KPoint& p2) -> double
- static auto add(const KPoint& p1, const KPoint& p2) -> KPoint
- static auto middle(const KPoint& p1, const KPoint& p2) -> KPoint
- static auto sub(const KPoint& p1, const KPoint& p2) -> KPoint
- static auto mul(const KPoint& p, double m) -> KPoint
- static auto div(const KPoint& p, double m) -> KPoint
- static auto componentsMin(const KPoint& p1, const KPoint& p2) -> KPoint
- static auto componentsMax(const KPoint& p1, const KPoint& p2) -> KPoint
- static auto normalize(const KPoint& p) -> KPoint
- static auto mean(const Container& points) -> Container::value_type
- static auto symetrical(const KPoint& w, const KPoint& c) -> KPoint
- static void normalizeAll(Container& c, KPoint& offset, KPoint& scale)
Constructors, destructors, conversion operators
Public functions
- auto x() const -> double
- auto y() const -> double
- auto z() const -> double
- auto x() -> double&
- auto y() -> double&
- auto z() -> double&
- void assign(double x, double y, double z)
- auto operator*=(double m) -> PointXYZ&
- auto operator/=(double m) -> PointXYZ&
-
template<typename T>void assign(const T& p)
- auto operator[](const size_t& i) const -> double
- auto operator[](const size_t& i) -> double&
-
template<typename T>void assign(const T& p)
- auto x(size_t axis) const -> double
- auto point() const -> const KPoint&
- auto point() -> KPoint&
- auto data() -> double*
- auto data() const -> const double*
- auto operator()(const size_t& i) const -> double
- auto operator<(const KPoint& other) const -> bool
-
void print(std::
ostream& s) const - auto distance(const KPoint& p) const -> double
- auto distance2(const KPoint& p) const -> double
- auto operator==(const KPoint& other) const -> bool
- auto operator!=(const KPoint& other) const -> bool
- void normalize(const KPoint& offset, const KPoint& scale)
- auto begin() const -> const double*
- auto end() const -> const double*
- auto operator+(const KPoint& other) const -> KPoint
- auto operator-(const KPoint& other) const -> KPoint
- auto operator*(const double s) const -> KPoint
Function documentation
static Point3 atlas:: PointXYZ:: cross(const Point3& p1,
const Point3& p2)
#include <eckit/geometry/Point3.h>
static size_t atlas:: PointXYZ:: dimensions()
#include <eckit/geometry/KPoint.h>
static double atlas:: PointXYZ:: distance(const KPoint& p1,
const KPoint& p2)
#include <eckit/geometry/KPoint.h>
static double atlas:: PointXYZ:: distance(const KPoint& p1,
const KPoint& p2,
unsigned int axis)
#include <eckit/geometry/KPoint.h>
static double atlas:: PointXYZ:: distance2(const KPoint& p1,
const KPoint& p2)
#include <eckit/geometry/KPoint.h>
static bool atlas:: PointXYZ:: equal(const KPoint& p1,
const KPoint& p2)
#include <eckit/geometry/KPoint.h>
static double atlas:: PointXYZ:: norm(const KPoint& p1)
#include <eckit/geometry/KPoint.h>
static double atlas:: PointXYZ:: dot(const KPoint& p1,
const KPoint& p2)
#include <eckit/geometry/KPoint.h>
static KPoint atlas:: PointXYZ:: add(const KPoint& p1,
const KPoint& p2)
#include <eckit/geometry/KPoint.h>
static KPoint atlas:: PointXYZ:: middle(const KPoint& p1,
const KPoint& p2)
#include <eckit/geometry/KPoint.h>
static KPoint atlas:: PointXYZ:: sub(const KPoint& p1,
const KPoint& p2)
#include <eckit/geometry/KPoint.h>
static KPoint atlas:: PointXYZ:: mul(const KPoint& p,
double m)
#include <eckit/geometry/KPoint.h>
static KPoint atlas:: PointXYZ:: div(const KPoint& p,
double m)
#include <eckit/geometry/KPoint.h>
static KPoint atlas:: PointXYZ:: componentsMin(const KPoint& p1,
const KPoint& p2)
#include <eckit/geometry/KPoint.h>
static KPoint atlas:: PointXYZ:: componentsMax(const KPoint& p1,
const KPoint& p2)
#include <eckit/geometry/KPoint.h>
static KPoint atlas:: PointXYZ:: normalize(const KPoint& p)
#include <eckit/geometry/KPoint.h>
static Container::value_type atlas:: PointXYZ:: mean(const Container& points)
#include <eckit/geometry/KPoint.h>
static KPoint atlas:: PointXYZ:: symetrical(const KPoint& w,
const KPoint& c)
#include <eckit/geometry/KPoint.h>
static void atlas:: PointXYZ:: normalizeAll(Container& c,
KPoint& offset,
KPoint& scale)
#include <eckit/geometry/KPoint.h>
double atlas:: PointXYZ:: operator[](const size_t& i) const
#include <eckit/geometry/Point3.h>
double& atlas:: PointXYZ:: operator[](const size_t& i)
#include <eckit/geometry/Point3.h>
#include <eckit/geometry/Point3.h>
template<typename T>
void atlas:: PointXYZ:: assign(const T& p)
double atlas:: PointXYZ:: x(size_t axis) const
#include <eckit/geometry/KPoint.h>
const KPoint& atlas:: PointXYZ:: point() const
#include <eckit/geometry/KPoint.h>
KPoint& atlas:: PointXYZ:: point()
#include <eckit/geometry/KPoint.h>
double* atlas:: PointXYZ:: data()
#include <eckit/geometry/KPoint.h>
const double* atlas:: PointXYZ:: data() const
#include <eckit/geometry/KPoint.h>
double atlas:: PointXYZ:: operator()(const size_t& i) const
#include <eckit/geometry/KPoint.h>
bool atlas:: PointXYZ:: operator<(const KPoint& other) const
#include <eckit/geometry/KPoint.h>
void atlas:: PointXYZ:: print(std:: ostream& s) const
#include <eckit/geometry/KPoint.h>
double atlas:: PointXYZ:: distance(const KPoint& p) const
#include <eckit/geometry/KPoint.h>
double atlas:: PointXYZ:: distance2(const KPoint& p) const
#include <eckit/geometry/KPoint.h>
bool atlas:: PointXYZ:: operator==(const KPoint& other) const
#include <eckit/geometry/KPoint.h>
bool atlas:: PointXYZ:: operator!=(const KPoint& other) const
#include <eckit/geometry/KPoint.h>
void atlas:: PointXYZ:: normalize(const KPoint& offset,
const KPoint& scale)
#include <eckit/geometry/KPoint.h>
const double* atlas:: PointXYZ:: begin() const
#include <eckit/geometry/KPoint.h>
const double* atlas:: PointXYZ:: end() const
#include <eckit/geometry/KPoint.h>
KPoint atlas:: PointXYZ:: operator+(const KPoint& other) const
#include <eckit/geometry/KPoint.h>
KPoint atlas:: PointXYZ:: operator-(const KPoint& other) const
#include <eckit/geometry/KPoint.h>
KPoint atlas:: PointXYZ:: operator*(const double s) const
#include <eckit/geometry/KPoint.h>
Variable documentation
static const size_t atlas:: PointXYZ:: DIMS
#include <eckit/geometry/KPoint.h>