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

StelGeom::Polygon Class Reference

A polygon is defined by a set of connected points. More...

#include <StelSphereGeometry.hpp>

Inherits std::vector< T >.

Inherited by StelGeom::ConvexPolygon.

List of all members.

Public Member Functions

 Polygon (int size=0)
 Polygon (const Vec3d &e0, const Vec3d &e1, const Vec3d &e2)
 Polygon (const Vec3d &e0, const Vec3d &e1, const Vec3d &e2, const Vec3d &e3)


Detailed Description

A polygon is defined by a set of connected points.

The last point is connected to the first one


Constructor & Destructor Documentation

StelGeom::Polygon::Polygon ( int  size = 0  )  [inline]

Default contructor.

StelGeom::Polygon::Polygon ( const Vec3d e0,
const Vec3d e1,
const Vec3d e2 
)

Special constructor for 3 points polygon.

StelGeom::Polygon::Polygon ( const Vec3d e0,
const Vec3d e1,
const Vec3d e2,
const Vec3d e3 
)

Special constructor for 4 points polygon.


Generated on Mon Feb 2 17:23:48 2009 for Stellarium by  doxygen 1.5.5