Synopsis

PDX_MSGT igeo_ReverseCurve(long option, MDA_PTR db_ptr)

Purpose

Reverse an IGES curve entity

Description

Reverses an IGES curve entity such that the start point becomes the endpoint and vice versa. Currently the curves that can be reversed are: .RS 4 IGES arc - 100 .br IGES composite curve - 102 .br IGES conic - 104 .br IGES copious data - 106 .br IGES line - 110 .br IGES parametric spline curve - 112 .br IGES NURBS curve - 126 .br IGES offset curve - 130 .br IGES boundary curve - 141 .br IGES curve on surface - 142 .RE

The IGES curve entity must be a valid IGES definition.

Input

option

(Not used)

db_ptr

The valid IGES entity database pointer

Return

      IGEO_NOERR
      IGEO_ENTITYNOTCURVE
      Low level error return
      .fi