Synopsis

PDX_MSGT mth_PointForceInBounds2D(long option, MTH_3DPNT point, double uv_bounds[2][2])

Purpose

Force point with in 2 dimensional bounds.

Description

Modify point so that it is within the bounds. The input point is a 2D point and the bounds are the UV bounds of a surface.

Input

option

Options (not used)

point

2D Point

uv_bounds

Surface bounds in parm space

Output

point

Forced to be in bounds of surface

Return

      PDX_NOERR
      .fi