OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Sphere Class Reference

Represents a point in spherical coordinates. The angle phi lies in the horizontal plane, theta in the vertical plane. More...

Public Member Functions

 Sphere (float r=0, float t=0, float p=0)
 
 Sphere (const Coord3 &crd)
 
bool operator== (const Sphere &) const
 
bool operator!= (const Sphere &oth) const
 
bool isNull () const
 compares with epsilon More...
 

Static Public Member Functions

static const SpherenullSphere ()
 

Public Attributes

float radius
 
float theta
 
float phi
 

Detailed Description

Represents a point in spherical coordinates. The angle phi lies in the horizontal plane, theta in the vertical plane.

Constructor & Destructor Documentation

Sphere::Sphere ( float  r = 0,
float  t = 0,
float  p = 0 
)
inline
Sphere::Sphere ( const Coord3 crd)
inline

Member Function Documentation

bool Sphere::isNull ( ) const

compares with epsilon

static const Sphere& Sphere::nullSphere ( )
static
bool Sphere::operator!= ( const Sphere oth) const
inline
bool Sphere::operator== ( const Sphere s) const
inline

Member Data Documentation

float Sphere::phi
float Sphere::radius
float Sphere::theta

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