building_blocks.edge.tolocal

Syntax

f = building_blocks.edge.tolocal(ep,v)

Get the local coordinate of a point from global coordinates. It assumed that the point is located on the edge. Return values of f will range between 0.0 and 1.0.

Returns:

f - local edge point coordinate

Arguments:

ep - edge pointer

v - point global coordinates (3D)