Table of contents Introduction Tutorial Main classes
Top Previous Up Next

Shape::Polygon class reference
[Core module]

Declaration

#include <Goptical/Shape/Polygon>

namespace Goptical {
namespace Shape {
class Polygon;
};
};

This class is a member of the Shape namespace.

Inheritance








Description

This class implements the polygon shape.

Triangle tessellation required for proper 3d display only works with convex polygons yet.

See also RegularPolygon class.

Members

See also the full member list section for this class.

Inherited members

  • 12 members inherited from Base

Functions

Members detail

Polygon()

Create a polygon with given radius and edge count

unsigned int add_vertex(const Math::Vector2 &v)

No documentation available

void delete_vertex(unsigned int id)

No documentation available

const Math::Vector2 & get_vertex(unsigned int id)

No documentation available

unsigned int get_vertices_count() const

No documentation available

void insert_vertex(const Math::Vector2 &v, unsigned int id)

No documentation available

Valid XHTML 1.0 StrictGenerated by diaxen on Sun Jan 8 00:47:24 2012 using MkDoc

AltStyle によって変換されたページ (->オリジナル) /