Panda3D
 All Classes Functions Variables Enumerations
boundingPlane.I
00001 // Filename: boundingPlane.I
00002 // Created by:  drose (19Aug05)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 
00016 ////////////////////////////////////////////////////////////////////
00017 //     Function: BoundingPlane::Default Constructor
00018 //       Access: Published
00019 //  Description: Constructs an empty "plane" that has no
00020 //               intersections.
00021 ////////////////////////////////////////////////////////////////////
00022 INLINE_MATHUTIL BoundingPlane::
00023 BoundingPlane() {
00024 }
00025 
00026 ////////////////////////////////////////////////////////////////////
00027 //     Function: BoundingPlane::Constructor
00028 //       Access: Published
00029 //  Description: 
00030 ////////////////////////////////////////////////////////////////////
00031 INLINE_MATHUTIL BoundingPlane::
00032 BoundingPlane(const LPlane &plane) :
00033   _plane(plane)
00034 {
00035   _flags = 0;
00036 }
00037 
00038 ////////////////////////////////////////////////////////////////////
00039 //     Function: BoundingPlane::get_plane
00040 //       Access: Published
00041 //  Description: 
00042 ////////////////////////////////////////////////////////////////////
00043 INLINE_MATHUTIL const LPlane &BoundingPlane::
00044 get_plane() const {
00045   nassertr(!is_empty(), _plane);
00046   nassertr(!is_infinite(), _plane);
00047   return _plane;
00048 }
 All Classes Functions Variables Enumerations