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 trueAB.

calc.vector1.calc.png

Given a point ALaTeXA, constructs the vector trueOA.

calc.vector2.calc.png

Given a segment with endpoints ALaTeXA and BLaTeXB, constructs the vector trueABLaTeX\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