Bemsolver 2.0
Public Member Functions | Protected Attributes

D3thicktriangle Class Reference

#include <bem.h>

Inheritance diagram for D3thicktriangle:
Inheritance graph
[legend]
Collaboration diagram for D3thicktriangle:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 D3thicktriangle (double xa, double ya, double xb, double yb, double htriangle, double x, double y, double z, double phi, double theta, double psi, bool inversenorm=false, PD3element parent=NULL)
 Creates a thick triangle from 2 2-dimensional vectors, 1 3-dimensional center vector and 3 Euler-angles.
 ~D3thicktriangle ()

Protected Attributes

double xa
double ya
double xb
double yb
double htriangle

Constructor & Destructor Documentation

D3thicktriangle::D3thicktriangle ( double  xa,
double  ya,
double  xb,
double  yb,
double  htriangle,
double  x,
double  y,
double  z,
double  phi,
double  theta,
double  psi,
bool  inversenorm = false,
PD3element  parent = NULL 
) [inline]

Creates a thick triangle from 2 2-dimensional vectors, 1 3-dimensional center vector and 3 Euler-angles.

The parameter htriangle determines the thickness of the triangle. For phi_ = theta_= psi_ = 0 the thickness corresponds to the extension in z-direction.

The parameters x,y,z determine the 1. corner of the triangle. The Euler-rotations are also performed with respect to this corner.
(x,y,z) can also be interpreted as a center of a coordinate system.
The 2. corner is determined by (xa_ + x, ya_ + y). The 3. corner is determined by (xb_ + x, yb_ + y).

The ordering does not matter!! The angles phi_, theta_ and psi_ can be declared in degrees and represent Euler-angles.

The Center (x,y,z) specifies the center of the Euler-rotations

The Euler-rotations occur in the following order:

phi_:..........Rotation around z-axis...................................x -> x'......y -> y'.......z -> z
theta_:......Rotation around the rotated x-axis (x'):.........x'-> x'......y' -> y''......z -> z'
psi_:..........Rotation around z'-axis:.................................x'-> x''......y''-> y'''.....z'-> z'


D3thicktriangle::~D3thicktriangle ( ) [inline]

Member Data Documentation

double D3thicktriangle::htriangle [protected]
double D3thicktriangle::xa [protected]
double D3thicktriangle::xb [protected]
double D3thicktriangle::ya [protected]
double D3thicktriangle::yb [protected]

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Friends Defines