AGX Dynamics  2.35.0.1
TrackUtils.h File Reference
#include <agxVehicle/Track.h>
#include <agxCollide/Box.h>

Go to the source code of this file.

Namespaces

 agxVehicle
 This namespace contains classes related to vehicles dynamics.
 
 agxVehicle::utils
 

Functions

void agxVehicle::utils::createGeometryBox (const TrackNode &node)
 
TrackNodeRange agxVehicle::utils::createRangeExcludingNodeIndex (const Track &track, agx::UInt nodeIndex, agx::Int signedNumNodes)
 Creates a node range where nodeIndex is excluded and number of nodes to include is signed. More...
 
agx::UInt agxVehicle::utils::nextIndex (agx::UInt index, agx::UInt size)
 
agx::UInt agxVehicle::utils::prevIndex (agx::UInt index, agx::UInt size)
 
template<typename ContainerT >
IndexRangeContainer agxVehicle::utils::splitNonconsecutive (const ContainerT &container)
 Given a sorted container this function will split the content into ranges where the elements are consecutive. More...
 
template<typename ContainerT >
IndexRangeContainer agxVehicle::utils::splitNonconsecutive (const Track &track, const ContainerT &container)
 Splits a sorted container into ranges where each split happens when container[ i ] - container[ i - 1 ] > 1. More...