Commit c366cb94 authored by Sean McBride's avatar Sean McBride

Applied vtkTypeBool to IntersectWithPlane method

parent e0d93256
......@@ -511,7 +511,7 @@ int vtkBox::IntersectWithLine(const double bounds[6],
}
//----------------------------------------------------------------------------
int vtkBox::
vtkTypeBool vtkBox::
IntersectWithPlane(double bounds[6], double origin[3], double normal[3])
{
// Evaluate the eight points. If there is a sign change, then there is an
......@@ -568,7 +568,7 @@ namespace {
// number of intersections ranges from [3,6]. The memory layout for xout[18]
// is consistent with the vtkPoints array and is organized as (xyz, xyz, xyz,
// xyz, xyz, xyz).
int vtkBox::
vtkTypeBool vtkBox::
IntersectWithPlane(double bounds[6], double origin[3], double normal[3],
double xout[18])
{
......
......@@ -127,7 +127,7 @@ public:
* The function returns non-zero if the plane and box intersect; zero
* otherwise.
*/
static int IntersectWithPlane(double bounds[6], double origin[3],
static vtkTypeBool IntersectWithPlane(double bounds[6], double origin[3],
double normal[3]);
/**
......@@ -141,7 +141,7 @@ public:
* vtkPoints array layout and is organized as (xyz, xyz, xyz, xyz, xyz,
* xyz).
*/
static int IntersectWithPlane(double bounds[6], double origin[3],
static vtkTypeBool IntersectWithPlane(double bounds[6], double origin[3],
double normal[3], double xints[18]);
protected:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment