Previous topic

civpy.survey.TIN.elevation

Next topic

civpy.survey.TIN.normal

This Page

civpy.survey.TIN.find_simplices

TIN.find_simplices(self, points)[source]

Finds the simplices which contain the (x, y) point. Returns the simplex index if a single point is input or an array of simplex indices if multiple points are input. If the returned simplex index is -1, then the (x, y) point is not contained within any simplices.

Parameters:
points : array

An array of points of shape (2,), (3,), (N, 2) or (N, 3).