38 #ifndef FCL_SHAPE_PLANE_H 39 #define FCL_SHAPE_PLANE_H 50 template <
typename S_>
70 void computeLocalAABB()
override;
86 std::string representation(
int precision = 20)
const;
90 out <<
"Plane(n: " << plane.
n.transpose() <<
", d: " << plane.
d <<
")";
97 void unitNormalTest();
103 template <
typename S>
NODE_TYPE
traversal node type: bounding volume (AABB, OBB, RSS, kIOS, OBBRSS, KDOP16, KDOP18, kDOP24), basic shape (box, sphere, ellipsoid, capsule, cone, cylinder, convex, plane, halfspace, triangle), and octree
Base class for all basic geometric shapes.
template Halfspace< double > transform(const Halfspace< double > &a, const Transform3< double > &tf)
Eigen::Transform< S, 3, Eigen::Isometry > Transform3
S distance(const Eigen::MatrixBase< DerivedA > &R0, const Eigen::MatrixBase< DerivedB > &T0, const kIOS< S > &b1, const kIOS< S > &b2, Vector3< S > *P, Vector3< S > *Q)
Approximate distance between two kIOS bounding volumes.
Eigen::Matrix< S, 3, 1 > Vector3
friend std::ostream & operator<<(std::ostream &out, const Plane &plane)
Vector3< S > n
Plane normal.