PixelLightAPI  .
Public Member Functions
PLMesh::MeshCreatorSuperEllipse Class Reference

Super ellipse mesh creator class. More...

#include <MeshCreatorSuperEllipse.h>

Inheritance diagram for PLMesh::MeshCreatorSuperEllipse:
Inheritance graph
[legend]

List of all members.

Public Member Functions

PLMESH_API MeshCreatorSuperEllipse ()
 Default constructor.
virtual PLMESH_API ~MeshCreatorSuperEllipse ()
 Destructor.

Detailed Description

Super ellipse mesh creator class.

Remarks:
The super ellipsoid is a versatile primitive that is controlled by two parameters. As special cases it can represent a sphere, square box, and closed cylindrical. It should be noted that there are some numerical issues with both very small or very large values of these parameters. Typically, for safety, they should be in the range of 0.1 to about 5.

Examples: (Power1/Power2)
1.0/1.0 = sphere
0.1/1.0 = rounded cylinder
0.1/0.1 = rounded box
1.0/0.1 = similar to a rounded box


Constructor & Destructor Documentation

Default constructor.

Destructor.


The documentation for this class was generated from the following file:


PixelLight PixelLight 0.9.11-R1
Copyright (C) 2002-2012 by The PixelLight Team
Last modified Thu Feb 23 2012 14:09:36
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported