Files Class List
cyIVector.h File Reference

Detailed Description

2D, 3D, 4D, and ND integer vector classes.

Author
Cem Yuksel
#include "cyCore.h"

Classes

class  IVec< T, N >
 A general class for N-dimensional integer vectors. More...
 
class  IVec2< T >
 2D integer vector class More...
 
class  IVec3< T >
 3D integer vector class More...
 
class  IVec4< T >
 4D integer vector class More...
 

Typedefs

typedef IVec2< int8_t > IVec2b
 8-bit signed byte (int8_t) 2D integer vector class
 
typedef IVec3< int8_t > IVec3b
 8-bit signed byte (int8_t) 3D integer vector class
 
typedef IVec4< int8_t > IVec4b
 8-bit signed byte (int8_t) 4D integer vector class
 
typedef IVec2< uint8_t > IVec2ub
 8-bit unsigned byte (uint8_t) 2D integer vector class
 
typedef IVec3< uint8_t > IVec3ub
 8-bit unsigned byte (uint8_t) 3D integer vector class
 
typedef IVec4< uint8_t > IVec4ub
 8-bit unsigned byte (uint8_t) 4D integer vector class
 
typedef IVec2< int16_t > IVec2s
 16-bit signed short (int16_t) 2D integer vector class
 
typedef IVec3< int16_t > IVec3s
 16-bit signed short (int16_t) 3D integer vector class
 
typedef IVec4< int16_t > IVec4s
 16-bit signed short (int16_t) 4D integer vector class
 
typedef IVec2< uint16_t > IVec2us
 16-bit unsigned short (uint16_t) 2D integer vector class
 
typedef IVec3< uint16_t > IVec3us
 16-bit unsigned short (uint16_t) 3D integer vector class
 
typedef IVec4< uint16_t > IVec4us
 16-bit unsigned short (uint16_t) 4D integer vector class
 
typedef IVec2< int32_t > IVec2i
 32-bit signed integer (int32_t) 2D integer vector class
 
typedef IVec3< int32_t > IVec3i
 32-bit signed integer (int32_t) 3D integer vector class
 
typedef IVec4< int32_t > IVec4i
 32-bit signed integer (int32_t) 4D integer vector class
 
typedef IVec2< uint32_t > IVec2ui
 32-bit unsigned integer (uint32_t) 2D integer vector class
 
typedef IVec3< uint32_t > IVec3ui
 32-bit unsigned integer (uint32_t) 3D integer vector class
 
typedef IVec4< uint32_t > IVec4ui
 32-bit unsigned integer (uint32_t) 4D integer vector class
 
typedef IVec2< int64_t > IVec2l
 64-bit signed long (int64_t) 2D integer vector class
 
typedef IVec3< int64_t > IVec3l
 64-bit signed long (int64_t) 3D integer vector class
 
typedef IVec4< int64_t > IVec4l
 64-bit signed long (int64_t) 4D integer vector class
 
typedef IVec2< uint64_t > IVec2ul
 64-bit unsigned long (uint64_t) 2D integer vector class
 
typedef IVec3< uint64_t > IVec3ul
 64-bit unsigned long (uint64_t) 3D integer vector class
 
typedef IVec4< uint64_t > IVec4ul
 64-bit unsigned long (uint64_t) 4D integer vector class
 
typedef cy::IVec2b cyIVec2b
 8-bit signed integer (int8_t) 2D integer vector class
 
typedef cy::IVec3b cyIVec3b
 8-bit signed integer (int8_t) 3D integer vector class
 
typedef cy::IVec4b cyIVec4b
 8-bit signed integer (int8_t) 4D integer vector class
 
typedef cy::IVec2ub cyIVec2ub
 8-bit unsigned integer (uint8_t) 2D integer vector class
 
typedef cy::IVec3ub cyIVec3ub
 8-bit unsigned integer (uint8_t) 3D integer vector class
 
typedef cy::IVec4ub cyIVec4ub
 8-bit unsigned integer (uint8_t) 4D integer vector class
 
typedef cy::IVec2s cyIVec2s
 16-bit signed integer (int16_t) 2D integer vector class
 
typedef cy::IVec3s cyIVec3s
 16-bit signed integer (int16_t) 3D integer vector class
 
typedef cy::IVec4s cyIVec4s
 16-bit signed integer (int16_t) 4D integer vector class
 
typedef cy::IVec2us cyIVec2us
 16-bit unsigned integer (uint16_t) 2D integer vector class
 
typedef cy::IVec3us cyIVec3us
 16-bit unsigned integer (uint16_t) 3D integer vector class
 
typedef cy::IVec4us cyIVec4us
 16-bit unsigned integer (uint16_t) 4D integer vector class
 
typedef cy::IVec2i cyIVec2i
 32-bit signed integer (int32_t) 2D integer vector class
 
typedef cy::IVec3i cyIVec3i
 32-bit signed integer (int32_t) 3D integer vector class
 
typedef cy::IVec4i cyIVec4i
 32-bit signed integer (int32_t) 4D integer vector class
 
typedef cy::IVec2ui cyIVec2ui
 32-bit unsigned integer (uint32_t) 2D integer vector class
 
typedef cy::IVec3ui cyIVec3ui
 32-bit unsigned integer (uint32_t) 3D integer vector class
 
typedef cy::IVec4ui cyIVec4ui
 32-bit unsigned integer (uint32_t) 4D integer vector class
 
typedef cy::IVec2l cyIVec2l
 64-bit signed integer (int64_t) 2D integer vector class
 
typedef cy::IVec3l cyIVec3l
 64-bit signed integer (int64_t) 3D integer vector class
 
typedef cy::IVec4l cyIVec4l
 64-bit signed integer (int64_t) 4D integer vector class
 
typedef cy::IVec2ul cyIVec2ul
 64-bit unsigned integer (uint64_t) 2D integer vector class
 
typedef cy::IVec3ul cyIVec3ul
 64-bit unsigned integer (uint64_t) 3D integer vector class
 
typedef cy::IVec4ul cyIVec4ul
 64-bit unsigned integer (uint64_t) 4D integer vector class