# HM_vectoranalysis()

Creates a vector from two points.

## Syntax

`int HM_vectoranalysis(HM_vectorpointer vector, double point1[3], double point2[3]);`

## Type

HyperMesh hmlib Function

## Description

Creates a vector from two points.

## Inputs

`vector`- A pointer to a vector where the result of point2 - point1 should be stored.
`point1[3]`- A point in space.
`point2[3]`- A point in space.

## Example

If successful, the function returns zero; otherwise, nonzero.

## Errors

None.