sketch.edge.gridpos

Syntax

v := sketch.edge.gridpos(ep,i)

Get the position of a grid point. The function returns a position (2D vector). Grid point indices range from 0 to sketch.edge.grid.size.

Returns:

v - 2D vector-position of a grid point on the edge

Arguments:

ep - edge pointer

i - grid point index