Template Function initialize(MeshDistanceTraversalNode<BV, RelativeTransformationIsIdentity>&, BVHModel<BV>&, Transform3s&, BVHModel<BV>&, Transform3s&, const DistanceRequest&, DistanceResult&, bool, bool)

Function Documentation

template<typename BV>
bool initialize(MeshDistanceTraversalNode<BV, RelativeTransformationIsIdentity> &node, BVHModel<BV> &model1, Transform3s &tf1, BVHModel<BV> &model2, Transform3s &tf2, const DistanceRequest &request, DistanceResult &result, bool use_refit = false, bool refit_bottomup = false)

Initialize traversal node for distance computation between two meshes, given the current transforms.