49 else if( y2 > yMax ) {
55 return( ptwXY1->
status = status );
56 for( i = 0; i <
n; i++ ) {
62 if( points->
y > yMin ) {
68 for( i++; i <
n; i++ )
if( !( ptwXY1->
points[i].
y < yMin ) )
break;
76 else if( j != n - 1 ) {
80 else if( y2 > yMax ) {
83 if( points->
y < yMax ) {
89 for( i++; i <
n; i++ )
if( !( ptwXY1->
points[i].
y > yMax ) )
break;
97 else if( j != n - 1 ) {
121 return( ptwXY1->
status = status );
ptwXY_interpolation interpolation
ptwXYPoint * ptwXY_getPointAtIndex_Unsafely(ptwXYPoints *ptwXY, int64_t index)
double ptwXY_getYMin(ptwXYPoints *ptwXY)
ptwXYPoints * ptwXY_free(ptwXYPoints *ptwXY)
nfu_status ptwXY_setValueAtX(ptwXYPoints *ptwXY, double x, double y)
double ptwXY_getYMax(ptwXYPoints *ptwXY)
static nfu_status ptwXY_clip2(ptwXYPoints *ptwXY1, double y, double x1, double y1, double x2, double y2)
enum nfu_status_e nfu_status
ptwXY_interpolationOtherInfo interpolationOtherInfo
nfu_status ptwXY_clear(ptwXYPoints *ptwXY)
ptwXYPoints * ptwXY_new(ptwXY_interpolation interpolation, ptwXY_interpolationOtherInfo const *interpolationOtherInfo, double biSectionMax, double accuracy, int64_t primarySize, int64_t secondarySize, nfu_status *status, int userFlag)
nfu_status ptwXY_simpleCoalescePoints(ptwXYPoints *ptwXY)