SC2API
An API for AI for StarCraft II
Public Member Functions | Public Attributes | List of all members
sc2::Rect2DI Struct Reference

2D integer rectangle. More...

#include <sc2_common.h>

Public Member Functions

 Rect2DI (const Point2DI &in_from, const Point2DI &in_to)
 
int Width () const
 
int Height () const
 
bool Contain (const sc2::Point2DI &point) const
 

Public Attributes

Point2DI from
 
Point2DI to
 

Detailed Description

2D integer rectangle.


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