test_PointVector.cpp

Aim: Implements basic operations that will be used in Point and Vector classes. Description of class 'PointVector'

A PointVector may represent either a digital point or a digital vector depending on the context. For performance reasons, these two types are just aliases. The user should take care how to use it depending on the context. For instance, adding two points has no meaning, but will be authorized by the compiler.

The default less than operator is the one of the lexicographic ordering, starting from dimension 0 to N-1.

PointVector also realizes the concept CLattice with an infimum (meet, greatest lower bound) and a supremum (join, least upper bound) operation.

Generated on Fri Jul 9 17:28:08 2010 for DGtal by  doxygen 1.6.3