std-pt+ std-pt-


Synopsis

(std-pt+ <pt1> <pt2>) ; pt1 + ptt2

(std-pt- <pt1> <pt2>) ; pt1 - pt2

Description

STD-PT+ returns the sum of two vectors.

STD-PT- returns the difference of two vectors.

Both points must be a list of equal dimension, a list of equal count of numbers.

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