OmniGraph Node omni.graph.nodes.Distance3D¶
omni.graph.nodes.Distance3D Properties¶
Name |
Value |
---|---|
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Distance3D |
__categories |
math:operator |
Generated Class Name |
OgnDistance3DDatabase |
Python Module |
omni.graph.nodes |
omni.graph.nodes.Distance3D Description¶
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
omni.graph.nodes.Distance3D Inputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
inputs:a |
[‘pointd[3]’, ‘pointd[3][]’, ‘pointf[3]’, ‘pointf[3][]’, ‘pointh[3]’, ‘pointh[3][]’] |
None |
Y |
Vector A |
uiName |
A |
|||
inputs:b |
[‘pointd[3]’, ‘pointd[3][]’, ‘pointf[3]’, ‘pointf[3][]’, ‘pointh[3]’, ‘pointh[3][]’] |
None |
Y |
Vector B |
uiName |
B |
omni.graph.nodes.Distance3D Outputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
outputs:distance |
[‘double’, ‘float’, ‘half’] |
None |
Y |
The distance between the input vectors |