ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / Vector Component API Reference / Vector Component Functions Reference / NURBS Curve Functions / IG_vect_NURBScurve_get_order
In This Topic
    IG_vect_NURBScurve_get_order
    In This Topic

    This function gets an order of the NURBS curve.

    Declaration:

     
    Copy Code
    AT_ERRCOUNT ACCUAPI IG_vect_NURBScurve_get_order(
            HIG_VECT_ENTITY hEntity, 
            long* lpOrder
    );
    

    Arguments:

    Name Type Description
    hEntity HIG_VECT_ENTITY Handle to the Entity.
    lpOrder long* Buffer for the NURBS order.

    Return Value:

    Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

    Supported Raster Image Formats:

    This function does not process image pixels.

    Sample:

    None

    Remarks:

    Usually count of knots is equal to control_point_count |+ order. If this is not so, then knot vector is corrected.