HE_Mesh2014  2.0.11
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
wblut.hemesh.HEC_Torus Class Reference
+ Inheritance diagram for wblut.hemesh.HEC_Torus:

Public Member Functions

 HEC_Torus ()
 
 HEC_Torus (final double Ri, final double Ro, final int tubefacets, final int torusfacets)
 
HEC_Torus setRadius (final double Ri, final double Ro)
 
HEC_Torus setTubeFacets (final int facets)
 
HEC_Torus setTorusFacets (final int facets)
 
HEC_Torus setTwist (final int t)
 
- Public Member Functions inherited from wblut.hemesh.HEC_Creator
 HEC_Creator ()
 
HEC_Creator setCenter (final double x, final double y, final double z)
 
HEC_Creator setScale (final double s)
 
HEC_Creator setCenter (final WB_Coord c)
 
HEC_Creator setZAngle (final double a)
 
HEC_Creator setZAxis (final double x, final double y, final double z)
 
HEC_Creator setZAxis (final double p0x, final double p0y, final double p0z, final double p1x, final double p1y, final double p1z)
 
HEC_Creator setZAxis (final WB_Coord p)
 
HEC_Creator setZAxis (final WB_Coord p0, final WB_Coord p1)
 
HEC_Creator setToModelview (final PApplet home)
 
HEC_Creator setToWorldview ()
 
HEC_Creator setManifoldCheck (final boolean b)
 
HEC_Creator setOverride (final boolean b)
 
final HE_Mesh create ()
 
HE_Mesh apply (final HE_Mesh mesh)
 
HE_Mesh apply (final HE_Selection sel)
 
- Public Member Functions inherited from wblut.hemesh.HE_Machine
abstract HE_Mesh apply (HE_Mesh mesh)
 
abstract HE_Mesh apply (HE_Selection selection)
 

Protected Member Functions

HE_Mesh createBase ()
 
- Protected Member Functions inherited from wblut.hemesh.HEC_Creator
abstract HE_Mesh createBase ()
 

Private Attributes

double Ri
 
double Ro
 
int tubefacets
 
int torusfacets
 
int twist
 

Additional Inherited Members

- Public Attributes inherited from wblut.hemesh.HEC_Creator
PApplet home
 
- Static Public Attributes inherited from wblut.hemesh.HE_Machine
static final WB_ProgressTracker tracker = WB_ProgressTracker.instance()
 
- Protected Attributes inherited from wblut.hemesh.HEC_Creator
WB_Point center
 
double zangle
 
WB_Vector zaxis
 
boolean override
 
boolean toModelview
 
WB_Vector Z
 
boolean manifoldCheck
 
double scale
 

Detailed Description

Torus.

Author
Frederik Vanhoutte (W:Blut)

Constructor & Destructor Documentation

wblut.hemesh.HEC_Torus.HEC_Torus ( )
wblut.hemesh.HEC_Torus.HEC_Torus ( final double  Ri,
final double  Ro,
final int  tubefacets,
final int  torusfacets 
)

Instantiates a new torus.

Parameters
Ri
Ro
tubefacets
torusfacets

Member Function Documentation

HE_Mesh wblut.hemesh.HEC_Torus.createBase ( )
protected
HEC_Torus wblut.hemesh.HEC_Torus.setRadius ( final double  Ri,
final double  Ro 
)

Sets the radius.

Parameters
Ri
Ro
Returns
HEC_Torus wblut.hemesh.HEC_Torus.setTorusFacets ( final int  facets)

Sets the torus facets.

Parameters
facets
Returns
HEC_Torus wblut.hemesh.HEC_Torus.setTubeFacets ( final int  facets)

Sets the tube facets.

Parameters
facets
Returns
HEC_Torus wblut.hemesh.HEC_Torus.setTwist ( final int  t)

Sets twist.

Parameters
t
Returns

Member Data Documentation

double wblut.hemesh.HEC_Torus.Ri
private

Tube radius.

double wblut.hemesh.HEC_Torus.Ro
private

Torus Radius.

int wblut.hemesh.HEC_Torus.torusfacets
private

Height steps.

int wblut.hemesh.HEC_Torus.tubefacets
private

Facets.

int wblut.hemesh.HEC_Torus.twist
private

The twist.


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