< Previous | Contents | Manuals Home | Boris FX | Next >
Points
A vector offers .u, and .v attributes, or an offered vector can be taken whole with .pnt. Points can be created outright with Point(u,v).
.length is the length of the vector (square root of the sum of u and v, each squared). (read-only).
.norm is the vector with the length normalized to one. (read-only)
.Dot(vector2) returns the dot product of this vector with vector2.
When an object offers multiple vectors, each point’s attribute names have a different prefix, resulting in .wu, .wv or .pu or .pv, for example.
Operators: +, -, *(scalar), /(scalar). The point should be the left argument in operations with a scalar.
©2024 Boris FX, Inc. — UNOFFICIAL — Converted from original PDF.