std-halfpt


Synopsis

(std-halfpt <pt>)

Description

STD-HALFPT returns the midpoint between the given pt and the nullvector, which is the same as the midpoint of the vector pt.

To return the midpoint of two points use STD-MIDPT instead.

Arguments

pt: a point, any list of two or three numbers, but not limited to two or three dimensional vectors only.

Return Value

A point with the same dimension as the given point.

Side Effects

None.

Module

(std-require 'STDPOINT)

Defined in STDPOINT

Note: Before version 0.4001 it was in STDLIST!