distance method
Implementation
LinkForce distance([DistanceFun? fun]) {
if (fun != null) {
_distanceFun = fun;
_initialize();
}
return this;
}
LinkForce distance([DistanceFun? fun]) {
if (fun != null) {
_distanceFun = fun;
_initialize();
}
return this;
}