Synopsis

PDX_MSGT gdx_ComparePointsOnCurve(long option, MTH_3DPNT (*points), MDA_PTR gdx_curve_ptr, double toler_geom, long num_pnts, long max_iters, GDX_ENTITY_COMPARE *gdx_entitycompare)

Purpose

Compare a set of points with a curve for conformity.

Description

Compare a set of points with a curve for conformity within a tolerance toler_geom. Every point will be projected on to the curve. The distance between the point and projected point should be less than the toler_geom for all the points to indicate conformity. The function stores the maximum geometric deviation in the gdx_entitycompare

Input

option

Options(Not used)

points

Array of points

gdx_curve_ptr

Curve entity database pointer

toler_geom

Tolerance within which curves are assumed to conform.

num_pnts

Number of points.

max_iters

Maximum number of iterations when point projection is done numerically.

Output

gdx_entitycompare

Comparison results structure.

Return

      Low level error return
      .fi