Function Entry: VLE-VECTOR-ISPERPENDICULAR

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

Function Entry: VLE-VECTOR-ISPERPENDICULAR

Name

vle-vector-isperpendicular

Class

BricsCAD VLE Library Function

Syntax

(vle-vector-isperpendicular vec1 vec2)

Arguments and Values

  • vec1 a 2d or 3d vector list
  • vec2 a 2d or
  • 3d vector list

Description

This function returns whether the vectors vec1 and vec2 are orthogonal to each other.

Return Values

T or NIL

Examples

(setq v1 '(2 0 0) v2'(0 3
0))

(vle-vector-isperpendicular v1 v2)

T

(setq v1 '(2 1 0) v2'(-1 2 0))

(vle-vector-isperpendicular v1 v2)

T

(setq v1 '(2 1 0) v2'(1 2 0))

(vle-vector-isperpendicular v1 v2)

NIL

Notes

input vectors must not be unit-length (non-normalised vectors are allowed)

Availability

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

Source Notes