kefex
kefex
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
Given a face primitive, best way to find edge-adjacent faces. Aug. 7, 2017, 5:57 p.m.
HDK question:
Given a face primitive (GA_Primitive, say), what is the simplest way to find the faces which share an edge with that face?
Ideally it would be nice to have an HDK equivalent to the VEX primhedge() function. It looks like all the other VEX halfedge functions have GEO_HedgeInterface equivalents (e.g., hedge_prim() in VEX and GEO_HedgeInterface::hedgePrimitive() in the HDK), but I can't see an equivalent to primhedge(). Is it in there, but I just keep missing it?
I know there is GU_Detail::buildRingZeroPrimitives, but it appears to return all faces which share a point with the face in question, which is not what I need.
Any help greatly appreciated!
Kevin
Given a face primitive (GA_Primitive, say), what is the simplest way to find the faces which share an edge with that face?
Ideally it would be nice to have an HDK equivalent to the VEX primhedge() function. It looks like all the other VEX halfedge functions have GEO_HedgeInterface equivalents (e.g., hedge_prim() in VEX and GEO_HedgeInterface::hedgePrimitive() in the HDK), but I can't see an equivalent to primhedge(). Is it in there, but I just keep missing it?
I know there is GU_Detail::buildRingZeroPrimitives, but it appears to return all faces which share a point with the face in question, which is not what I need.
Any help greatly appreciated!
Kevin