38 #ifndef FCL_SHAPE_CONE_H 39 #define FCL_SHAPE_CONE_H 41 #include "fcl/geometry/shape/shape_base.h" 47 template <
typename S_>
87 #include "fcl/geometry/shape/cone-inl.h" S computeVolume() const override
compute the volume
Definition: cone-inl.h:79
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
Main namespace.
Definition: broadphase_bruteforce-inl.h:45
Base class for all basic geometric shapes.
Definition: shape_base.h:48
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: cone-inl.h:104
S lz
Length along z axis.
Definition: cone.h:60
S radius
Radius of the cone.
Definition: cone.h:57
Vector3< S > computeCOM() const override
compute center of mass
Definition: cone-inl.h:97
void computeLocalAABB() override
Compute AABB.
Definition: cone-inl.h:60
Center at zero cone.
Definition: cone.h:48
Matrix3< S > computeMomentofInertia() const override
compute the inertia matrix, related to the origin
Definition: cone-inl.h:86
NODE_TYPE getNodeType() const override
Get node type: a cone.
Definition: cone-inl.h:72