renderstack::shapes::truncated_icosahedron Class Reference

#include <polymesh.hpp>

Inherits renderstack::shapes::polymesh.

Public Member Functions

 truncated_icosahedron ()

Detailed Description

Definition at line 152 of file polymesh.hpp.


Constructor & Destructor Documentation

renderstack::shapes::truncated_icosahedron::truncated_icosahedron (  ) 

Definition at line 1333 of file polymesh.cpp.

01334 {
01335     push_point( 0.0,                  0.0,                 0.0 );
01336     push_point(-0.16245984811645317, -2.118033988749895,   1.2759762125280598 );
01337     push_point(-0.16245984811645317,  2.118033988749895,   1.2759762125280598);
01338     push_point( 0.16245984811645317, -2.118033988749895,  -1.27597621252806 );
01339     push_point( 0.16245984811645317,  2.118033988749895,  -1.27597621252806 );
01340     push_point(-0.2628655560595668,  -0.8090169943749473, -2.327438436766327 );
01341     push_point(-0.2628655560595668,  -2.4270509831248424, -0.42532540417601994 );
01342     push_point(-0.2628655560595668,   0.8090169943749475, -2.327438436766327 );
01343     push_point(-0.2628655560595668,   2.4270509831248424, -0.42532540417601994 );
01344     push_point( 0.2628655560595668,  -0.8090169943749473,  2.327438436766327 );
01345     push_point( 0.2628655560595668,  -2.4270509831248424,  0.42532540417601994 );
01346     push_point( 0.2628655560595668,   0.8090169943749475,  2.327438436766327);
01347     push_point( 0.2628655560595668,   2.4270509831248424,  0.42532540417601994 );
01348     push_point( 0.6881909602355868,  -0.5,                -2.327438436766327 );
01349     push_point( 0.6881909602355868,   0.5,                -2.327438436766327 );
01350     push_point( 1.2139220723547204,  -2.118033988749895,   0.42532540417601994 );
01351     push_point( 1.2139220723547204,   2.118033988749895,   0.42532540417601994 );
01352     push_point(-2.0645728807067605,  -0.5,                 1.2759762125280598 );
01353     push_point(-2.0645728807067605,   0.5,                 1.2759762125280598 );
01354     push_point(-1.3763819204711736,  -1,                   1.8017073246471935 );
01355     push_point(-1.3763819204711736,   1,                   1.8017073246471935 );
01356     push_point(-1.3763819204711736,  -1.6180339887498947, -1.27597621252806 );
01357     push_point(-1.3763819204711736,   1.618033988749895,  -1.27597621252806 );
01358     push_point(-0.6881909602355868,  -0.5,                 2.327438436766327 );
01359     push_point(-0.6881909602355868,   0.5,                 2.327438436766327 );
01360     push_point( 1.3763819204711736,  -1,                  -1.8017073246471933 );
01361     push_point( 1.3763819204711736,   1,                  -1.8017073246471933 );
01362     push_point( 1.3763819204711736,  -1.6180339887498947,  1.2759762125280598 );
01363     push_point( 1.3763819204711736,   1.618033988749895,   1.2759762125280598);
01364     push_point(-1.7013016167040798,   0,                  -1.8017073246471933 );
01365     push_point( 1.7013016167040798,   0,                   1.8017073246471935 );
01366     push_point(-1.2139220723547204,  -2.118033988749895,  -0.42532540417601994 );
01367     push_point(-1.2139220723547204,   2.118033988749895,  -0.42532540417601994 );
01368     push_point(-1.9641671727636467,  -0.8090169943749473, -1.27597621252806 );
01369     push_point(-1.9641671727636467,   0.8090169943749475, -1.27597621252806 );
01370     push_point( 2.0645728807067605,  -0.5,                -1.27597621252806 );
01371     push_point( 2.0645728807067605,   0.5,                -1.27597621252806 );
01372     push_point( 2.2270327288232132,  -1,                  -0.42532540417601994 );
01373     push_point( 2.2270327288232132,   1,                  -0.42532540417601994 );
01374     push_point( 2.3894925769396664,  -0.5,                 0.42532540417601994 );
01375     push_point( 2.3894925769396664,   0.5,                 0.42532540417601994 );
01376     push_point(-1.1135163644116066,  -1.8090169943749475,  1.2759762125280598 );
01377     push_point(-1.1135163644116066,   1.8090169943749475,  1.2759762125280598 );
01378     push_point( 1.1135163644116066,  -1.8090169943749475, -1.27597621252806 );
01379     push_point( 1.1135163644116066,   1.8090169943749475, -1.27597621252806 );
01380     push_point(-2.3894925769396664,  -0.5,                -0.42532540417601994 );
01381     push_point(-2.3894925769396664,   0.5,                -0.42532540417601994 );
01382     push_point(-1.6392474765307403,  -1.8090169943749475,  0.42532540417601994 );
01383     push_point(-1.6392474765307403,   1.8090169943749475,  0.42532540417601994 );
01384     push_point( 1.6392474765307403,  -1.8090169943749475, -0.42532540417601994);
01385     push_point( 1.6392474765307403,   1.8090169943749475, -0.42532540417601994 );
01386     push_point( 1.9641671727636467,  -0.8090169943749473,  1.2759762125280598);
01387     push_point( 1.9641671727636467,   0.8090169943749475,  1.2759762125280598);
01388     push_point( 0.85065080835204,     0,                   2.327438436766327 );
01389     push_point(-2.2270327288232132,  -1,                   0.42532540417601994 );
01390     push_point(-2.2270327288232132,   1,                   0.42532540417601994 );
01391     push_point(-0.85065080835204,     0,                  -2.327438436766327 );
01392     push_point(-0.5257311121191336,  -1.6180339887498947, -1.8017073246471933 );
01393     push_point(-0.5257311121191336,   1.618033988749895,  -1.8017073246471933);
01394     push_point( 0.5257311121191336,  -1.6180339887498947,  1.8017073246471935 );
01395     push_point( 0.5257311121191336,   1.618033988749895,   1.8017073246471935);
01396 
01397     make_polygon( 53, 11, 24, 23,  9 );
01398     make_polygon( 51, 39, 40, 52, 30 );
01399     make_polygon( 60, 28, 16, 12,  2 );
01400     make_polygon( 20, 42, 48, 55, 18 );
01401     make_polygon( 19, 17, 54, 47, 41 );
01402     make_polygon(  1, 10, 15, 27, 59 );
01403     make_polygon( 36, 26, 44, 50, 38 );
01404     make_polygon(  4, 58, 22, 32,  8 );
01405     make_polygon( 34, 29, 33, 45, 46 );
01406     make_polygon( 21, 57,  3,  6, 31 );
01407     make_polygon( 37, 49, 43, 25, 35 );
01408     make_polygon( 13,  5, 56,  7, 14 );
01409     make_polygon(  9, 59, 27, 51, 30, 53 );
01410     make_polygon( 53, 30, 52, 28, 60, 11 );
01411     make_polygon( 11, 60,  2, 42, 20, 24 );
01412     make_polygon( 24, 20, 18, 17, 19, 23 );
01413     make_polygon( 23, 19, 41,  1, 59,  9 );
01414     make_polygon( 13, 25, 43,  3, 57,  5 );
01415     make_polygon(  5, 57, 21, 33, 29, 56 );
01416     make_polygon( 56, 29, 34, 22, 58,  7 );
01417     make_polygon(  7, 58,  4, 44, 26, 14 );
01418     make_polygon( 14, 26, 36, 35, 25, 13 );
01419     make_polygon( 40, 38, 50, 16, 28, 52 );
01420     make_polygon( 16, 50, 44,  4,  8, 12 );
01421     make_polygon( 12,  8, 32, 48, 42,  2 );
01422     make_polygon( 48, 32, 22, 34, 46, 55 );
01423     make_polygon( 55, 46, 45, 54, 17, 18 );
01424     make_polygon( 54, 45, 33, 21, 31, 47 );
01425     make_polygon( 47, 31,  6, 10,  1, 41 );
01426     make_polygon( 10,  6,  3, 43, 49, 15 );
01427     make_polygon( 15, 49, 37, 39, 51, 27 );
01428     make_polygon( 39, 37, 35, 36, 38, 40 );
01429 
01430     build_mesh_from_geometry();
01431 }


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