Belle II Software development
TRGArea2D Class Reference

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

#include <Area2D.h>

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.

Member Data Documentation

◆ _c

TRGPoint2D _c[2]
private

2D points

Definition at line 43 of file Area2D.h.


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