![]() |
Home · All Namespaces · All Classes · Functions · Coding Style · Plugins · File Structure |
#include <StelSphereGeometry.hpp>
Inherited by StelGeom::Disk.
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 |
It forms a cone from the center of the Coordinate frame with a radius d
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 |
double StelGeom::HalfSpace::getArea | ( | ) | const [inline] |
Get the area of the halfspace in steradian.
The direction unit vector.
double StelGeom::HalfSpace::d |
The cos of cone radius.