Vector

Constructs a vector or returns a vector of an object.

vector(Point, Point)

Given two points A, B, constructs the vector stack A B with rightwards arrow on top.

vector(Point)

Given a point A, constructs the vector stack O A with rightwards arrow on top.

vector(Segment)

Given a segment with endpoints A and B, constructs the vector stack A B with rightwards arrow on top.

vector(Line)

Given a line, returns the direction vector.

vector(Plane)

Given a plane with equation A x plus B y plus C z plus D equals 0, returns a vector with coefficients left square bracket A comma B comma C comma D right square bracket.