OpendTect 8.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Geom::Point3D< T > Class Template Reference

#include <point3d.h>

Inheritance diagram for Geom::Point3D< T >:
[legend]

Public Member Functions

 Point3D (const Point2D< T > &, T)
 
 Point3D (T xx=0, T yy=0, T zz=0)
 
virtual ~Point3D ()
 
template<class FT >
FT abs () const
 
Point3D< T > cross (const Point3D< T > &) const
 
template<class FT >
FT distTo (const Point3D< T > &) const
 
dot (const Point3D< T > &) const
 
Point2D< T > getXY () const
 
bool isDefined () const
 
bool isSameAs (const Point3D &pos, const Point3D &eps) const
 
bool isUdf () const
 
Point3D< T > normalize () const
 Returns vector with length one.
 
bool operator!= (const Point3D &) const
 
Point3D< T > operator* (const T factor) const
 
Point3D< T > & operator*= (T factor)
 
Point3D< T > operator+ (const Point3D< T > &) const
 
Point3D< T > & operator+= (const Point3D< T > &)
 
Point3D< T > & operator+= (T dist)
 
Point3D< T > operator- () const
 
Point3D< T > operator- (const Point3D< T > &) const
 
Point3D< T > & operator-= (const Point3D< T > &)
 
Point3D< T > operator/ (const T den) const
 
Point3D< T > & operator/= (T den)
 
bool operator== (const Point3D &) const
 
T & operator[] (int idx)
 
operator[] (int idx) const
 
Point3D< T > scaleBy (const Point3D< T > &factor) const
 
template<class TT >
Point3D< T > & setFrom (const Point3D< TT > &)
 
void setUdf ()
 
void setXY (const Point2D< T > &)
 
void setXY (T xx, T yy)
 
template<class TT >
void setXY (TT xx, TT yy)
 
sqAbs () const
 Squared absolute value.
 
sqDistTo (const Point3D< T > &) const
 Squared distance.
 
BufferString toPrettyString () const
 
BufferString toPrettyString () const
 
BufferString toPrettyString () const
 
BufferString toString () const
 
Point3D< T > unScaleBy (const Point3D< T > &denominator) const
 
template<class FT >
FT xyDistTo (const Point2D< T > &) const
 Distance in the xy plane.
 
template<class FT >
FT xyDistTo (const Point3D< T > &) const
 Distance in the xy plane.
 
xySqDistTo (const Point2D< T > &) const
 Square distance in the xy plane.
 
xySqDistTo (const Point3D< T > &) const
 Square distance in the xy plane.
 
Point3D< T > & zero ()
 

Static Public Member Functions

static Point3D< T > udf ()
 

Public Attributes

x_
 
y_
 
z_
 

Detailed Description

template<class T>
class Geom::Point3D< T >

<>

Constructor & Destructor Documentation

◆ Point3D() [1/2]

template<class T >
Geom::Point3D< T >::Point3D ( const Point2D< T > & p,
T z )
inline

◆ Point3D() [2/2]

template<class T >
Geom::Point3D< T >::Point3D ( T xx = 0,
T yy = 0,
T zz = 0 )
inline

◆ ~Point3D()

template<class T >
Geom::Point3D< T >::~Point3D ( )
inlinevirtual

Member Function Documentation

◆ abs()

template<class T >
template<class FT >
FT Geom::Point3D< T >::abs ( ) const
inline

◆ cross()

template<class T >
Point3D< T > Geom::Point3D< T >::cross ( const Point3D< T > & b) const
inline

◆ distTo()

template<class T >
template<class FT >
FT Geom::Point3D< T >::distTo ( const Point3D< T > & pt) const
inline

◆ dot()

template<class T >
T Geom::Point3D< T >::dot ( const Point3D< T > & b) const
inline

◆ getXY()

template<class T >
Point2D< T > Geom::Point3D< T >::getXY ( ) const
inline

◆ isDefined()

template<class T >
bool Geom::Point3D< T >::isDefined ( ) const
inline

◆ isSameAs()

template<class T >
bool Geom::Point3D< T >::isSameAs ( const Point3D< T > & pos,
const Point3D< T > & eps ) const
inline

◆ isUdf()

template<class T >
bool Geom::Point3D< T >::isUdf ( ) const
inline

◆ normalize()

template<class T >
Point3D< T > Geom::Point3D< T >::normalize ( ) const
inline

Returns vector with length one.

◆ operator!=()

template<class T >
bool Geom::Point3D< T >::operator!= ( const Point3D< T > & oth) const
inline

◆ operator*()

template<class T >
Point3D< T > Geom::Point3D< T >::operator* ( const T factor) const
inline

◆ operator*=()

template<class T >
Point3D< T > & Geom::Point3D< T >::operator*= ( T factor)
inline

◆ operator+()

template<class T >
Point3D< T > Geom::Point3D< T >::operator+ ( const Point3D< T > & p) const
inline

◆ operator+=() [1/2]

template<class T >
Point3D< T > & Geom::Point3D< T >::operator+= ( const Point3D< T > & p)
inline

◆ operator+=() [2/2]

template<class T >
Point3D< T > & Geom::Point3D< T >::operator+= ( T dist)
inline

◆ operator-() [1/2]

template<class T >
Point3D< T > Geom::Point3D< T >::operator- ( ) const
inline

◆ operator-() [2/2]

template<class T >
Point3D< T > Geom::Point3D< T >::operator- ( const Point3D< T > & p) const
inline

◆ operator-=()

template<class T >
Point3D< T > & Geom::Point3D< T >::operator-= ( const Point3D< T > & p)
inline

◆ operator/()

template<class T >
Point3D< T > Geom::Point3D< T >::operator/ ( const T den) const
inline

◆ operator/=()

template<class T >
Point3D< T > & Geom::Point3D< T >::operator/= ( T den)
inline

◆ operator==()

template<class T >
bool Geom::Point3D< T >::operator== ( const Point3D< T > & b) const
inline

◆ operator[]() [1/2]

template<class T >
T & Geom::Point3D< T >::operator[] ( int idx)
inline

◆ operator[]() [2/2]

template<class T >
T Geom::Point3D< T >::operator[] ( int idx) const
inline

◆ scaleBy()

template<class T >
Point3D< T > Geom::Point3D< T >::scaleBy ( const Point3D< T > & factor) const
inline

◆ setFrom()

template<class T >
template<class TT >
Point3D< T > & Geom::Point3D< T >::setFrom ( const Point3D< TT > & a)
inline

◆ setUdf()

template<class T >
void Geom::Point3D< T >::setUdf ( )
inline

◆ setXY() [1/3]

template<class T >
void Geom::Point3D< T >::setXY ( const Point2D< T > & p)
inline

◆ setXY() [2/3]

template<class T >
void Geom::Point3D< T >::setXY ( T xx,
T yy )
inline

◆ setXY() [3/3]

template<class T >
template<class TT >
void Geom::Point3D< T >::setXY ( TT xx,
TT yy )
inline

◆ sqAbs()

template<class T >
T Geom::Point3D< T >::sqAbs ( ) const
inline

Squared absolute value.

◆ sqDistTo()

template<class T >
T Geom::Point3D< T >::sqDistTo ( const Point3D< T > & pt) const
inline

Squared distance.

◆ toPrettyString() [1/3]

template<class T >
BufferString Geom::Point3D< T >::toPrettyString ( ) const
inline

◆ toPrettyString() [2/3]

BufferString Geom::Point3D< float >::toPrettyString ( ) const
inline

◆ toPrettyString() [3/3]

BufferString Geom::Point3D< double >::toPrettyString ( ) const
inline

◆ toString()

template<class T >
BufferString Geom::Point3D< T >::toString ( ) const
inline

◆ udf()

template<class T >
Point3D< T > Geom::Point3D< T >::udf ( )
inlinestatic

◆ unScaleBy()

template<class T >
Point3D< T > Geom::Point3D< T >::unScaleBy ( const Point3D< T > & denominator) const
inline

◆ xyDistTo() [1/2]

template<class T >
template<class FT >
FT Geom::Point3D< T >::xyDistTo ( const Point2D< T > & pt) const
inline

Distance in the xy plane.

◆ xyDistTo() [2/2]

template<class T >
template<class FT >
FT Geom::Point3D< T >::xyDistTo ( const Point3D< T > & pt) const
inline

Distance in the xy plane.

◆ xySqDistTo() [1/2]

template<class T >
T Geom::Point3D< T >::xySqDistTo ( const Point2D< T > & pt) const
inline

Square distance in the xy plane.

◆ xySqDistTo() [2/2]

template<class T >
T Geom::Point3D< T >::xySqDistTo ( const Point3D< T > & pt) const
inline

Square distance in the xy plane.

◆ zero()

template<class T >
Point3D< T > & Geom::Point3D< T >::zero ( )
inline

Member Data Documentation

◆ x_

template<class T >
T Geom::Point3D< T >::x_

◆ y_

template<class T >
T Geom::Point3D< T >::y_

◆ z_

template<class T >
T Geom::Point3D< T >::z_

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2025