Function Entry: VLE-VECTOR-NEGATE

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: VLE-VECTOR-NEGATE

Name

vle-vector-negate

Class

BricsCAD VLE Library Function

Syntax

(vle-vector-negate vec)

Arguments and Values

  • vec a 2d or 3d vector list

Description

This function returns the negated (inverted) vector of vec.

Return Values

(vecX vecY vecZ) always a 3d vector list

Examples

(setq vec '(1 1
3))

(vle-vector-negate vec)

(-1.0 -1.0 -3.0)

Notes

vle-vector-negate is identical to (but faster as) (vle-vector-scale vec -1.0)

Availability

  • AutoCAD 2026: not documented.
  • BricsCAD V26: documented.
  • Status: BricsCAD-only.

Source Notes