Panda3D
panda
src
mathutil
boundingPlane.I
Go to the documentation of this file.
1
/**
2
* PANDA 3D SOFTWARE
3
* Copyright (c) Carnegie Mellon University. All rights reserved.
4
*
5
* All use of this software is subject to the terms of the revised BSD
6
* license. You should have received a copy of this license along
7
* with this source code in a file named "LICENSE."
8
*
9
* @file boundingPlane.I
10
* @author drose
11
* @date 2005-08-19
12
*/
13
14
/**
15
* Constructs an empty "plane" that has no intersections.
16
*/
17
INLINE_MATHUTIL
BoundingPlane::
18
BoundingPlane
() {
19
}
20
21
/**
22
*
23
*/
24
INLINE_MATHUTIL
BoundingPlane::
25
BoundingPlane
(
const
LPlane &plane) :
26
_plane(plane)
27
{
28
_flags = 0;
29
}
30
31
/**
32
*
33
*/
34
INLINE_MATHUTIL
const
LPlane &BoundingPlane::
35
get_plane()
const
{
36
nassertr(!
is_empty
(), _plane);
37
nassertr(!
is_infinite
(), _plane);
38
return
_plane;
39
}
BoundingVolume::is_infinite
bool is_infinite() const
The other side of the empty coin is an infinite volume.
Definition:
boundingVolume.I:44
BoundingVolume::is_empty
bool is_empty() const
Any kind of volume might be empty.
Definition:
boundingVolume.I:29
BoundingPlane::BoundingPlane
BoundingPlane()
Constructs an empty "plane" that has no intersections.
Definition:
boundingPlane.I:18
Generated on Mon Sep 14 2020 15:06:57 for Panda3D by
1.8.20