fracture.pointnear

Syntax

vrcp = fracture.pointnear(frac,vpos)

Get the closest point on a fracture.

Returns:

vrcp - closest point on the fracture to vpos

Arguments:

frac - fracture pointer

vpos - position vector for closest point calculation