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

Function Documentation

template<typename S, typename BV>
bool initialize(ShapeMeshDistanceTraversalNode<S, BV> &node, const S &model1, const Transform3f &tf1, BVHModel<BV> &model2, Transform3f &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 shape and one mesh, given the current transforms.