![]() |
OpendTect-6_4
6.4
|
Basic point class. More...
Public Member Functions | |
| Point2D (T xx=0, T yy=0) | |
| template<class TT > | |
| Point2D< T > & | setFrom (const Point2D< TT > &) |
| template<class TT > | |
| void | setXY (TT xx, TT yy) |
| void | setXY (T xx, T yy) |
| Point2D< T > & | zero () |
| Point2D< T > | operator- () |
| T & | operator[] (int idx) |
| T | operator[] (int idx) const |
| bool | operator== (const Point2D< T > &) const |
| bool | operator!= (const Point2D< T > &) const |
| Point2D< T > & | operator+= (T dist) |
| Point2D< T > & | operator*= (T factor) |
| Point2D< T > & | operator/= (T den) |
| Point2D< T > & | operator+= (const Point2D< T > &) |
| Point2D< T > & | operator-= (const Point2D< T > &) |
| Point2D< T > | operator+ (const Point2D< T > &) const |
| Point2D< T > | operator- (const Point2D< T > &) const |
| Point2D< T > | operator* (const T factor) const |
| Point2D< T > | operator/ (const T den) const |
| void | swapXY () |
| bool | isDefined () const |
| double | abs () const |
| T | sqAbs () const |
| double | distTo (const Point2D< T > &) const |
| T | sqDistTo (const Point2D< T > &) const |
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 |
|
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. 2019