Skip to main content

Vector

Constructs a vector or returns a vector of an object.

Syntax

vector(Point, Point)
vector(Point)
vector(Segment)
vector(Line)
vector(Plane)

Description

Given two points A, B, constructs the vector AB.

calc.vector1.calc.png

Given a point AA, constructs the vector OA.

calc.vector2.calc.png

Given a segment with endpoints AA and BB, constructs the vector AB\vec{AB}.

calc.vector3.calc.png

Given a line, returns the direction vector.

calc.vector4.calc.png

Given a plane with equation Ax+By+Cz+D=0, returns a vector with coefficients [A,B,C,D].

calc.vector5.calc.png