I was right, this error could be only because Arrays were not created.
You seem having problem to read stuffs because all is well written clearly you have to call SsInit() before.
Quote:
// First we have to initialize the arrays and parameters
// The value 3500.0 is the minimum distance between points
// Nearest points will be found, but GetOrigin will erase points
// with less than 3500.0 distance with other used points and return
SsInit(3500.0)
|
__________________