FlightGear next
FGGroundCache Class Reference

#include <groundcache.hxx>

Classes

class  BodyFinder
 
class  CacheFill
 
class  CatapultFinder
 
class  WireFinder
 
class  WireIntersector
 

Public Member Functions

 FGGroundCache ()
 
 ~FGGroundCache ()
 
bool prepare_ground_cache (double startSimTime, double endSimTime, const SGVec3d &pt, double rad)
 
bool is_valid (double &ref_time, SGVec3d &pt, double &rad)
 
const SGVec3d & get_down () const
 
double get_cache_time_offset () const
 
void set_cache_time_offset (double time_offset)
 
bool get_body (double t, SGMatrixd &bodyToWorld, SGVec3d &linearVel, SGVec3d &angularVel, simgear::BVHNode::Id id)
 
double get_cat (double t, const SGVec3d &pt, SGVec3d end[2], SGVec3d vel[2])
 
bool get_agl (double t, const SGVec3d &pt, SGVec3d &contact, SGVec3d &normal, SGVec3d &linearVel, SGVec3d &angularVel, simgear::BVHNode::Id &id, const simgear::BVHMaterial *&material)
 
bool get_nearest (double t, const SGVec3d &pt, double maxDist, SGVec3d &contact, SGVec3d &linearVel, SGVec3d &angularVel, simgear::BVHNode::Id &id, const simgear::BVHMaterial *&material)
 
bool caught_wire (double t, const SGVec3d pt[4])
 
bool get_wire_ends (double t, SGVec3d end[2], SGVec3d vel[2])
 
void release_wire (void)
 

Detailed Description

Definition at line 45 of file groundcache.hxx.

Constructor & Destructor Documentation

◆ FGGroundCache()

FGGroundCache::FGGroundCache ( )

Definition at line 296 of file groundcache.cxx.

◆ ~FGGroundCache()

FGGroundCache::~FGGroundCache ( )

Definition at line 315 of file groundcache.cxx.

Member Function Documentation

◆ caught_wire()

bool FGGroundCache::caught_wire ( double t,
const SGVec3d pt[4] )

Definition at line 929 of file groundcache.cxx.

◆ get_agl()

bool FGGroundCache::get_agl ( double t,
const SGVec3d & pt,
SGVec3d & contact,
SGVec3d & normal,
SGVec3d & linearVel,
SGVec3d & angularVel,
simgear::BVHNode::Id & id,
const simgear::BVHMaterial *& material )

Definition at line 703 of file groundcache.cxx.

◆ get_body()

bool FGGroundCache::get_body ( double t,
SGMatrixd & bodyToWorld,
SGVec3d & linearVel,
SGVec3d & angularVel,
simgear::BVHNode::Id id )

Definition at line 540 of file groundcache.cxx.

◆ get_cache_time_offset()

double FGGroundCache::get_cache_time_offset ( ) const
inline

Definition at line 71 of file groundcache.hxx.

◆ get_cat()

double FGGroundCache::get_cat ( double t,
const SGVec3d & pt,
SGVec3d end[2],
SGVec3d vel[2] )

Definition at line 673 of file groundcache.cxx.

◆ get_down()

const SGVec3d & FGGroundCache::get_down ( ) const
inline

Definition at line 66 of file groundcache.hxx.

◆ get_nearest()

bool FGGroundCache::get_nearest ( double t,
const SGVec3d & pt,
double maxDist,
SGVec3d & contact,
SGVec3d & linearVel,
SGVec3d & angularVel,
simgear::BVHNode::Id & id,
const simgear::BVHMaterial *& material )

Definition at line 759 of file groundcache.cxx.

◆ get_wire_ends()

bool FGGroundCache::get_wire_ends ( double t,
SGVec3d end[2],
SGVec3d vel[2] )

Definition at line 1035 of file groundcache.cxx.

◆ is_valid()

bool FGGroundCache::is_valid ( double & ref_time,
SGVec3d & pt,
double & rad )

Definition at line 444 of file groundcache.cxx.

◆ prepare_ground_cache()

bool FGGroundCache::prepare_ground_cache ( double startSimTime,
double endSimTime,
const SGVec3d & pt,
double rad )

Definition at line 320 of file groundcache.cxx.

◆ release_wire()

void FGGroundCache::release_wire ( void )

Definition at line 1064 of file groundcache.cxx.

◆ set_cache_time_offset()

void FGGroundCache::set_cache_time_offset ( double time_offset)
inline

Definition at line 73 of file groundcache.hxx.


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