posdec function

Multiple point position decision in relation to a set of stacked surfaces (3D)