Mesh_Sphere Class Reference

This class create a Mesh Sphere. More...

#include <Mesh_Sphere.h>

Inheritance diagram for Mesh_Sphere:

GeometricMesh List of all members.

Public Member Functions

 Mesh_Sphere (Real radius, int nRings=16, int nSegments=16)
 Constructor.
virtual ~Mesh_Sphere ()
 Destruction.

Protected Member Functions

void fillMesh ()
 This function inserts all the vertices of the mesh, and defines all its triangles.

Detailed Description

This class create a Mesh Sphere.


Constructor & Destructor Documentation

Mesh_Sphere::Mesh_Sphere Real  radius,
int  nRings = 16,
int  nSegments = 16
 

Constructor.

Parameters:
radius The sphere's radius.
nRings Number of lines of longitude. Default value is 16.
nSegments Number of lines of latitude. Default value is 16.


The documentation for this class was generated from the following files:
Generated on Sun May 7 22:53:51 2006 for Geometrik by  doxygen 1.4.6-NO