<Dome|User's Guide|Icosahedron>

Hexagon

See Javadoc

Hexagon defines a six-sided Polygon. Defined by a radius, six line segments are projected from a center each at a 60 degree angle from the lines next to it. This is a two dimensional object projected into three dimensional space.

In jME to define a Hexagon, simply supply the radius (or sideLength).

Example - Create a Hexagon
//We will build a Hexagon with sides of length 10
Hexagon h = new Hexagon("Hexagon", 10);

<Dome|User's Guide|Icosahedron>


/var/www/wiki/data/pages/hexagon.txt · Last modified: 2009/07/28 18:44 (external edit)  
Recent changes · Show pagesource · Login

Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki

subscribe to jME latest jme headlines


site design by bleedcrimson designs © 2008