00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef MGCINTRLIN3CYLN_H
00014 #define MGCINTRLIN3CYLN_H
00015
00016 #include "MgcCylinder.h"
00017 #include "MgcLine3.h"
00018 #include "MgcRay3.h"
00019 #include "MgcSegment3.h"
00020
00021
00022
00023 bool MgcTestIntersection (const MgcSegment3& rkSegment,
00024 const MgcCylinder& rkCylinder);
00025 bool MgcTestIntersection (const MgcRay3& rkRay,
00026 const MgcCylinder& rkCylinder);
00027 bool MgcTestIntersection (const MgcLine3& rkLine,
00028 const MgcCylinder& rkCylinder);
00029
00030 bool MgcFindIntersection (const MgcSegment3& rkSegment,
00031 const MgcCylinder& rkCylinder, int& riQuantity, MgcVector3 akPoint[2]);
00032 bool MgcFindIntersection (const MgcRay3& rkRay, const MgcCylinder& rkCylinder,
00033 double &t);
00034 bool MgcFindIntersection (const MgcLine3& rkLine,
00035 const MgcCylinder& rkCylinder, int& riQuantity, MgcVector3 akPoint[2]);
00036
00037 #endif