AGX Dynamics 2.42.0.2
Loading...
Searching...
No Matches
Vec2.h File Reference
#include <agx/Vec2Template.h>
#include <agxData/Type.h>

Go to the source code of this file.

Classes

struct  agx::HashFn< Vec2T< T > >
 

Namespaces

namespace  agx
 The agx namespace contains the dynamics/math part of the AGX Dynamics API.
 

Typedefs

typedef Vec2T< Real > agx::Vec2
 The object holding 2 dimensional vectors and providing basic arithmetic.
 
typedef Vec2T< Real64 > agx::Vec2d
 
typedef Vec2T< Real32 > agx::Vec2f
 
typedef Vec2T< Int > agx::Vec2i
 
typedef Vec2T< Int16 > agx::Vec2i16
 
typedef Vec2T< Int32 > agx::Vec2i32
 
typedef Vec2T< Int64 > agx::Vec2i64
 
typedef Vec2T< Int8 > agx::Vec2i8
 
typedef Vec2T< UInt > agx::Vec2u
 
typedef Vec2T< UInt16 > agx::Vec2u16
 
typedef Vec2T< UInt32 > agx::Vec2u32
 
typedef Vec2T< UInt64 > agx::Vec2u64
 
typedef Vec2T< UInt8 > agx::Vec2u8
 

Functions

Vec2i agx::calculateCellId (const Vec2 &position, Real invCellSize)
 
Vec2i agx::calculateCellId (Real x, Real y, Real invCellSize)
 
const Vec2 agx::X_AXIS_2D (1.0, 0.0)
 
const Vec2 agx::Y_AXIS_2D (0.0, 1.0)