civpy.survey.Alignment.segment_indices¶
-
Alignment.
segment_indices
(self, stations)[source]¶ Determines the segment type and PI indices corresponding to the specified stations. Returns an array of shape (N, 2). The first column of the array contains 1 if the station is located along an alignment tangent or 2 if the station is located on a horizontal curve or alignment bisector. The second column contains the index corresponding to the PI where the point is located.
Parameters: - stations : array
An array of stations of shape (N,).