Belle II Software  release-08-01-10
TRGArea2D Class Reference

A class to represent an 2D area. More...

#include <Area2D.h>

Collaboration diagram for TRGArea2D:

Public Member Functions

 TRGArea2D (const TRGPoint2D &leftBottom, const TRGPoint2D &rightUpper)
 Contructor.
 
virtual ~TRGArea2D ()
 Destructor.
 
bool inArea (const TRGPoint2D &x) const
 returns true if give point is in the area.
 
void cross (const TRGPoint2D &x0, const TRGPoint2D &x1, unsigned &nFound, TRGPoint2D crossPoint[2]) const
 returns cross-points.
 

Private Attributes

TRGPoint2D _c [2]
 2D points
 

Detailed Description

A class to represent an 2D area.

Definition at line 21 of file Area2D.h.


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