| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

Functions
E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeBox.cpp File Reference
`#include "TeBox.h"`
`#include "TeGeometry.h"`

## Functions

void | zoomIn (TeBox &box, double t)
| increases the box by a factor t
void | zoomOut (TeBox &box, double t)
| decreases box by a factor of t
void | updateBox (TeBox &box, const TeCoord2D &pt)
| update a box to include a coordinate
void | updateBox (TeBox &box, const TeBox &other)
| update a box to include another box
void | updateBox (TeBox &box, const TeGeometry &geo)
| update a box to include a geometry
TeBox | makeBox (double x1, double y1, double x2, double y2, const double &tol)
| builds a box
TeBox | adjustToCut (TeBox &box, double bWidth, double bHeight)
| finds the correspondent smallest box that allows a box to be cut in blocks of a given size
TePolygon | polygonFromBox (const TeBox &bb)
int | adjustBox (TeBox &bb)

## Function Documentation

int adjustBox | ( | TeBox & | bb | ) |

TeBox adjustToCut | ( | TeBox & | box,
|  | double | bWidth,
|  | double | bHeight
| ) |  |

finds the correspondent smallest box that allows a box to be cut in blocks of a given size

TeBox makeBox | ( | double | x1,
|  | double | y1,
|  | double | x2,
|  | double | y2,
|  | const double & | tol = `0.0`
| ) |  |

builds a box

TePolygon polygonFromBox | ( | const TeBox & | bb | ) |

Examples:
  TePDIHaralick_test.cpp, TePDIHistogram_test.cpp, and TePDIStatistic_test.cpp.

void updateBox void updateBox | ( | TeBox & | box,
|  | const TeBox & | other
| ) |  |

update a box to include another box

void updateBox | ( | TeBox & | box,
|  | const TeGeometry & | geo
| ) |  |

update a box to include a geometry

void updateBox void updateBox | ( | TeBox & | box,
|  | const TeCoord2D & | pt
| ) |  |

update a box to include a coordinate

Examples:
  TePDIBlender_test.cpp.

void zoomIn void zoomIn | ( | TeBox & | box,
|  | double | t = `.8`
| ) |  |

increases the box by a factor t

void zoomOut void zoomOut | ( | TeBox & | box,
|  | double | t = `.8`
| ) |  |

decreases box by a factor of t

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines