Class Capsule

Inheritance Relationships

Base Type

Class Documentation

class Capsule : public coal::ShapeBase

Capsule It is \( { x~\in~\mathbb{R}^3, d(x, AB) \leq radius } \) where \( d(x, AB) \) is the distance between the point x and the capsule segment AB, with \( A = (0,0,-halfLength), B = (0,0,halfLength) \).