Distance3D

Computes the distance between two 3D points A and B. Which is the length of the vector with start and end points A and B If one input is an array and the other is a single point, the scaler will be broadcast to the size of the array

Installation

To use this Node, you must enable omni.graph.nodes in the Extension Manager.

Inputs

Name

Type

Description

Default

A (a)

pointd[3], pointf[3], pointh[3], pointd[3][], pointf[3][], pointh[3][]

Vector A

B (b)

pointd[3], pointf[3], pointh[3], pointd[3][], pointf[3][], pointh[3][]

Vector B

Outputs

Name

Type

Description

Default

distance

double, float, half, double[], float[], half[]

The distance between the input vectors