UNIVERS
15.3
UNIVERS base processing software API
|
#include <u2d_wpoint.hpp>
Public Member Functions | |
U2dWPoint () | |
U2dWPoint (double x, double z) | |
U2dWPoint (double x, double z, double W) | |
U2dWPoint & | operator= (const U2dWPoint &p_) |
double | getW () const |
void | setW (double W) |
Public Member Functions inherited from U2dPoint | |
U2dPoint () | |
U2dPoint (const U2dPoint &p) | |
U2dPoint (double x, double z) | |
U2dPoint & | operator= (const U2dPoint &p) |
bool | operator== (const U2dPoint &) const |
bool | operator!= (const U2dPoint &) const |
U2dPoint | operator+ (U2dPoint) |
U2dPoint | operator- (U2dPoint) |
double | getX () const |
double | getZ () const |
void | setXZ (double x, double z) |
void | setX (double x) |
void | setZ (double z) |
Protected Attributes | |
double | m_W |
Protected Attributes inherited from U2dPoint | |
double | m_X |
double | m_Z |
Additional Inherited Members | |
Static Public Member Functions inherited from U2dPoint | |
static bool | x_asc (const U2dPoint &p1, const U2dPoint &p2) |
static bool | z_asc (const U2dPoint &p1, const U2dPoint &p2) |
static bool | x_desc (const U2dPoint &p1, const U2dPoint &p2) |
static bool | z_desc (const U2dPoint &p1, const U2dPoint &p2) |
static double | pDistance (const U2dPoint &p0, const U2dPoint &p1) |
static int | getNeighbour (const U2dPoint &p, std::vector< U2dPoint * > &p_ar) |
static int | getNeighbour (const U2dPoint &p, std::vector< U2dPoint > &p_ar) |
2D point with weight
|
inline |
Zero point, (0,0), W=0
|
inline |
Point with provided coordinates and zero weight
|
inline |
Point with provided coordinates and weight
|
inline |
Get point weight
|
inline |
Set point weight
|
protected |
Weight