OptrisOptrisDocumentation

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

optris::sdk::Vec2

A point or a pair of extents, in whichever space the surrounding type is expressed in -- region space for geometry, pixels after ToPixels().

Public attributes

x

float x = 0.0F

horizontal, increasing to the right

y

float y = 0.0F

vertical, increasing downwards

Friends

operator==

auto operator==(const Vec2 &a, const Vec2 &b) -> bool