NORMH
Name
NORMH
Purpose
This function normalizes the provided array by the homogeneous
coordinate.
Category
GENERAL.
Calling Sequence
result = NORMH( array, /COLUMN )
Inputs
array
A one-dimensional or two-dimensional homogenous array. If the
array is two-dimensional, the last row is assumed to contain the
homogenous coordinates (points in columns).
Keyword Parametrs
COLUMN
Set this keyword if the last column of the provided array
contains the homogeneous coordinates (points in rows).
:ERROR CHECKING:
This routine will only work for one- or two-dimensional arrays.
Side Effects
The normalized return value will always be of data type DOUBLE.
Requires
REPLICATE_VECTOR
Modification History
Written by: Philip S. Salvaggio
February, 2011 Original code
Disclaimer
This source code is provided "as is" and without warranties as to performance
or merchantability. The author and/or distributors of this source code may
have made statements about this source code. Any such statements do not
constitute warranties and shall not be relied on by the user in deciding
whether to use this source code.
This source code is provided without any express or implied warranties
whatsoever. Because of the diversity of conditions and hardware under which
this source code may be used, no warranty of fitness for a particular purpose
is offered. The user is advised to test the source code thoroughly before
relying on it. The user must assume the entire risk of using the source code.