civpy.survey.Alignment.station_coordinates¶
-
Alignment.
station_coordinates
(self, coordinates)[source]¶ Finds the (station, offset) or (station, offset, z) coordinates for the input global coordinates. Returns a dictionary of point indices with arrays of shape (N, 2) or (N, 3). If a point index is not in the dictionary, then no points are located along the alignment within the view threshold.
Parameters: - coordinates : array
An array of (x, y) or (x, y, z) global coordinates in the shape (N, 2) or (N, 3).