Struct LargeConvex
Defined in File support_functions.h
Inheritance Relationships
Base Type
public coal::ShapeBase
(Class ShapeBase)
Struct Documentation
-
struct LargeConvex : public coal::ShapeBase
Cast a
ConvexBase
to aLargeConvex
to use the log version ofgetShapeSupport
. This is much faster than the linear version ofgetShapeSupport
when aConvexBase
has more than a few dozen of vertices.Note
WARNING: when using a LargeConvex, the neighbors in
ConvexBase
must have been constructed! Otherwise the support function will segfault.