6 #include "u3d_point.hpp"
7 #include "u3d_triangle.hpp"
32 U3dBox (
double x_size,
double y_size,
double z_size);
38 U3dBox (
const U3dPoint& p,
double x_size,
double y_size,
double z_size);
43 U3D_BOX_STATE validate(
double xmin,
161 int triBoxOverlap(
U3dPoint boxcenter,
double boxhalfsize[3],
U3dPoint triverts[3]);
162 int planeBoxOverlap(
U3dPoint normal,
double d,
double maxbox[3]);
int operator!=(const U3dBox &rbox) const
Definition: u3d_box.hpp:147
int setZMin(double)
Definition: u3d_box.hpp:244
int setXMin(double)
Definition: u3d_box.hpp:212
bool intersectWithSegment(U3dPoint pA, U3dPoint pB)
double fZRange[2]
Definition: u3d_box.hpp:158
int setYMin(double)
Definition: u3d_box.hpp:228
double getYMax() const
Definition: u3d_box.hpp:182
Definition: u3d_box.hpp:24
bool checkDefinitelyInside(const U3dPoint &p) const
int setYMax(double)
Definition: u3d_box.hpp:236
Definition: u3d_triangle.hpp:18
double getXMax() const
Definition: u3d_box.hpp:172
double getXMin() const
Definition: u3d_box.hpp:167
int setXMax(double)
Definition: u3d_box.hpp:220
bool checkInsideEps(const U3dPoint &p) const
bool checkInside(const U3dPoint &p) const
Definition: u3d_point.hpp:16
double getYMin() const
Definition: u3d_box.hpp:177
double fXRange[2]
Definition: u3d_box.hpp:147
double getXSize() const
Definition: u3d_box.hpp:261
double getZSize() const
Definition: u3d_box.hpp:271
int operator==(const U3dBox &rbox) const
double getYSize() const
Definition: u3d_box.hpp:266
double getZMax() const
Definition: u3d_box.hpp:192
double getZMin() const
Definition: u3d_box.hpp:187
void setCoords(const double &xmin, const double &xmax, const double &ymin, const double &ymax, const double &zmin, const double &zmax)
Definition: u3d_box.hpp:197
BOX_TRI_INT intersectWithTriangle(const U3dTriangle &triangle, const U3dPoint &p1, const U3dPoint &p2, const U3dPoint &p3)
int setZMax(double)
Definition: u3d_box.hpp:252
double fYRange[2]
Definition: u3d_box.hpp:155
bool checkOverlay(const U3dBox &box) const