Template Function initialize(MeshShapeDistanceTraversalNode<BV, S>&, BVHModel<BV>&, Transform3s&, const S&, const Transform3s&, const GJKSolver *, const DistanceRequest&, DistanceResult&, bool, bool)

Function Documentation

template<typename BV, typename S>
bool initialize(MeshShapeDistanceTraversalNode<BV, S> &node, BVHModel<BV> &model1, Transform3s &tf1, const S &model2, const Transform3s &tf2, const GJKSolver *nsolver, const DistanceRequest &request, DistanceResult &result, bool use_refit = false, bool refit_bottomup = false)

Initialize traversal node for distance computation between one mesh and one shape, given the current transforms.