b2Chain_GetSegments

Function b2Chain_GetSegments 

Source
pub unsafe extern "C" fn b2Chain_GetSegments(
    chainId: b2ChainId,
    segmentArray: *mut b2ShapeId,
    capacity: c_int,
) -> c_int
Expand description

Fill a user array with chain segment shape ids up to the specified capacity. Returns the actual number of segments returned.