ArrTraits::ParameterSpaceInX_2

Refines

AdaptableBinaryFunction

Has Models

ArrangementOpenBoundaryTraits_2::Parameter_space_in_x_2

Arr_parameter_space fo ( ArrTraits::X_monotone_curve_2 xcv , Arr_curve_end ce )
Given an x-monotone curve xcv and an enumeration ce that specifies either the minimum or the maximum end of the curve, determines the location of the curve end along the x-dimension. The variable xcv identifies the parametric curve C(t) = (X(t),Y(t)) defined over an open or half-open interval with endpoints 0 and 1. The enumeration ce identifies an open end d {0,1} of C. Formally, determines whether lim t d X(t) evaluates to bl, br, or a value in between, where bl and br are the x-coordinates of the left and right boundaries of the parameter space, respectively. Returns ARR_LEFT_BOUNDARY, ARR_RIGHT_BOUNDARY, or ARR_INTERIOR, accordingly.
Precondition: If ArrTraits::Left_side_category is not convertible to Arr_open_side_tag then ce ARR_MIN_END.
Precondition: If ArrTraits::Right_side_category is not convertible to Arr_open_side_tag then ce ARR_MAX_END.
Postcondition: If ce = ARR_MIN_END then the result is either ARR_LEFT_BOUNDARY or ARR_INTERIOR.
Postcondition: If ce = ARR_MAX_END then the result is either ARR_RIGHT_BOUNDARY or ARR_INTERIOR.