Stellarium 0.11.4 | |||
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure |
Public Member Functions | |
OctahedronPolygon (const SubContour &subContour) | |
Create the OctahedronContour by splitting the passed SubContour on the 8 sides of the octahedron. | |
OctahedronPolygon (const QVector< QVector< Vec3d > > &contours) | |
OctahedronPolygon (const QVector< Vec3d > &contour) | |
OctahedronPolygon (const QList< OctahedronPolygon > &octContours) | |
double | getArea () const |
Vec3d | getPointInside () const |
StelVertexArray | getFillVertexArray () const |
Returns the list of triangles resulting from tesselating the contours. | |
StelVertexArray | getOutlineVertexArray () const |
void | getBoundingCap (Vec3d &v, double &d) const |
void | inPlaceIntersection (const OctahedronPolygon &mpoly) |
Set this OctahedronContourOctahedronPolygonion of itself with the given OctahedronContour. | |
void | inPlaceUnion (const OctahedronPolygon &mpoly) |
Set this OctahedronContour as the union of itself with the given OctahedronContour. | |
void | inPlaceSubtraction (const OctahedronPolygon &mpoly) |
Set this OctahedronContour as the subtraction of itself with the given OctahedronContour. | |
bool | intersects (const OctahedronPolygon &mpoly) const |
bool | contains (const OctahedronPolygon &mpoly) const |
bool | contains (const Vec3d &p) const |
bool | isEmpty () const |
QString | toJson () const |
Static Public Member Functions | |
static const OctahedronPolygon & | getAllSkyOctahedronPolygon () |
static const OctahedronPolygon & | getEmptyOctahedronPolygon () |
static double | sphericalTriangleArea (const Vec3d &v0, const Vec3d &v1, const Vec3d &v2) |
Friends | |
QDataStream & | operator<< (QDataStream &, const OctahedronPolygon &) |
QDataStream & | operator>> (QDataStream &, OctahedronPolygon &) |
OctahedronPolygon | createAllSkyOctahedronPolygon () |
OctahedronPolygon::OctahedronPolygon | ( | const SubContour & | subContour | ) |
Create the OctahedronContour by splitting the passed SubContour on the 8 sides of the octahedron.
StelVertexArray OctahedronPolygon::getFillVertexArray | ( | ) | const [inline] |
Returns the list of triangles resulting from tesselating the contours.
void OctahedronPolygon::inPlaceIntersection | ( | const OctahedronPolygon & | mpoly | ) |
Set this OctahedronContourOctahedronPolygonion of itself with the given OctahedronContour.
void OctahedronPolygon::inPlaceSubtraction | ( | const OctahedronPolygon & | mpoly | ) |
Set this OctahedronContour as the subtraction of itself with the given OctahedronContour.
void OctahedronPolygon::inPlaceUnion | ( | const OctahedronPolygon & | mpoly | ) |
Set this OctahedronContour as the union of itself with the given OctahedronContour.