basic/geometry/geo_rangesensor/MgcIntrLin3Cyln.cpp File Reference

#include "MgcDistLin3Lin3.h"
#include "MgcIntrLin3Cyln.h"
#include "MgcRTLib.h"

Include dependency graph for MgcIntrLin3Cyln.cpp:

Go to the source code of this file.

Functions

bool MgcTestIntersection (const MgcSegment3 &rkSegment, const MgcCylinder &rkCylinder)
bool MgcTestIntersection (const MgcRay3 &rkRay, const MgcCylinder &rkCylinder)
bool MgcTestIntersection (const MgcLine3 &rkLine, const MgcCylinder &rkCylinder)
static int FindIntersection (const MgcVector3 &rkOrigin, const MgcVector3 &rkDirection, const MgcCylinder &rkCylinder, MgcReal afT[2])
bool MgcFindIntersection (const MgcSegment3 &rkSegment, const MgcCylinder &rkCylinder, int &riQuantity, MgcVector3 akPoint[2])
bool MgcFindIntersection (const MgcRay3 &rkRay, const MgcCylinder &rkCylinder, double &t)
bool MgcFindIntersection2 (const MgcRay3 &rkRay, const MgcCylinder &rkCylinder, int &riQuantity, MgcVector3 akPoint[2])
bool MgcFindIntersection (const MgcLine3 &rkLine, const MgcCylinder &rkCylinder, int &riQuantity, MgcVector3 akPoint[2])

Variables

static const MgcReal gs_fEpsilon = 1e-12


Function Documentation

static int FindIntersection (  const MgcVector3 &  rkOrigin,
const MgcVector3 &  rkDirection,
const MgcCylinder &  rkCylinder,
MgcReal  afT[2]
)  [static]
 

Definition at line 77 of file MgcIntrLin3Cyln.cpp.

References MgcMath::Abs(), MgcCylinder::Center(), MgcCylinder::Direction(), MgcVector3::Dot(), MgcVector3::GenerateOrthonormalBasis(), gs_fEpsilon, MgcCylinder::Height(), MgcCylinder::Radius(), and MgcMath::Sqrt().

Referenced by MgcFindIntersection(), and MgcFindIntersection2().

Here is the call graph for this function:

bool MgcFindIntersection (  const MgcLine3 &  rkLine,
const MgcCylinder &  rkCylinder,
int &  riQuantity,
MgcVector3  akPoint[2]
) 
 

Definition at line 299 of file MgcIntrLin3Cyln.cpp.

References MgcLine3::Direction(), FindIntersection(), and MgcLine3::Origin().

Here is the call graph for this function:

bool MgcFindIntersection (  const MgcRay3 &  rkRay,
const MgcCylinder &  rkCylinder,
double &  t
) 
 

Definition at line 254 of file MgcIntrLin3Cyln.cpp.

bool MgcFindIntersection (  const MgcSegment3 &  rkSegment,
const MgcCylinder &  rkCylinder,
int &  riQuantity,
MgcVector3  akPoint[2]
) 
 

Definition at line 233 of file MgcIntrLin3Cyln.cpp.

bool MgcFindIntersection2 (  const MgcRay3 &  rkRay,
const MgcCylinder &  rkCylinder,
int &  riQuantity,
MgcVector3  akPoint[2]
) 
 

Definition at line 278 of file MgcIntrLin3Cyln.cpp.

References MgcRay3::Direction(), FindIntersection(), and MgcRay3::Origin().

Here is the call graph for this function:

bool MgcTestIntersection (  const MgcLine3 &  rkLine,
const MgcCylinder &  rkCylinder
) 
 

Definition at line 69 of file MgcIntrLin3Cyln.cpp.

References MgcCylinder::GetSegment(), MgcSqrDistance(), and MgcCylinder::Radius().

Here is the call graph for this function:

bool MgcTestIntersection (  const MgcRay3 &  rkRay,
const MgcCylinder &  rkCylinder
) 
 

Definition at line 50 of file MgcIntrLin3Cyln.cpp.

bool MgcTestIntersection (  const MgcSegment3 &  rkSegment,
const MgcCylinder &  rkCylinder
) 
 

Definition at line 21 of file MgcIntrLin3Cyln.cpp.


Variable Documentation

const MgcReal gs_fEpsilon = 1e-12 [static]
 

Definition at line 18 of file MgcIntrLin3Cyln.cpp.

Referenced by FindIntersection().


Generated on Sat Apr 1 21:32:59 2006 for Motion Planning Kernel by  doxygen 1.4.6-NO