Mesh_GeoEllipse Class Reference

This class is an instance of the Geodesic generic class, specific to create a geodesic ellipse. More...

#include <Mesh_GeoEllipse.h>

Inheritance diagram for Mesh_GeoEllipse:

Geodesic GeometricMesh List of all members.

Public Member Functions

 Mesh_GeoEllipse (Real radius, double Eccent, int frequency=8, bool class_2=false)
 Constructor.
virtual ~Mesh_GeoEllipse ()
 Destruction.
void fillMesh ()
 This function defines the Vertices list (with position, normal and UV mapping).

Protected Member Functions

void getFacePoints (long facenumber)
 This function fills the mSphericPoints array with all the points of the face.
void getFacePoints_I (long facenumber)
 This function fills the mSphericPoints array with all the points of the face.
void getFacePoints_II (long facenumber)
 This function fills the mSphericPoints array with all the points of the face.
double getEllipseRadius (double E, double theta)
 This function calculates the radius of an ellipse for a given E and THETA.
double root_E (double E, double theta)
 This function calculates the root E theta correction.

Detailed Description

This class is an instance of the Geodesic generic class, specific to create a geodesic ellipse.

The geoEllipse is a flatten geosphere, looking like a flying saucer or a zeppelin (depending on the eccentricity factor).


Constructor & Destructor Documentation

Mesh_GeoEllipse::Mesh_GeoEllipse Real  radius,
double  Eccent,
int  frequency = 8,
bool  class_2 = false
 

Constructor.

Parameters:
radius The radius of the ellipse (major axis).
Eccent The eccentricity of the ellipse. Allowed values: 0 to 2.
frequency The frequency of subdivision. Best values: 1 to 10.
class_2 The geodesic class (class 1 or class 2)


Member Function Documentation

void Mesh_GeoEllipse::getFacePoints long  facenumber  )  [protected, virtual]
 

This function fills the mSphericPoints array with all the points of the face.

The points are repositionned, to be on a spheric surface.

Parameters:
facenumber The number of the face to analyze.

Reimplemented from Geodesic.

void Mesh_GeoEllipse::getFacePoints_I long  facenumber  )  [protected]
 

This function fills the mSphericPoints array with all the points of the face.

Given the polyhedron face number, this function calculate the Icosa face points and store them in an array. For Class I geoellipses.

void Mesh_GeoEllipse::getFacePoints_II long  facenumber  )  [protected]
 

This function fills the mSphericPoints array with all the points of the face.

Given the polyhedron face number, this function calculate the Icosa face points and store them in an array. For Class II geoellipses.

double Mesh_GeoEllipse::root_E double  E,
double  theta
[protected]
 

This function calculates the root E theta correction.

This function calculates the root E theta correction to even out elliptical edge length distributions.


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