Project OpenGeode
class Point
Description of a point in the given dimension with double coordinates
Functions
Point
cpp
public void Point<>()public void Point<>()Point
cpp
public void Point<>(std::array<double, dimension> values)public void Point<>(std::array<double, dimension> values)value
cpp
public double value(local_index_t index)public double value(local_index_t index)set_value
cpp
public void set_value(local_index_t index, double coordinate)public void set_value(local_index_t index, double coordinate)operator==
cpp
public bool operator==(const Point<> & other)public bool operator==(const Point<> & other)operator!=
cpp
public bool operator!=(const Point<> & other)public bool operator!=(const Point<> & other)operator<
cpp
public bool operator<(const Point<> & other)public bool operator<(const Point<> & other)operator<=
cpp
public bool operator<=(const Point<> & other)public bool operator<=(const Point<> & other)operator*
cpp
public Point operator*(double multiplier)public Point operator*(double multiplier)operator/
cpp
public Point operator/(double divider)public Point operator/(double divider)operator+
cpp
public Point operator+(const Point<> & other)public Point operator+(const Point<> & other)operator-
cpp
public Point operator-(const Point<> & other)public Point operator-(const Point<> & other)operator*=
cpp
public void operator*=(double multiplier)public void operator*=(double multiplier)operator/=
cpp
public void operator/=(double divider)public void operator/=(double divider)operator+=
cpp
public void operator+=(const Point<> & other)public void operator+=(const Point<> & other)operator-=
cpp
public void operator-=(const Point<> & other)public void operator-=(const Point<> & other)inexact_equal
cpp
public bool inexact_equal(const Point<> & other)public bool inexact_equal(const Point<> & other)string
cpp
public basic_string string()public basic_string string()project_point
cpp
public Point<dimension - 1> project_point(geode::local_index_t axis_to_remove)public Point<dimension - 1> project_point(geode::local_index_t axis_to_remove)