This is getMajorSegmentIndex, a member of class OdBmRebarShapeDefinitionBySegments.
OdBmRebarShapeDefinitionBySegments Methods