ESyS-Particle  2.3
Plane3D Class Reference

Class representing a Plane3D. More...

#include <Plane3D.h>

Collaboration diagram for Plane3D:

Public Member Functions

 Plane3D ()
 
 Plane3D (const Vec3 &iDir, const Vec3 &iPos)
 
 Plane3D (const Vec3 &iU, const Vec3 &iV, const Vec3 &iPos)
 
virtual ~Plane3D ()
 
virtual double sep (const Vec3 &) const
 
virtual double dist (const Vec3 &)
 
virtual Vec3 ToClosest (const Vec3 &M)
 
Vec3 GetU () const
 
Vec3 GetV () const
 
const Vec3 & GetW () const
 
Vec3 getNormal () const
 
const Vec3 & GetO () const
 
Vec3 getPos () const
 

Protected Member Functions

void Create ()
 

Protected Attributes

Vec3 U
 
Vec3 V
 
bool force3D
 
Vec3 Dir
 
Vec3 Pos
 

Detailed Description

Class representing a Plane3D.

Author
Steffen Abe $Revision$ $Date$

Constructor & Destructor Documentation

Plane3D::Plane3D ( )

"empty" default constructor

References U, and V.

Plane3D::Plane3D ( const Vec3 &  iDir,
const Vec3 &  iPos 
)

Construct plane from pos. and normal vector

Parameters
iPosposition
iDirnormal vector

References Create(), Dir, Pos, and Vec3::unit().

Here is the call graph for this function:

Plane3D::Plane3D ( const Vec3 &  iU,
const Vec3 &  iV,
const Vec3 &  iPos 
)

Construct plane from pos. and 2 vectors spanning the plane

Parameters
iPosposition
iU
iV

References cross(), Dir, Pos, U, Vec3::unit(), and V.

Here is the call graph for this function:

virtual Plane3D::~Plane3D ( )
inlinevirtual

Member Function Documentation

void Plane3D::Create ( )
protected

setup spanning vectors from pos & normal

References cross(), Dir, U, Vec3::unit(), and V.

Referenced by Plane3D().

Here is the call graph for this function:

Here is the caller graph for this function:

double Plane3D::dist ( const Vec3 &  M)
virtual

signed separation according to Direction of the normal

Parameters
Mthe point

References Dir, and Pos.

Referenced by ToClosest().

Here is the caller graph for this function:

Vec3 Plane3D::getNormal ( ) const
inline

References Dir.

Referenced by main().

Here is the caller graph for this function:

Vec3 Plane3D::getPos ( ) const
inline

References Pos.

Referenced by FracWriter::addPlane(), and main().

Here is the caller graph for this function:

Vec3 Plane3D::GetU ( ) const
inline

References U.

Referenced by FracWriter::addPlane(), and main().

Here is the caller graph for this function:

Vec3 Plane3D::GetV ( ) const
inline

References V.

Referenced by FracWriter::addPlane(), and main().

Here is the caller graph for this function:

virtual Vec3 Plane3D::ToClosest ( const Vec3 &  M)
inlinevirtual

References Dir, and dist().

Here is the call graph for this function:

Member Data Documentation

Vec3 Plane3D::Dir
protected
bool Plane3D::force3D
protected
Vec3 Plane3D::Pos
protected

Referenced by dist(), GetO(), getPos(), Plane3D(), and sep().

Vec3 Plane3D::U
protected

Referenced by Create(), GetU(), and Plane3D().

Vec3 Plane3D::V
protected

Referenced by Create(), GetV(), and Plane3D().


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