Home · All Namespaces · All Classes · Functions · Coding Style · Plugins · File Structure |
#include <StelSphereGeometry.hpp>
Inherits std::vector< T >.
Inherited by StelGeom::ConvexPolygon.
Public Member Functions | |
ConvexS (const ConvexS &c) | |
ConvexS (int size=0) | |
ConvexS (const Vec3d &e0, const Vec3d &e1, const Vec3d &e2) | |
ConvexS (const Vec3d &e0, const Vec3d &e1, const Vec3d &e2, const Vec3d &e3) | |
bool | areAllPointsOutsideOneSide (const Polygon &poly) const |
A Convex region is not necessarily a ConvexPolygon, it can for example be a single HalfSpace. Because in X11, Convex is #defined as an int in X11/X.h: (#define Convex 2) we needed to use another name (ConvexS).
StelGeom::ConvexS::ConvexS | ( | const ConvexS & | c | ) | [inline] |
copy constructor
StelGeom::ConvexS::ConvexS | ( | int | size = 0 |
) | [inline] |
Default constructor.
Special constructor for 3 halfspaces convex.
StelGeom::ConvexS::ConvexS | ( | const Vec3d & | e0, | |
const Vec3d & | e1, | |||
const Vec3d & | e2, | |||
const Vec3d & | e3 | |||
) |
Special constructor for 4 halfspaces convex.
bool StelGeom::ConvexS::areAllPointsOutsideOneSide | ( | const Polygon & | poly | ) | const [inline] |