Vec::operator <

Background

This operator determines if this vector's coordinates are less than another vector's coordinates. The comparison is exact, no tolerances are used.

Prototype

int operator <( const Vec & iv ) const

Parameters

  • const Vec & iv: The Vec object to compare with.

Return Value

Non-zero indicates all of this vector's coordinates are less than `iv`'s coordinates. Zero indicates that one or more of this vector's coordinates are greater than or equal to `iv`'s coordinates.