[metapost] Data types

Timothy Murphy gayleard at eircom.net
Sat Mar 13 19:56:12 CET 2010

I want in effect to have a data type, which I might call node,
consisting of two pairs, a position and a direction.

I want a vardef/routine f() to take this as an argument.

Can I do anything better than use two pair arguments f(pos,dir)?

Or could I use a single path argument?

Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

More information about the metapost mailing list