ESyS-Particle  2.3.4
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 Vec3GetW () const
 
Vec3 getNormal () const
 
const Vec3GetO () 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() [1/3]

Plane3D::Plane3D ( )

"empty" default constructor

References U, and V.

◆ Plane3D() [2/3]

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() [3/3]

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:

◆ ~Plane3D()

virtual Plane3D::~Plane3D ( )
inlinevirtual

Member Function Documentation

◆ Create()

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:

◆ dist()

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:

◆ getNormal()

Vec3 Plane3D::getNormal ( ) const
inline

References Dir.

Referenced by main().

Here is the caller graph for this function:

◆ GetO()

◆ getPos()

Vec3 Plane3D::getPos ( ) const
inline

References Pos.

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

Here is the caller graph for this function:

◆ GetU()

Vec3 Plane3D::GetU ( ) const
inline

References U.

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

Here is the caller graph for this function:

◆ GetV()

Vec3 Plane3D::GetV ( ) const
inline

References V.

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

Here is the caller graph for this function:

◆ GetW()

◆ sep()

◆ ToClosest()

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

References Dir, and dist().

Here is the call graph for this function:

Member Data Documentation

◆ Dir

Vec3 Plane3D::Dir
protected

◆ force3D

bool Plane3D::force3D
protected

◆ Pos

Vec3 Plane3D::Pos
protected

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

◆ U

Vec3 Plane3D::U
protected

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

◆ V

Vec3 Plane3D::V
protected

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


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