Synopsis

void mth_GetVectorRadPoint(MTH_3DPNT vector_pt, double vector[3], MTH_3DPNT radius_pt, double *radius, MTH_3DPNT origin_pt)

Purpose

Get the radius and the projected point from the projection of a point to a vector through a point.

Description

Detemines the radius of a point from the projection of the point to a vector through a point.

Input

vector_pt

The vector point.

vector

The normalized vector through the vector point.

radius_pt

The radius point to determine radius to.

Output

radius

The radius of the radius point.

origin_pt

The origin of the radius point.