10 #include <Eigen/Dense>
20 static bool AABBAABB(
const Eigen::Vector3d& min0,
21 const Eigen::Vector3d& max0,
22 const Eigen::Vector3d& min1,
23 const Eigen::Vector3d& max1);
26 const Eigen::Vector3d& p1,
27 const Eigen::Vector3d& p2,
28 const Eigen::Vector3d& q0,
29 const Eigen::Vector3d& q1,
30 const Eigen::Vector3d& q2);
32 static bool TriangleAABB(
const Eigen::Vector3d& box_center,
33 const Eigen::Vector3d& box_half_size,
34 const Eigen::Vector3d& vert0,
35 const Eigen::Vector3d& vert1,
36 const Eigen::Vector3d& vert2);
40 const Eigen::Vector3d& p1,
41 const Eigen::Vector3d& p2,
42 const Eigen::Vector3d& p3);
51 const Eigen::Vector3d& p1,
52 const Eigen::Vector3d& q0,
53 const Eigen::Vector3d& q1);
61 const Eigen::Vector3d& p1,
62 const Eigen::Vector3d& q0,
63 const Eigen::Vector3d& q1);
A bounding box that is aligned along the coordinate axes.
Definition: BoundingVolume.h:159
Definition: IntersectionTest.h:18
static bool PointsCoplanar(const Eigen::Vector3d &p0, const Eigen::Vector3d &p1, const Eigen::Vector3d &p2, const Eigen::Vector3d &p3)
Tests if the given four points all lie on the same plane.
Definition: IntersectionTest.cpp:71
static bool AABBAABB(const Eigen::Vector3d &min0, const Eigen::Vector3d &max0, const Eigen::Vector3d &min1, const Eigen::Vector3d &max1)
Definition: IntersectionTest.cpp:18
static bool TriangleAABB(const Eigen::Vector3d &box_center, const Eigen::Vector3d &box_half_size, const Eigen::Vector3d &vert0, const Eigen::Vector3d &vert1, const Eigen::Vector3d &vert2)
Definition: IntersectionTest.cpp:58
static bool TriangleTriangle3d(const Eigen::Vector3d &p0, const Eigen::Vector3d &p1, const Eigen::Vector3d &p2, const Eigen::Vector3d &q0, const Eigen::Vector3d &q1, const Eigen::Vector3d &q2)
Definition: IntersectionTest.cpp:34
static double LinesMinimumDistance(const Eigen::Vector3d &p0, const Eigen::Vector3d &p1, const Eigen::Vector3d &q0, const Eigen::Vector3d &q1)
Definition: IntersectionTest.cpp:78
static utility::optional< double > LineSlabAABB(const Line3D &line, const AxisAlignedBoundingBox &box)
Returns the lower intersection parameter for a line with an axis aligned bounding box or no value if ...
Definition: IntersectionTest.h:174
static utility::optional< double > LineExactAABB(const Line3D &line, const AxisAlignedBoundingBox &box)
Returns the lower intersection parameter for a line with an axis aligned bounding box or empty if no ...
Definition: IntersectionTest.h:118
static double LineSegmentsMinimumDistance(const Eigen::Vector3d &p0, const Eigen::Vector3d &p1, const Eigen::Vector3d &q0, const Eigen::Vector3d &q1)
Definition: IntersectionTest.cpp:119
Line3D is a class which derives from Eigen::ParametrizedLine<double, 3> in order to capture the seman...
Definition: Line3D.h:49
virtual utility::optional< double > SlabAABB(const AxisAlignedBoundingBox &box) const
Returns the lower intersection parameter for a line with an axis aligned bounding box or empty if no ...
Definition: Line3D.cpp:136
virtual utility::optional< double > ExactAABB(const AxisAlignedBoundingBox &box) const
Returns the lower intersection parameter for a line with an axis aligned bounding box or empty if no ...
Definition: Line3D.cpp:72
Definition: Optional.h:259
Definition: PinholeCameraIntrinsic.cpp:16