Struct LargeConvex

Inheritance Relationships

Base Type

Struct Documentation

struct LargeConvex : public coal::ShapeBase

Cast a ConvexBase to a LargeConvex to use the log version of getShapeSupport. This is much faster than the linear version of getShapeSupport when a ConvexBase 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.