OpendTect
7.0
|
Basic point class. More...
Public Member Functions | |
Point2D (T xx=0, T yy=0) | |
double | abs () const |
double | distTo (const Point2D< T > &) const |
bool | isDefined () const |
bool | operator!= (const Point2D< T > &) const |
Point2D< T > | operator* (const T factor) const |
Point2D< T > & | operator*= (T factor) |
Point2D< T > | operator+ (const Point2D< T > &) const |
Point2D< T > & | operator+= (const Point2D< T > &) |
Point2D< T > & | operator+= (T dist) |
Point2D< T > | operator- () |
Point2D< T > | operator- (const Point2D< T > &) const |
Point2D< T > & | operator-= (const Point2D< T > &) |
Point2D< T > | operator/ (const T den) const |
Point2D< T > & | operator/= (T den) |
bool | operator== (const Point2D< T > &) const |
T & | operator[] (int idx) |
T | operator[] (int idx) const |
template<class TT > | |
Point2D< T > | scale (TT xx, TT yy) const |
template<class TT > | |
Point2D< T > & | setFrom (const Point2D< TT > &) |
void | setXY (T xx, T yy) |
template<class TT > | |
void | setXY (TT xx, TT yy) |
T | sqAbs () const |
T | sqDistTo (const Point2D< T > &) const |
void | swapXY () |
Point2D< T > & | zero () |
Static Public Member Functions | |
static Point2D< T > | udf () |
Public Attributes | |
T | x |
T | y |
Basic point class.
<>
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
T Geom::Point2D< T >::x |
T Geom::Point2D< T >::y |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024