AGX Dynamics  2.38.0.2
agxTerrain::VoxelGridUtils Class Reference

#include <VoxelGridUtils.h>

Static Public Member Functions

static agx::Vec3 getGridPositionFromVoxelIndex (agx::Vec3i voxelIndex, agx::Real voxelSize)
 
static agx::Vec3i getVoxelIndexFromGridPosition (agx::Vec3 gridPosition, agx::Real voxelSize)
 

Detailed Description

Definition at line 30 of file VoxelGridUtils.h.

Member Function Documentation

◆ getGridPositionFromVoxelIndex()

static agx::Vec3 agxTerrain::VoxelGridUtils::getGridPositionFromVoxelIndex ( agx::Vec3i  voxelIndex,
agx::Real  voxelSize 
)
inlinestatic

◆ getVoxelIndexFromGridPosition()

static agx::Vec3i agxTerrain::VoxelGridUtils::getVoxelIndexFromGridPosition ( agx::Vec3  gridPosition,
agx::Real  voxelSize 
)
inlinestatic

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