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
ConvexBaseto aLargeConvexto use the log version ofgetShapeSupport. This is much faster than the linear version ofgetShapeSupportwhen aConvexBasehas more than a few dozen of vertices.Note
WARNING: when using a LargeConvex, the neighbors in
ConvexBasemust have been constructed! Otherwise the support function will segfault.