std-midpt


Synopsis

(std-midpt <pt1> <pt2>)

Description

STD-MIDPT returns the midpoint between pt1 and pt2. Both points must be a list of equal dimension, a list of equal count of numbers.

To return the half of a vector use STD-HALFPT instead.

Arguments

pt1, pt2: points, 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 points.

Side Effects

None.

Module

(std-require 'STDPOINT)

Defined in STDPOINT

Note: Before version 0.4001 it was in STDLIST!