AGXDynamics  2.31.1.0
agxTerrain::Grid::GridCoord Struct Reference

Container for holding a grid coordinate. More...

#include <Grid.h>

Public Member Functions

 GridCoord ()
 
 GridCoord (agx::Int i, agx::Int j, agx::Int k)
 
 GridCoord (const agx::Vec3i &v)
 
const GridCoord operator+ (const GridCoord &rhs) const
 

Public Attributes

agx::Int i =0
 
agx::Int j =0
 
agx::Int k =0
 

Detailed Description

Container for holding a grid coordinate.

Definition at line 59 of file Grid.h.

Constructor & Destructor Documentation

◆ GridCoord() [1/3]

agxTerrain::Grid::GridCoord::GridCoord ( )
inline

Definition at line 61 of file Grid.h.

◆ GridCoord() [2/3]

agxTerrain::Grid::GridCoord::GridCoord ( agx::Int  i,
agx::Int  j,
agx::Int  k 
)
inline

Definition at line 63 of file Grid.h.

◆ GridCoord() [3/3]

agxTerrain::Grid::GridCoord::GridCoord ( const agx::Vec3i &  v)
inline

Definition at line 65 of file Grid.h.

Member Function Documentation

◆ operator+()

const GridCoord agxTerrain::Grid::GridCoord::operator+ ( const GridCoord &  rhs) const
inline

Definition at line 68 of file Grid.h.

References i, j, and k.

Member Data Documentation

◆ i

agx::Int agxTerrain::Grid::GridCoord::i =0

Definition at line 73 of file Grid.h.

Referenced by operator+().

◆ j

agx::Int agxTerrain::Grid::GridCoord::j =0

Definition at line 73 of file Grid.h.

Referenced by operator+().

◆ k

agx::Int agxTerrain::Grid::GridCoord::k =0

Definition at line 73 of file Grid.h.

Referenced by operator+().


The documentation for this struct was generated from the following file: