OptrisOptrisDocumentation

Documentation/OTC SDK/OTC SDK — C++ API referencev12.0

optris::sdk::Bounds

An axis-aligned box in region coordinates.

Public attributes

min

Vec2 min = {0.0F, 0.0F}

corner nearest the origin

max

Vec2 max = {0.0F, 0.0F}

corner furthest from it

empty

bool empty = true

True when the box bounds nothing. min and max are then meaningless rather than zero-sized, so test this before using them.