# Synopsis

PDX_MSGT mth_PointsOnBounds(long option, MTH_3DPNT points[2], double uv_bounds[2][2], double tol, int *bound_index, int *direction, PDX_BOOL *partial)

# Purpose

Determines if points lie on surf bounds, and the direction of the points

# Description

Determines the points are on the surface bounds, U min, U max, V min, or V max The bound_index MTH_UMIN, MTH_UMAX, and MTH_VMIN, MTH_VMAX state which bound the points lie on. If the point do not lie on one bound, then MTH_NOBOUND will be returned. The direction MTH_INCREASE or MTH_DECREASE state which direction the points procede along the bound, and partial tell if the curve is only part of the bound, or the whole bound.

# Input

## option

Options (not used)

## points

2 End Points of UV curve.

## uv_bounds

Surface bounds in parm space

## tol

Tolerance to check points on bounds

# Output

## bound_index

Index of the Surf Bound MTH_UMIN, MTH_UMAX, MTH_VMIN, MTH_VMAX, or MTH_NOBOUNDS (both points do not lie on same bound)

## direction

The direction of the points along the bound MTH_UP or MTH_DOWN

## partial

Both points are not on the corners of bounds

# Return

          PDX_NOERR
          .fi