# Synopsis

PDX_MSGT gdx_SetNurbCurveClosedFlag(long option, T_GDX_NURB_CURVE *cur, double toler)

# Purpose

Set a GDX NURB Curve's closure flag.

# Description

This routine sets a GDX NURB Curve's closure flag and optionally forces the GDX NURB Curve geometry to be closed.

# Input

## option

### GDX_MAKECLOSED

Make the starting and ending control points identical when the NURB curve is found to be closed within toler For the case where the curve is periodic or relimited, the clamped and unrelimited portion of the curve is computed and forced closed.

## cur

The GDX NURB Curve

## toler

Point coincidence tolerance

# Return

GDX_NOERR