Home Reference VEX VEX functions 

getneighbourcount vex function

Contexts: pop , sop

Tags: geo

Returns the number of points that are connected to the specified point.

  1. int getneighbourcount(int ptnum, int inputnum)

Returns the number of points that are connected to the specified point. A point is connected if it is adjacent in some polygon, or is one of the four surrounding points in a grid or NURBs surface. Returns 0 if there is no input, or if the point number is out of range.