OmniGraph Node omni.graph.nodes.CrossProduct¶
omni.graph.nodes.CrossProduct Properties¶
Name |
Value |
---|---|
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
Python |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Cross Product |
__categories |
math:operator |
__language |
Python |
Generated Class Name |
OgnCrossProductDatabase |
Python Module |
omni.graph.nodes |
omni.graph.nodes.CrossProduct Description¶
Compute the cross product of two (arrays of) vectors of the same size The cross product of two 3d vectors is a vector perpendicular to both inputs If arrays of vectors are provided, the cross-product is computed row-wise between a and b
omni.graph.nodes.CrossProduct Inputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
inputs:a |
[‘vectord[3]’, ‘vectord[3][]’, ‘vectorf[3]’, ‘vectorf[3][]’, ‘vectorh[3]’, ‘vectorh[3][]’] |
None |
Y |
The first vector in the cross product |
uiName |
A |
|||
inputs:b |
[‘vectord[3]’, ‘vectord[3][]’, ‘vectorf[3]’, ‘vectorf[3][]’, ‘vectorh[3]’, ‘vectorh[3][]’] |
None |
Y |
The second vector in the cross product |
uiName |
B |
omni.graph.nodes.CrossProduct Outputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
outputs:product |
[‘vectord[3]’, ‘vectord[3][]’, ‘vectorf[3]’, ‘vectorf[3][]’, ‘vectorh[3]’, ‘vectorh[3][]’] |
None |
Y |
The resulting product |
uiName |
Product |