SETOIDistance

superclass: SETOInteraction

/*

Author: 

2004, 2005, 2006

Till Bovermann 

Neuroinformatics Group 

Faculty of Technology 

Bielefeld University

Germany

*/


computes the distance between the interactands and evaluates a class-wide user-definable function.


*distfunc_(function)

function might have 



SETOIDistance.distFunc = {|distance, isValid, parts| postf("%<->% : %\n", parts[0].id, parts[1].id, distance)}


(

e = e ? ();


//e.t = SETO_OSCServer("_ixya", nil, SETObject, SETOIDistance);

e.t = SETOServer("_ixya", SETObject, SETOIDistance);

e.t.start;

e.t.gui

)

e.t.stop