basic/geometry/geo_rangesensor/MgcIntrLin3Cyln.h

Go to the documentation of this file.
00001 // Magic Software, Inc.
00002 // http://www.magic-software.com
00003 // Copyright (c) 2000, All Rights Reserved
00004 //
00005 // Source code from Magic Software is supplied under the terms of a license
00006 // agreement and may not be copied or disclosed except in accordance with the
00007 // terms of that agreement.  The various license agreements may be found at
00008 // the Magic Software web site.  This file is subject to the license
00009 //
00010 // FREE SOURCE CODE
00011 // http://www.magic-software.com/License.html/free.pdf
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 // return value is 'true' if and only if objects intersect
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

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