renderstack::shapes::johnson_solid Class Reference

#include <polymesh.hpp>

Inherits renderstack::shapes::polymesh.

Public Member Functions

 johnson_solid (int number)

Detailed Description

Definition at line 172 of file polymesh.hpp.


Constructor & Destructor Documentation

renderstack::shapes::johnson_solid::johnson_solid ( int  number  ) 

Definition at line 1723 of file polymesh.cpp.

01724 {
01725     if(number != 83)
01726     {
01727         throw false;
01728     }
01729     push_point(0.622866913219, 0.618689929055, 0.268875295373);
01730     push_point(0.632830203313, 0.667979230789, -0.15223981211);
01731     push_point(0.260097696343, 0.86976646536, -0.137440272303);
01732     push_point(0.25013440625, 0.820477163625, 0.283674835181);
01733     push_point(-0.108878198249, 0.894110390313, 0.0702392854136);
01734     push_point(0.051935606844, 0.787120294271, -0.497585786041);
01735     push_point(-0.317040287749, 0.811464219225, -0.289906228324);
01736     push_point(0.655029471832, 0.46062169024, -0.521531944467);
01737     push_point(0.296016867333, 0.534254916928, -0.734967494234);
01738     push_point(-0.87205832873, 0.228232662749, -0.239314442373);
01739     push_point(-0.669974565739, 0.597988139875, -0.191255353363);
01740     push_point(0.32197274823, 0.149454066762, -0.911379608681);
01741     push_point(0.119888985239, -0.220301410364, -0.959438697691);
01742     push_point(-0.233045292752, -0.433777489714, -0.86078782273);
01743     push_point(-0.602021187345, -0.409433564761, -0.653108265014);
01744     push_point(-0.846102447834, -0.156568187418, -0.415726556821);
01745     push_point(-0.33316122976, 0.731712453736, 0.39147232876);
01746     push_point(0.0258513747388, 0.658079227048, 0.604907878527);
01747     push_point(-0.327082903252, 0.444603147699, 0.703558753488);
01748     push_point(-0.679937855833, 0.54869883814, 0.22985975412);
01749     push_point(-0.673859529325, 0.261589532103, 0.541946178848);
01750     push_point(-0.882021618824, 0.178943361014, 0.18180066511);
01751     push_point(-0.862223389845, -0.236319952906, 0.265652000264);
01752     push_point(-0.654061300346, -0.153673781818, 0.625797514001);
01753     push_point(-0.840024121326, -0.443677493455, -0.103640132093);
01754     push_point(-0.595942860836, -0.696542870798, -0.341021840286);
01755     push_point(-0.092964932856, 0.142448468621, 0.887292152778);
01756     push_point(0.259969345135, 0.35592454797, 0.788641277817);
01757     push_point(0.279767574113, -0.0593387659499, 0.872492612971);
01758     push_point(-0.295048695847, -0.227307008505, 0.839233063768);
01759     push_point(0.0776838111221, -0.429094243076, 0.824433523961);
01760     push_point(0.343964340131, -0.889317160968, 0.217759683411);
01761     push_point(0.321765071612, -0.681959620419, 0.587051815768);
01762     push_point(-0.223210353867, -0.898330105369, -0.355821380093);
01763     push_point(0.135802250632, -0.971963332057, -0.142385830326);
01764     push_point(0.648743468706, -0.0836826909031, 0.664813055254);
01765     push_point(0.628945239727, 0.331580623017, 0.580961720101);
01766     push_point(0.674699349602, -0.46848354107, 0.488400940807);
01767     push_point(0.696898618122, -0.675841081619, 0.119108808451);
01768     push_point(0.706861908215, -0.626551779884, -0.302006299033);
01769     push_point(0.700783581707, -0.339442473847, -0.614092723761);
01770     push_point(0.680985352729, 0.0758208400738, -0.697944058914);
01771     push_point(0.360085282143, -0.80956539548, -0.463618873673);
01772     push_point(0.00107267764377, -0.735932168792, -0.67705442344);
01773     push_point(0.354006955634, -0.522456089442, -0.775705298401);
01774 
01775     make_polygon(  9, 10,  6,  5,  8, 11, 12, 13, 14, 15);
01776     make_polygon( 31, 32, 30, 29, 23, 22, 24, 25, 33, 34);
01777     make_polygon( 36, 35, 37, 38, 39, 40, 41,  7,  1,  0);
01778     make_polygon(  1,  7,  8,  5,  2);
01779     make_polygon(  4,  6, 10, 19, 16);
01780     make_polygon(  9, 15, 24, 22, 21);
01781     make_polygon( 18, 20, 23, 29, 26);
01782     make_polygon( 28, 30, 32, 37, 35);
01783     make_polygon( 31, 34, 42, 39, 38);
01784     make_polygon( 40, 44, 12, 11, 41);
01785     make_polygon(  0,  3, 17, 27, 36);
01786     make_polygon( 43, 33, 25, 14, 13);
01787     make_polygon(  0,  1,  2,  3);
01788     make_polygon(  2,  5,  6,  4);
01789     make_polygon(  3,  4, 16, 17);
01790     make_polygon( 16, 19, 20, 18);
01791     make_polygon( 20, 21, 22, 23);
01792     make_polygon( 10,  9, 21, 19);
01793     make_polygon( 15, 14, 25, 24);
01794     make_polygon( 17, 18, 26, 27);
01795     make_polygon( 26, 29, 30, 28);
01796     make_polygon( 27, 28, 35, 36);
01797     make_polygon( 32, 31, 38, 37);
01798     make_polygon( 34, 33, 43, 42);
01799     make_polygon(  7, 41, 11,  8);
01800     make_polygon( 39, 42, 44, 40);
01801     make_polygon( 44, 43, 13, 12);
01802     make_polygon(  3,  2,  4);
01803     make_polygon( 17, 16, 18);
01804     make_polygon( 19, 21, 20);
01805     make_polygon( 27, 26, 28);
01806     make_polygon( 42, 43, 44);
01807 
01808     build_mesh_from_geometry();
01809 }


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