OpendTect 8.0
Loading...
Searching...
No Matches
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...

#include <trigonometry.h>

Public Member Functions

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

Static Public Member Functions

static const SpherenullSphere ()
 

Public Attributes

float phi
 
float radius
 
float theta
 

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() [1/2]

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

◆ Sphere() [2/2]

Sphere::Sphere ( const Coord3 & crd)
inline

Member Function Documentation

◆ isNull()

bool Sphere::isNull ( ) const

compares with epsilon

◆ nullSphere()

static const Sphere & Sphere::nullSphere ( )
static

◆ operator!=()

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

◆ operator==()

bool Sphere::operator== ( const Sphere & s) const
inline

Member Data Documentation

◆ phi

float Sphere::phi

◆ radius

float Sphere::radius

◆ theta

float Sphere::theta

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