EMODnet Quantized Mesh Generator for Cesium
Public Member Functions | Protected Attributes | List of all members
Ellipsoid Class Reference

Describes an ellipsoid. More...

#include <ellipsoid.h>

Inheritance diagram for Ellipsoid:
WGS84Ellipsoid

Public Member Functions

 Ellipsoid (const double &rx, const double &ry, const double &rz)
 Constructor. More...
 
 Ellipsoid ()
 Default constructor (all radius set to 0)
 
 Ellipsoid (const Ellipsoid &e)
 Copy constructor. More...
 
double getRadiusX () const
 Get the X radius of the ellipsoid.
 
double getRadiusY () const
 Get the Y radius of the ellipsoid.
 
double getRadiusZ () const
 Get the Z radius of the ellipsoid.
 
void setRadiusX (const double &rx)
 Set the X radius of the ellipsoid.
 
void setRadiusY (const double &ry)
 Set the Y radius of the ellipsoid.
 
void setRadiusZ (const double &rz)
 Set the Z radius of the ellipsoid.
 

Protected Attributes

double m_rx
 Radius of the ellipsoid in X.
 
double m_ry
 Radius of the ellipsoid in Y.
 
double m_rz
 Radius of the ellipsoid in Z.
 

Detailed Description

Describes an ellipsoid.

A quadratic surface of the form (x / rx)^2 + (y / ry)^2 + (z / rz)^2 = 1. The ellipsoid chosen has implications in the Quantized Mesh format, specially for computing the occlusion point of a Quantized Mesh tile.

Constructor & Destructor Documentation

◆ Ellipsoid() [1/2]

Ellipsoid::Ellipsoid ( const double &  rx,
const double &  ry,
const double &  rz 
)
inline

Constructor.

Parameters
rxRadius of the ellipsoid in X
ryRadius of the ellipsoid in Y
rzRadius of the ellipsoid in Z

◆ Ellipsoid() [2/2]

Ellipsoid::Ellipsoid ( const Ellipsoid e)
inline

Copy constructor.

Parameters
eThe ellipsoid to copy

The documentation for this class was generated from the following file: