Home · All Namespaces · All Classes · Functions · Coding Style · Plugins · File Structure

StelGeom::HalfSpace Class Reference

A HalfSpace is defined by a direction and an aperture. More...

#include <StelSphereGeometry.hpp>

Inherited by StelGeom::Disk.

List of all members.

Public Member Functions

 HalfSpace (const Vec3d &an)
 HalfSpace (const Vec3d &an, double ar)
 HalfSpace (const HalfSpace &other)
bool contains (const Vec3d &v) const
bool operator== (const HalfSpace &other) const
double getArea () const

Public Attributes

Vec3d n
double d

Detailed Description

A HalfSpace is defined by a direction and an aperture.

It forms a cone from the center of the Coordinate frame with a radius d

Constructor & Destructor Documentation

StelGeom::HalfSpace::HalfSpace ( const Vec3d an,
double  ar 
) [inline]

Construct a HalfSpace from its direction and aperture.

an a unit vector indicating the direction
ar cosinus of the aperture

Member Function Documentation

double StelGeom::HalfSpace::getArea (  )  const [inline]

Get the area of the halfspace in steradian.

Member Data Documentation

The direction unit vector.

The cos of cone radius.

Generated on Mon Mar 9 16:16:17 2009 for Stellarium by  doxygen 1.5.5