OmniGraph Node Compute Mesh Intersecting Faces

Properties

Name

Value

Unique ID

omni.physx.graph.ImmediateComputeMeshIntersectingFaces

Version

1

Extension

omni.physx.graph

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

python, tests

tags

physics,physx,simulation,collision,faces,intersection,immediate

uiName

Compute Mesh Intersecting Faces

__tokens

{}

__categories

PhysX Immediate Queries

__exclusions

python,tests

Generated Class Name

OgnPhysXImmediateComputeMeshIntersectingFacesDatabase

Python Module

omni.physxgraph

Description

Computes indices of intersecting faces between pairs of Meshes.

Inputs

Name

Type

Default

Required?

Descripton

inputs:execIn

execution

None

Y

Input execution

inputs:overlapsPair0

token[]

[]

Y

Path of the first geometry from the Prims Bundle to check for intesection with corresponding item at same index in overlapsPair1 input attribute.

inputs:overlapsPair1

token[]

[]

Y

Path of the second geometry from the Prims Bundle to check for intesection with corresponding item at same index in overlapsPair0 input attribute

inputs:primsBundle

bundle

None

Y

The prims of interest. It must be a bundle with one or more prim children. Currently only meshes prim are supported (sourcePrimType == ‘Mesh’). From each Mesh prim child reads: - ‘sourcePrimPath’ - ‘sourcePrimType’ - ‘points’ - ‘faceVertexIndices’ - ‘faceVertexCounts’ - ‘worldMatrix’ - ‘sourcePrimPath’ (and optionally ‘holeIndices’, ‘orientation’, ‘meshKey’ and ‘physics:approximation’) attributes

Outputs

Name

Type

Default

Required?

Descripton

outputs:execOut

execution

None

Y

Output execution

outputs:faceIndices

bundle

None

Y

Bundle of child prims with faces0 / faces1 attributes containing indices of faces in source meshes that intersect each other

outputs:overlaps

bool[]

None

Y

Array of booleans where ‘True’ value signals that a corresponding pair of meshes in overlapsPair0 and overlapsPair1 input arrays at the same index do actually overlap.