38 #ifndef FCL_SHAPE_TRIANGLE_P_INL_H 39 #define FCL_SHAPE_TRIANGLE_P_INL_H 41 #include "fcl/geometry/shape/triangle_p.h" 48 class TriangleP<double>;
52 TriangleP<S>::TriangleP(
56 : ShapeBase<S>(), a(a), b(b), c(c)
81 const Transform3<S>& tf)
const 83 std::vector<Vector3<S>> result(3);
Vector3< S_ > aabb_center
AABB center in local coordinate.
Definition: collision_geometry.h:91
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
Definition: collision_geometry.h:54
NODE_TYPE getNodeType() const override
get the node type
Definition: triangle_p-inl.h:73
Main namespace.
Definition: broadphase_bruteforce-inl.h:45
S_ aabb_radius
AABB radius.
Definition: collision_geometry.h:94
std::vector< Vector3< S > > getBoundVertices(const Transform3< S > &tf) const
get the vertices of some convex shape which can bound this shape in a specific configuration ...
Definition: triangle_p-inl.h:80
AABB< S_ > aabb_local
AABB in local coordinate, used for tight AABB when only translation transform.
Definition: collision_geometry.h:97
void computeLocalAABB() override
virtual function of compute AABB<S> in local coordinate
Definition: triangle_p-inl.h:63