MyGAL
Classes | Public Member Functions | Public Attributes | List of all members
mygal::Box< T > Class Template Reference

Class representing a box. More...

#include <Box.h>

Public Member Functions

bool contains (const Vector2< T > &point) const
 

Public Attributes

left
 
bottom
 
right
 
top
 

Detailed Description

template<typename T>
class mygal::Box< T >

Class representing a box.

Be careful, the y-axis is oriented to the top like in math. This bottom must be lower to top.

Author
Pierre Vigier

Definition at line 47 of file Box.h.

Member Data Documentation

◆ bottom

template<typename T>
T mygal::Box< T >::bottom

y-coordinate of the bottom side of the box

Definition at line 51 of file Box.h.

◆ left

template<typename T>
T mygal::Box< T >::left

x-coordinate of the left side of the box

Definition at line 50 of file Box.h.

◆ right

template<typename T>
T mygal::Box< T >::right

x-coordinate of the right side of the box

Definition at line 52 of file Box.h.

◆ top

template<typename T>
T mygal::Box< T >::top

y-coordinate of the top side of the box

Definition at line 53 of file Box.h.


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