coal/shape/geometric_shapes_traits.h
Go to the documentation of this file.
1 /*
2  * Software License Agreement (BSD License)
3  *
4  * Copyright (c) 2011-2014, Willow Garage, Inc.
5  * Copyright (c) 2014-2015, Open Source Robotics Foundation
6  * Copyright (c) 2015-2022, CNRS, Inria
7  * All rights reserved.
8  *
9  * Redistribution and use in source and binary forms, with or without
10  * modification, are permitted provided that the following conditions
11  * are met:
12  *
13  * * Redistributions of source code must retain the above copyright
14  * notice, this list of conditions and the following disclaimer.
15  * * Redistributions in binary form must reproduce the above
16  * copyright notice, this list of conditions and the following
17  * disclaimer in the documentation and/or other materials provided
18  * with the distribution.
19  * * Neither the name of Open Source Robotics Foundation nor the names of its
20  * contributors may be used to endorse or promote products derived
21  * from this software without specific prior written permission.
22  *
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
26  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
27  * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
28  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
29  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
30  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
31  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
33  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34  * POSSIBILITY OF SUCH DAMAGE.
35  */
36 
37 #ifndef COAL_GEOMETRIC_SHAPES_TRAITS_H
38 #define COAL_GEOMETRIC_SHAPES_TRAITS_H
39 
41 
42 namespace coal {
43 
45  enum {
48  IsInflatable = false,
51  };
52 };
53 
54 template <typename Shape>
56 
57 template <>
59  enum {
62  IsInflatable = true,
65  };
66 };
67 
68 template <>
70  enum {
73  IsInflatable = true,
76  };
77 };
78 
79 template <>
81  enum {
84  IsInflatable = true,
87  };
88 };
89 
90 template <>
92  enum {
95  IsInflatable = true,
98  };
99 };
100 
101 template <>
103  enum {
106  IsInflatable = true,
109  };
110 };
111 
112 template <>
114  enum {
117  IsInflatable = true,
120  };
121 };
122 
123 template <>
125  enum {
128  IsInflatable = true,
131  };
132 };
133 
134 template <>
136  enum {
139  IsInflatable = true,
142  };
143 };
144 
145 template <>
147  enum {
150  IsInflatable = true,
153  };
154 };
155 
156 } // namespace coal
157 
158 #endif // ifndef COAL_GEOMETRIC_SHAPES_TRAITS_H
coal::shape_traits_base::NeedNesterovNormalizeHeuristic
@ NeedNesterovNormalizeHeuristic
Definition: coal/shape/geometric_shapes_traits.h:47
coal::Halfspace
Half Space: this is equivalent to the Plane in ODE. A Half space has a priviledged direction: the dir...
Definition: coal/shape/geometric_shapes.h:892
coal::Capsule
Capsule It is where is the distance between the point x and the capsule segment AB,...
Definition: coal/shape/geometric_shapes.h:383
coal::shape_traits_base
Definition: coal/shape/geometric_shapes_traits.h:44
coal
Main namespace.
Definition: coal/broadphase/broadphase_bruteforce.h:44
coal::Ellipsoid
Ellipsoid centered at point zero.
Definition: coal/shape/geometric_shapes.h:305
coal::shape_traits
Definition: coal/shape/geometric_shapes_traits.h:55
coal::Box
Center at zero point, axis aligned box.
Definition: coal/shape/geometric_shapes.h:166
coal::Sphere
Center at zero point sphere.
Definition: coal/shape/geometric_shapes.h:240
coal::shape_traits_base::NeedNormalizedDir
@ NeedNormalizedDir
Definition: coal/shape/geometric_shapes_traits.h:46
coal::shape_traits_base::HasInflatedSupportFunction
@ HasInflatedSupportFunction
Definition: coal/shape/geometric_shapes_traits.h:49
coal::Cylinder
Cylinder along Z axis. The cylinder is defined at its centroid.
Definition: coal/shape/geometric_shapes.h:560
coal::TriangleP
Triangle stores the points instead of only indices of points.
Definition: coal/shape/geometric_shapes.h:110
coal::Cone
Cone The base of the cone is at and the top is at .
Definition: coal/shape/geometric_shapes.h:467
geometric_shapes.h
coal::shape_traits_base::IsStrictlyConvex
@ IsStrictlyConvex
Definition: coal/shape/geometric_shapes_traits.h:50
coal::shape_traits_base::IsInflatable
@ IsInflatable
Definition: coal/shape/geometric_shapes_traits.h:48
coal::ConvexBase
Base for convex polytope.
Definition: coal/shape/geometric_shapes.h:645


hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:58