Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXTransformVectors(3) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXTransformVectors(3)  —  Subroutines

Name

PEXTransformVectors

Synopsis

void PEXTransformVectors(PEXMatrix transform, int count, PEXVector ∗vectors, PEXVector ∗vectors_return)

Arguments

transformThe transformation matrix to apply to the vectors

countThe number of vectors to transform

vectorsA pointer to the array of 3D vectors to transform

vectors_return
A pointer to an array in which to store the transformed vectors

Returns

None

Description

This function applies the upper 3x3 submatrix of the specified transformation matrix to the list of 3D vectors.  The transformation is applied:

V’ = T’xV

Where V is the vector, treated as a column vector, and T’ is the upper 3x3 sub-matrix of "transform."

If the return array is the same as the input array, the function will overwrite the input values with the transformed values. 

Errors

None

See Also

PEXTransformVectors2D, PEXNormalizeVectors

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026