NEIGHBORS

cp.getNearestNode(x, y)
cp.getNearestEdge(x, y)

These functions are useful for relocating parts after an operation, and user-input.

cp.getNearestNode( x, y )
cp.getNearestEdge( x, y )

The nearest edge provides information like the nearest point on the edge.

cp.getNearestNodes(x, y, how many nodes)

It's possible to get more than just one in an array sorted by distance.

cp.getNearestInteriorAngle(x, y) // InteriorAngle