ESyS-Particle  4.0.1
Public Member Functions | Protected Member Functions | Protected Attributes
Plane Class Reference

Class representing a Plane. More...

#include <Plane.h>

Collaboration diagram for Plane:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Plane ()
 Plane (const Vec3 &iDir, const Vec3 &iPos)
 Plane (const Vec3 &iU, const Vec3 &iV, const Vec3 &iPos)
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 Plane.

Author:
Steffen Abe $Revision$ $Date$

Constructor & Destructor Documentation

"empty" default constructor

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

Construct plane from pos. and normal vector

Parameters:
iPosposition
iDirnormal vector

References Create().

Here is the call graph for this function:

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

Construct plane from pos. and 2 vectors spanning the plane

Parameters:
iPosposition
iU
iV

Member Function Documentation

void Plane::Create ( ) [protected]

setup spanning vectors from pos & normal

Referenced by Plane().

Here is the caller graph for this function:

double Plane::dist ( const Vec3 &  M) [virtual]

signed separation according to Direction of the normal

Parameters:
Mthe point
double Plane::sep ( const Vec3 &  M) const [virtual]

distance of a point from the plane

Parameters:
Mthe point

Referenced by ARandomAssembly3D::checkAFit(), ARandomAssembly3D::fillSpace(), CRoughPaddedBlock3D::getClosestPlane(), and ARandomAssembly3D::getClosestPlane().

Here is the caller graph for this function:


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