Public Member Functions | Data Fields
AtBBox2 Struct Reference

2D axis-aligned bounding box (uses integers) More...

#include <ai_bbox.h>

Public Member Functions

constexpr AtBBox2 (int min_x, int min_y, int max_x, int max_y)
 
constexpr int AiBBox2Area () const
 Compute the area (# of pixels) of an integer bbox.
 

Data Fields

int minx
 
int miny
 
int maxx
 
int maxy
 

Detailed Description

2D axis-aligned bounding box (uses integers)


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

© 2009-2018 Solid Angle SL · all rights reserved · www.solidangle.com