Synopsis

PDX_MSGT gdx_GetLoopCurveSense(long option, MDA_PTR db_ptr, PDX_BOOL outer_bndry, PDX_BOOL *sense)

Purpose

Get the sense of a GDX boundary loop

Description

Given a closed GDX composite edge curve entity as a boundary loop, and wether or not the loop is an outer or inner boundary determine the sense of the boundary. The GDX entity may be an invalid entity that references either the model space curve or the parameter space curve. The sense of the boundary is determined using either existing curve or the model space curve preference setting to compute the orientation. The boundary loop can not cross seams.

Input

option

GDX_OPENSURF

Treat the underlying surface as an open surface

db_ptr

The closed GDX composite edge curve entity database pointer

outer_bndry

PDX_TRUE

The composite edge curve loop is an outer boundary

PDX_FALSE

The composite edge curve loop is not an outer boundary

Output

sense

PDX_FALSE

The boundary does not need to be reversed

PDX_TRUE

The boundary needs to be reversed

Tolerances

      MODEL_SPACE_PNT_TOL
      PARM_SPACE_PNT_TOL
      CONVERGE_TOL
      KNOT_TOL
      PNT_PROJ_TOL
      ZERO_ANGLE_TOL
      ZERO_TOL
      .fi

Return

      GDX_NOERR
      Low level error return
      .fi