| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Solid::IsInside< aPoint > Class Template Reference

useful class to check if point is inside of the given solid More...

#include <DetDesc/Solid.h>

Collaboration diagram for Solid::IsInside< aPoint >:

[legend]
List of all members.

Public Member Functions

 IsInside (const aPoint &LocalPoint)
 (explicit) constructor
bool operator() (const ISolid *solid) const
 check if the point is inside of solid

Private Attributes

aPoint m_point
 point in the Local Reference System of Solid

Detailed Description

template<class aPoint>
class Solid::IsInside< aPoint >

useful class to check if point is inside of the given solid

Author:
Vanya Belyaev Ivan.Belyaev@itep.ru
Date:
03/08/2001

Definition at line 34 of file Solid.h.


Constructor & Destructor Documentation

template<class aPoint>
Solid::IsInside< aPoint >::IsInside ( const aPoint &  LocalPoint  )  [inline, explicit]

(explicit) constructor

Parameters:
LocalPoint point (in local reference system of solid)

Definition at line 42 of file Solid.h.

00043       : m_point( LocalPoint ){};


Member Function Documentation

template<class aPoint>
bool Solid::IsInside< aPoint >::operator() ( const ISolid solid  )  const [inline]

check if the point is inside of solid

Parameters:
solid pointer to ISolid object
Returns:
true, if point is inside the solid

Definition at line 49 of file Solid.h.

00050     { return ( 0 == solid ? false : solid->isInside( m_point ) ); };


Member Data Documentation

template<class aPoint>
aPoint Solid::IsInside< aPoint >::m_point [private]

point in the Local Reference System of Solid

Definition at line 50 of file Solid.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:00:22 2011 for DetDesc by doxygen 1.4.7