The implementations are in https://github.com/sofa-framework/sofa/tree/master/Sofa/Component/Collision/Response/Contact/src/sofa/component/collision/response. I recommand to create bindings, so that they can be used by automatic doc generation.