Order Matrices by Distance

Order matrices based on the distance from their translation component to a reference point.

Installation

To use this Node, you must enable omni.genproc.core in the Extension Manager.

Inputs

Name

Type

Description

Default

Reference Point (point)

float[3]

Reference point from which distances to matrices are measured.

[0, 0, 0]

Matrices (matrices)

matrixd[4][]

Matrices to be sorted according to the distance from their translation component to the reference point

Outputs

Name

Type

Description

Default

Ordered Matrices (matrices)

matrixd[4][]

Sorted list of matrices