# Synopsis

PDX_MSGT mth_PointToPlane(long option, MTH_3DPNT pt, double plane[4], MTH_3DPNT projpt)

# Purpose

Project point to plane.

# Description

This routine projects a point onto a plane defined by the implicit equation: plane[0]*x + plane[1]*y + plane[2]*z - plane[3]= 0. The plane equation need not be normalized.

# Input

## option

Not used.

## pt

The point to be projected.

## plane

Coefficients of the plane equation.

# Output

## projpt

The projected point.

# Return

MTH_NOERR