renderstack::shapes::truncated_dodecahedron Class Reference

#include <polymesh.hpp>

Inherits renderstack::shapes::polymesh.

Public Member Functions

 truncated_dodecahedron ()

Detailed Description

Definition at line 164 of file polymesh.hpp.


Constructor & Destructor Documentation

renderstack::shapes::truncated_dodecahedron::truncated_dodecahedron (  ) 

Definition at line 1623 of file polymesh.cpp.

01624 {
01625     push_point(0.0, 0.0, 0.0 );
01626     push_point(0, -1.618033988749895, 2.48989828488278);
01627     push_point(0, -1.618033988749895, -2.48989828488278);
01628     push_point(0, 1.618033988749895, 2.48989828488278);
01629     push_point(0, 1.618033988749895, -2.48989828488278);
01630     push_point(0.42532540417601994, -2.9270509831248424, 0.2628655560595668);
01631     push_point(0.42532540417601994, 2.9270509831248424, 0.2628655560595668);
01632     push_point(0.6881909602355868, -2.118033988749895, 1.9641671727636467);
01633     push_point(0.6881909602355868, 2.118033988749895, 1.9641671727636467);
01634     push_point(-2.752763840942347, 0, -1.1135163644116068);
01635     push_point(-2.0645728807067605, -2.118033988749895, 0.2628655560595668);
01636     push_point(-2.0645728807067605, 2.118033988749895, 0.2628655560595668);
01637     push_point(-1.3763819204711736, -2.618033988749895, -0.2628655560595668);
01638     push_point(-1.3763819204711736, 2.618033988749895, -0.2628655560595668);
01639     push_point(-0.6881909602355868, -2.118033988749895, -1.9641671727636467);
01640     push_point(-0.6881909602355868, 2.118033988749895, -1.9641671727636467);
01641     push_point(1.3763819204711736, -2.618033988749895, 0.2628655560595668);
01642     push_point(1.3763819204711736, 2.618033988749895, 0.2628655560595668);
01643     push_point(2.752763840942347, 0, 1.1135163644116066);
01644     push_point(1.8017073246471935, -1.3090169943749475, -1.9641671727636467);
01645     push_point(1.8017073246471935, 1.3090169943749475, -1.9641671727636467);
01646     push_point(2.0645728807067605, -2.118033988749895, -0.2628655560595668);
01647     push_point(2.0645728807067605, 2.118033988749895, -0.2628655560595668);
01648     push_point(2.2270327288232132, 0, 1.9641671727636467);
01649     push_point(2.2270327288232132, -1.618033988749895, -1.1135163644116068);
01650     push_point(2.2270327288232132, 1.618033988749895, -1.1135163644116068);
01651     push_point(-2.6523581329992334, -1.3090169943749475, 0.2628655560595668);
01652     push_point(-2.6523581329992334, 1.3090169943749475, 0.2628655560595668);
01653     push_point(2.6523581329992334, -1.3090169943749475, -0.2628655560595668);
01654     push_point(2.6523581329992334, 1.3090169943749475, -0.2628655560595668);
01655     push_point(2.9152236890588, -0.5, 0.2628655560595668);
01656     push_point(2.9152236890588, 0.5, 0.2628655560595668);
01657     push_point(-2.9152236890588, -0.5, -0.2628655560595668);
01658     push_point(-2.9152236890588, 0.5, -0.2628655560595668);
01659     push_point(0.9510565162951535, -1.3090169943749475, 2.48989828488278);
01660     push_point(0.9510565162951535, -1.3090169943749475, -2.48989828488278);
01661     push_point(0.9510565162951535, 1.3090169943749475, 2.48989828488278);
01662     push_point(0.9510565162951535, 1.3090169943749475, -2.48989828488278);
01663     push_point(0.85065080835204, -2.618033988749895, 1.1135163644116066);
01664     push_point(0.85065080835204, 2.618033988749895, 1.1135163644116066);
01665     push_point(-0.9510565162951535, -1.3090169943749475, 2.48989828488278);
01666     push_point(-0.9510565162951535, -1.3090169943749475, -2.48989828488278);
01667     push_point(-0.9510565162951535, 1.3090169943749475, 2.48989828488278);
01668     push_point(-0.9510565162951535, 1.3090169943749475, -2.48989828488278);
01669     push_point(-1.5388417685876268, -0.5, 2.48989828488278);
01670     push_point(-1.5388417685876268, -0.5, -2.48989828488278);
01671     push_point(-1.5388417685876268, 0.5, 2.48989828488278);
01672     push_point(-1.5388417685876268, 0.5, -2.48989828488278);
01673     push_point(1.5388417685876268, -0.5, 2.48989828488278);
01674     push_point(1.5388417685876268, -0.5, -2.48989828488278);
01675     push_point(1.5388417685876268, 0.5, 2.48989828488278);
01676     push_point(1.5388417685876268, 0.5, -2.48989828488278);
01677     push_point(-2.2270327288232132, 0, -1.9641671727636467);
01678     push_point(-2.2270327288232132, -1.618033988749895, 1.1135163644116066);
01679     push_point(-2.2270327288232132, 1.618033988749895, 1.1135163644116066);
01680     push_point(-0.85065080835204, -2.618033988749895, -1.1135163644116068);
01681     push_point(-0.85065080835204, 2.618033988749895, -1.1135163644116068);
01682     push_point(-1.8017073246471933, -1.3090169943749475, 1.9641671727636467);
01683     push_point(-1.8017073246471933, 1.3090169943749475, 1.9641671727636467);
01684     push_point(-0.42532540417601994, -2.9270509831248424, -0.2628655560595668);
01685     push_point(-0.42532540417601994, 2.9270509831248424, -0.2628655560595668);
01686 
01687     make_polygon(  3, 42, 46, 44, 40,  1, 34, 48, 50, 36);
01688     make_polygon( 47, 43,  4, 37, 51, 49, 35,  2, 41, 45);
01689     make_polygon(  2, 35, 19, 24, 21, 16,  5, 59, 55, 14);
01690     make_polygon( 49, 51, 20, 25, 29, 31, 30, 28, 24, 19);
01691     make_polygon( 37,  4, 15, 56, 60,  6, 17, 22, 25, 20);
01692     make_polygon( 43, 47, 52,  9, 33, 27, 11, 13, 56, 15);
01693     make_polygon( 45, 41, 14, 55, 12, 10, 26, 32,  9, 52);
01694     make_polygon(  6, 60, 13, 11, 54, 58, 42,  3,  8, 39);
01695     make_polygon( 27, 33, 32, 26, 53, 57, 44, 46, 58, 54);
01696     make_polygon( 10, 12, 59,  5, 38,  7,  1, 40, 57, 53);
01697     make_polygon( 16, 21, 28, 30, 18, 23, 48, 34,  7, 38);
01698     make_polygon( 31, 29, 22, 17, 39,  8, 36, 50, 23, 18);
01699     make_polygon(  9, 32, 33);
01700     make_polygon( 18, 30, 31);
01701     make_polygon( 47, 45, 52);
01702     make_polygon( 50, 48, 23);
01703     make_polygon( 10, 53, 26);
01704     make_polygon( 27, 54, 11);
01705     make_polygon( 21, 24, 28);
01706     make_polygon( 29, 25, 22);
01707     make_polygon( 40, 44, 57);
01708     make_polygon( 58, 46, 42);
01709     make_polygon( 35, 49, 19);
01710     make_polygon( 20, 51, 37);
01711     make_polygon( 12, 55, 59);
01712     make_polygon( 60, 56, 13);
01713     make_polygon( 41,  2, 14);
01714     make_polygon( 15,  4, 43);
01715     make_polygon( 34,  1,  7);
01716     make_polygon(  8,  3, 36);
01717     make_polygon( 38,  5, 16);
01718     make_polygon( 17,  6, 39);
01719 
01720     build_mesh_from_geometry();
01721 }


The documentation for this class was generated from the following files:
Generated on Sun Apr 11 12:23:12 2010 for RenderStack by  doxygen 1.6.3